|
10 | 10 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" |
11 | 11 | }, |
12 | 12 | "scripts": { |
13 | | - "build": "npm run build:ts", |
14 | | - "build:ts": "tsc --project ./tsconfig.build.json", |
| 13 | + "build": "npm run build:meta && npm run build:tsc", |
| 14 | + "build:meta": "ts-node --transpile-only ./tools/update-meta.ts", |
| 15 | + "build:tsc": "tsc --project ./tsconfig.build.json", |
15 | 16 | "clean": "rimraf .nyc_output lib coverage", |
16 | 17 | "lint": "eslint . --ext .js,.ts,.json", |
17 | 18 | "eslint-fix": "eslint . --ext .js,.ts,.json --fix", |
|
26 | 27 | "benchmark": "ts-node --transpile-only benchmark/index.ts", |
27 | 28 | "prerelease": "npm run clean && npm run build", |
28 | 29 | "release": "changeset publish", |
29 | | - "version:ci": "changeset version" |
| 30 | + "version:ci": "env-cmd -e version-ci npm run build:meta && changeset version" |
30 | 31 | }, |
31 | 32 | "repository": { |
32 | 33 | "type": "git", |
|
61 | 62 | "@typescript-eslint/eslint-plugin": "^5.0.0", |
62 | 63 | "@typescript-eslint/parser": "^5.0.0", |
63 | 64 | "benchmark": "^2.1.4", |
| 65 | + "env-cmd": "^10.1.0", |
64 | 66 | "eslint": "^8.0.0", |
65 | 67 | "eslint-config-prettier": "^8.0.0", |
66 | 68 | "eslint-plugin-eslint-comments": "^3.2.0", |
|
0 commit comments