|
30 | 30 | },
|
31 | 31 | "scripts": {
|
32 | 32 | "preversion": ". ./resources/checkgit.sh && npm ci --ignore-scripts",
|
33 |
| - "version": "ts-node resources/gen-version.ts && npm test && git add src/version.ts", |
| 33 | + "version": "node --loader ts-node/esm resources/gen-version.ts && npm test && git add src/version.ts", |
34 | 34 | "fuzzonly": "mocha --full-trace src/**/__tests__/**/*-fuzz.ts",
|
35 |
| - "changelog": "ts-node resources/gen-changelog.ts", |
36 |
| - "benchmark": "ts-node resources/benchmark.ts", |
| 35 | + "changelog": "node --loader ts-node/esm resources/gen-changelog.ts", |
| 36 | + "benchmark": "node --loader ts-node/esm resources/benchmark.ts", |
37 | 37 | "test": "npm run lint && npm run check && npm run testonly:cover && npm run prettier:check && npm run check:spelling && npm run check:integrations",
|
38 | 38 | "lint": "eslint --cache --max-warnings 0 --rulesdir resources/eslint-internal-rules/ .",
|
39 | 39 | "check": "tsc --pretty",
|
|
47 | 47 | "check:integrations": "mocha --full-trace resources/integration-test.ts",
|
48 | 48 | "serve": "docusaurus serve --dir websiteDist/ --config website/docusaurus.config.cjs",
|
49 | 49 | "start": "npm run build:website && npm run serve",
|
50 |
| - "build:website": "ts-node resources/build-docusaurus.ts", |
51 |
| - "build:npm": "ts-node resources/build-npm.ts", |
52 |
| - "build:deno": "ts-node resources/build-deno.ts", |
53 |
| - "diff:npm": "ts-node resources/diff-npm-package.ts", |
| 50 | + "build:website": "node --loader ts-node/esm resources/build-docusaurus.ts", |
| 51 | + "build:npm": "node --loader ts-node/esm resources/build-npm.ts", |
| 52 | + "build:deno": "node --loader ts-node/esm resources/build-deno.ts", |
| 53 | + "diff:npm": "node --loader ts-node/esm resources/diff-npm-package.ts", |
54 | 54 | "gitpublish:npm": "bash ./resources/gitpublish.sh npm npmDist",
|
55 | 55 | "gitpublish:deno": "bash ./resources/gitpublish.sh deno denoDist"
|
56 | 56 | },
|
|
0 commit comments