|
121 | 121 | "dev": "npm run initial-setup && node ./script/build/main.js sites dev",
|
122 | 122 | "link": "npm run build && npm link",
|
123 | 123 | "clean": "rm -rf dist .temp coverage src/cubing/search/search-worker-inside-generated* ./alg ./bluetooth ./kpuzzle ./notation ./protocol ./puzzle-geometry ./puzzles ./scramble ./search ./stream ./twisty",
|
124 |
| - "test": "npm run test-spec && npm run lint && npm run test-import-restrictions && npm run test-tsc # keep test.yml & build.yml in sync with this", |
| 124 | + "test": "echo \"Run one of the following:\n\n make test-src\n make test-build\n make test-dist\n\n make test-full (run all of the above)\n make test-fast (run all fast-ish tests)\n\"", |
| 125 | + "test-fast": "npm run build-esm && npm run build-sites && npm run build-bin && npm run test-spec", |
| 126 | + "test-full": "npm run test-src && npm run test-build && npm run test-dist", |
| 127 | + "test-src": "npm run test-spec && npm run test-src-internal-import-restrictions && npm run test-src-does-not-import-dist && npm run lint && npm run test-tsc # keep test.yml & build.yml in sync with this", |
| 128 | + "test-spec": "npx web-test-runner", |
| 129 | + "test-spec-watch": "npx web-test-runner --watch", |
| 130 | + "test-src-internal-import-restrictions": "node ./script/test/src/internal-import-restrictions/main.js", |
| 131 | + "test-src-does-not-import-dist": "node ./script/test/src/does-not-import-dist/main.js", |
| 132 | + "test-tsc": "npm run build-types && npx tsc --project ./tsconfig.json", |
| 133 | + "test-build": "npm run build-esm && npm run build-sites && npm run build-bin && npm run build-bundle-global && npm run build-types && npm run build-site-typedoc", |
| 134 | + "test-dist": "npm run build-esm && npm run build-sites && npm run test-dist-esm-node-import && npm run test-dist-esm-scramble-all-events && npm run test-dist-esm-parcel && npm run test-dist-esm-vite && npm run test-dist-esm-perf && npm run test-dist-esm-plain-esbuild-compat && npm run test-dist-experiments", |
125 | 135 | "test-dist-esm-node-import": "node script/test/dist/esm/node-import/main.mjs",
|
126 | 136 | "test-dist-esm-scramble-all-events": "node script/test/dist/esm/scramble-all-events/main.mjs",
|
127 | 137 | "test-dist-esm-parcel": "node ./script/test/dist/esm/parcel/main.js",
|
128 | 138 | "test-dist-esm-vite": "node ./script/test/dist/esm/vite/main.js",
|
129 | 139 | "test-dist-esm-perf": "node script/test/dist/esm/perf/*.mjs",
|
130 | 140 | "test-dist-esm-plain-esbuild-compat": "node script/test/dist/esm/plain-esbuild-compat/main.js",
|
131 | 141 | "test-dist-experiments": "node ./script/test/dist/experiments/main.js",
|
132 |
| - "test-dist-not-imported-from-src": "node ./script/test/dist/not-imported-from-src/main.js", |
133 |
| - "test-import-restrictions": "node ./script/test/import-restrictions/main.js", |
134 |
| - "test-spec": "npx web-test-runner", |
135 |
| - "test-spec-watch": "npx web-test-runner --watch", |
136 |
| - "test-tsc": "npm run build-types && npx tsc --project ./tsconfig.json", |
137 | 142 | "format": "npx eslint --fix --ext=js,ts src script; npx prettier --write src script",
|
138 | 143 | "setup": "npm install",
|
139 | 144 | "initial-setup": "node ./script/initial-setup/main.js",
|
|
0 commit comments