Browse Source

rename script files that would fail in the prebuild step

pull/134/head
Trent Larson 7 days ago
parent
commit
4c40b80718
  1. 2
      package.json
  2. 0
      scripts/copy-wasm.cjs
  3. 0
      sw_combine.cjs

2
package.json

@ -11,7 +11,7 @@
"build": "VITE_GIT_HASH=`git log -1 --pretty=format:%h` vite build --config vite.config.mts",
"lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src",
"lint-fix": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src",
"prebuild": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && node sw_combine.js && node scripts/copy-wasm.js",
"prebuild": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src && node sw_combine.cjs && node scripts/copy-wasm.cjs",
"test:all": "npm run test:prerequisites && npm run build && npm run test:web && npm run test:mobile",
"test:prerequisites": "node scripts/check-prerequisites.js",
"test:web": "npx playwright test -c playwright.config-local.ts --trace on",

0
scripts/copy-wasm.js → scripts/copy-wasm.cjs

0
sw_combine.js → sw_combine.cjs

Loading…
Cancel
Save