|
9 | 9 | "build:cov": "mvn clean && npm run bridge:build:cov && npm run _:plugin:prepare-bridge && npm run plugin:build", |
10 | 10 | "build:fast": "npm run bridge:build:fast && npm run _:plugin:prepare-bridge && npm run plugin:build:fast", |
11 | 11 | "bf": "npm run build:fast", |
12 | | - "new-rule": "tsx tools/new-rule.mts", |
13 | | - "generate-meta": "tsx tools/generate-meta.ts", |
14 | | - "generate-java-rule-classes": "tsx tools/generate-java-rule-classes.ts", |
15 | | - "ruling": "tsx --tsconfig packages/tsconfig.test.json --test packages/ruling/projects/*.ruling.test.ts", |
16 | | - "ruling-deno": "deno test --allow-all --parallel lib/ruling/projects/", |
| 12 | + "new-rule": "deno task run tools/new-rule.mts", |
| 13 | + "generate-meta": "deno task run tools/generate-meta.ts", |
| 14 | + "generate-java-rule-classes": "deno task run tools/generate-java-rule-classes.ts", |
| 15 | + "ruling": "deno task run --tsconfig packages/tsconfig.test.json --test packages/ruling/projects/*.ruling.test.ts", |
| 16 | + "ruling-deno": "deno task test --parallel lib/ruling/projects/", |
17 | 17 | "ruling-sync": "rsync -avh packages/ruling/actual/jsts/ its/ruling/src/test/expected/jsts/ --delete", |
18 | 18 | "bridge:compile:ts5": "tsc -b packages && npm run _:bridge:copy-protofiles", |
19 | 19 | "bridge:compile": "tsgo -p packages/tsconfig.app.json && tsgo -p packages/tsconfig.test.json && npm run _:bridge:copy-protofiles", |
20 | | - "bridge:test": "tsx --tsconfig packages/tsconfig.test.json --test --test-concurrency=4 --test-reporter=spec --test-reporter-destination stdout \"packages/*/src/rules/*[!node_modules]/**/*.test.ts\" \"packages/**/tests/**/*.test.ts\"", |
21 | | - "bridge:test:js": "tsx tools/copy-test-resources.ts && node --test --enable-source-maps --test-concurrency=4 --test-reporter=spec --test-reporter-destination stdout \"lib/*/src/rules/*[!node_modules]/**/*.test.js\" \"lib/**/tests/**/*.test.js\"", |
| 20 | + "bridge:test": "deno task test --tsconfig packages/tsconfig.test.json --test-concurrency=4 --test-reporter=spec --test-reporter-destination stdout \"packages/*/src/rules/*[!node_modules]/**/*.test.ts\" \"packages/**/tests/**/*.test.ts\"", |
| 21 | + "bridge:test:js": "deno task run tools/copy-test-resources.ts && node --test --enable-source-maps --test-concurrency=4 --test-reporter=spec --test-reporter-destination stdout \"lib/*/src/rules/*[!node_modules]/**/*.test.js\" \"lib/**/tests/**/*.test.js\"", |
22 | 22 | "bridge:test:cov": "cross-env 'NODE_OPTIONS=--import ./tools/nyc-esm-hook-loader.js' nyc npm run bridge:test:js", |
23 | 23 | "bridge:bundle": "node esbuild.mjs", |
24 | 24 | "bridge:build": "npm run bridge:build:fast && npm run bridge:test", |
|
32 | 32 | "prepare": "husky", |
33 | 33 | "precommit": "pretty-quick --staged", |
34 | 34 | "postinstall": "patch-package", |
35 | | - "count-rules": "tsx tools/count-rules.ts", |
| 35 | + "count-rules": "deno task run tools/count-rules.ts", |
36 | 36 | "_:bridge:copy-protofiles": "cpy --flat packages/jsts/src/parsers/estree.proto lib/jsts/src/parsers", |
37 | 37 | "_:bridge:clear": "rimraf --glob lib/*", |
38 | 38 | "_:plugin:prepare-bridge": "npm run bridge:bundle && npm pack --ignore-scripts && npm run _:plugin:copy-bridge", |
|
44 | 44 | "eslint-plugin:types": "tsc -p tsconfig-plugin.json --declaration true --emitDeclarationOnly --outDir lib/types", |
45 | 45 | "eslint-plugin:package-json": "node generate-eslint-package-json.mjs", |
46 | 46 | "eslint-plugin:copy-assets": "cpy LICENSE.txt lib/ --rename LICENSE && cpy packages/jsts/src/rules/README.md lib/ --flat", |
47 | | - "eslint-docs": "rimraf --glob lib/docs/*.md && eslint-doc-generator lib --init-rule-docs && tsx tools/generate-external-rules-docs.ts", |
48 | | - "deploy-rule-data": "tsx tools/deploy-rule-data.ts", |
| 47 | + "eslint-docs": "rimraf --glob lib/docs/*.md && eslint-doc-generator lib --init-rule-docs && deno task run tools/generate-external-rules-docs.ts", |
| 48 | + "deploy-rule-data": "deno task run tools/deploy-rule-data.ts", |
49 | 49 | "license-regeneration": "node license-management.mjs" |
50 | 50 | }, |
51 | 51 | "repository": { |
|
96 | 96 | "prettier-plugin-java": "2.7.5", |
97 | 97 | "pretty-quick": "4.2.2", |
98 | 98 | "rimraf": "6.0.1", |
99 | | - "tsx": "4.20.6", |
100 | 99 | "type-fest": "5.0.1", |
101 | 100 | "typedoc": "0.28.13" |
102 | 101 | }, |
|
0 commit comments