|
1 | 1 | { |
2 | 2 | "name": "@rspack/dev-middleware", |
3 | 3 | "version": "7.4.5", |
4 | | - "type": "module", |
5 | 4 | "description": "A development middleware for Rspack", |
6 | 5 | "keywords": [ |
7 | 6 | "rspack", |
|
18 | 17 | }, |
19 | 18 | "license": "MIT", |
20 | 19 | "author": "Tobias Koppers @sokra", |
| 20 | + "type": "module", |
21 | 21 | "main": "dist/index.js", |
22 | 22 | "types": "types/index.d.ts", |
23 | 23 | "files": [ |
24 | 24 | "dist", |
25 | 25 | "types" |
26 | 26 | ], |
27 | 27 | "scripts": { |
| 28 | + "build": "rslib --syntax es2023 && pnpm run build:types", |
| 29 | + "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write", |
| 30 | + "clean": "del-cli dist types", |
| 31 | + "fix": "pnpm run fix:prettier", |
| 32 | + "fix:prettier": "pnpm run lint:prettier -- --write", |
| 33 | + "lint": "npm-run-all -l -p \"lint:**\"", |
28 | 34 | "lint:prettier": "prettier --cache --list-different .", |
29 | 35 | "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"", |
30 | 36 | "lint:types": "tsc --pretty --noEmit", |
31 | | - "lint": "npm-run-all -l -p \"lint:**\"", |
32 | | - "fix:prettier": "pnpm run lint:prettier -- --write", |
33 | | - "fix": "pnpm run fix:prettier", |
34 | | - "clean": "del-cli dist types", |
35 | | - "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write", |
36 | | - "build": "rslib --syntax es2023 && pnpm run build:types", |
37 | | - "test:watch": "rstest -w", |
| 37 | + "prepare": "pnpm run build", |
38 | 38 | "test": "rstest", |
39 | | - "prepare": "pnpm run build" |
40 | | - }, |
41 | | - "dependencies": { |
42 | | - "memfs": "^4.43.1", |
43 | | - "mrmime": "^2.0.1", |
44 | | - "on-finished": "^2.4.1", |
45 | | - "range-parser": "^1.2.1" |
| 39 | + "test:watch": "rstest -w" |
46 | 40 | }, |
47 | 41 | "devDependencies": { |
48 | 42 | "@fastify/express": "^4.0.2", |
|
67 | 61 | "finalhandler": "^2.1.0", |
68 | 62 | "hono": "^4.4.13", |
69 | 63 | "koa": "^3.0.0", |
| 64 | + "memfs": "^4.43.1", |
| 65 | + "mrmime": "^2.0.1", |
70 | 66 | "npm-run-all": "^4.1.5", |
| 67 | + "on-finished": "^2.4.1", |
71 | 68 | "prettier": "^3.6.0", |
| 69 | + "range-parser": "^1.2.1", |
72 | 70 | "router": "^2.2.0", |
73 | 71 | "supertest": "^7.0.0", |
74 | 72 | "typescript": "^5.3.3" |
|
0 commit comments