|
32 | 32 | "svelte"
|
33 | 33 | ],
|
34 | 34 | "scripts": {
|
35 |
| - "build": "npm run build:clean && npm run build:ts && npm run build:ts-min", |
| 35 | + "build": "pnpm run build:clean && pnpm run build:ts && pnpm run build:ts-min", |
36 | 36 | "build:clean": "del dist",
|
37 | 37 | "build:ts": "tsc -p tsconfig.build.json",
|
38 | 38 | "build:ts-min": "esbuild --bundle src/index.ts --format=esm --minify --outfile=dist/index.min.js && cp dist/index.d.ts dist/index.min.d.ts",
|
39 |
| - "lint": "npm run lint:js", |
40 |
| - "lint:js": "npx prettier --check \"{src,test}/**/*\"", |
41 |
| - "test": "npm run test:ts && npm run test:js", |
| 39 | + "lint": "pnpm run lint:js", |
| 40 | + "lint:js": "prettier --check \"{src,test}/**/*\"", |
| 41 | + "test": "pnpm run test:ts && npm run test:js", |
42 | 42 | "test:js": "vitest run",
|
43 | 43 | "test:ts": "tsc --noEmit",
|
44 | 44 | "prepare": "openapi-typescript test/v1.yaml -o test/v1.d.ts",
|
45 |
| - "prepublish": "npm run prepare && npm run build", |
46 |
| - "version": "npm run prepare && npm run build" |
| 45 | + "prepublish": "pnpm run prepare && npm run build", |
| 46 | + "version": "pnpm run prepare && npm run build" |
47 | 47 | },
|
48 | 48 | "devDependencies": {
|
49 | 49 | "del-cli": "^5.0.0",
|
50 | 50 | "esbuild": "^0.17.19",
|
51 | 51 | "nanostores": "^0.8.1",
|
52 |
| - "openapi-typescript": "workspace:^", |
| 52 | + "openapi-typescript": "^6.2.4", |
53 | 53 | "prettier": "^2.8.8",
|
54 | 54 | "typescript": "^5.0.4",
|
55 | 55 | "vitest": "^0.31.1",
|
|
0 commit comments