|
23 | 23 | "prettier": "prettier . --write", |
24 | 24 | "check-formatting": "prettier . --check && eslint", |
25 | 25 | "lint": "eslint --fix", |
26 | | - "predev": "node tools/remove_iife.cjs", |
27 | | - "dev": "npm-run-all --print-label \"bundle:xml -- --outDir build\" \"bundle:css -- --out build\" --parallel build:watch server serve-static:wait", |
28 | | - "build:dev": "npm-run-all transpile-js bundle:iife \"bundle:xml -- --outDir build\" \"bundle:css -- --out build\"", |
| 26 | + "predev": "node tools/clean_build_files.cjs", |
| 27 | + "dev": "npm-run-all --print-label --parallel build:watch server serve-static:wait", |
29 | 28 | "build": "npm-run-all transpile-js bundle:esm bundle:iife \"bundle:xml -- --outDir build\" \"bundle:css -- --out build\"", |
30 | 29 | "build:watch": "npm-run-all --parallel transpile-js:watch bundle:iife:watch bundle:xml:watch bundle:css:watch", |
31 | 30 | "transpile-js": "tsc --build --incremental --preserveWatchOutput", |
32 | 31 | "transpile-js:watch": "npm run transpile-js -- --watch", |
33 | 32 | "bundle:cjs": "rollup -c -m -- --format cjs", |
34 | 33 | "bundle:esm": "rollup -c -m -- --format esm", |
35 | 34 | "bundle:iife": "rollup -c -m -- --format iife", |
36 | | - "bundle:iife:watch": "npm run bundle:iife -- --watch", |
37 | | - "bundle:dev": "rollup -c -m -- --format dev", |
| 35 | + "bundle:iife:watch": "wait-on build/js/src/index.js && npm run bundle:iife -- --watch", |
38 | 36 | "bundle:xml": "node tools/bundle_xml/main.cjs", |
39 | 37 | "bundle:xml:watch": "node tools/bundle_xml/watch_xml_templates.cjs", |
40 | 38 | "bundle:css": "node tools/bundle_css/main.cjs", |
41 | 39 | "bundle:css:watch": "node tools/bundle_css/watch_css_files.cjs", |
42 | 40 | "serve-static": "live-server --open=demo --watch=build/o_spreadsheet.iife.js,build/o_spreadsheet.xml,build/o_spreadsheet.css,demo", |
43 | | - "serve-static:wait": "wait-on build/o_spreadsheet.iife.js && npm run serve-static", |
| 41 | + "serve-static:wait": "wait-on build/o_spreadsheet.iife.js build/o_spreadsheet.xml build/o_spreadsheet.css && npm run serve-static", |
44 | 42 | "server": "node tools/server/main.cjs", |
45 | 43 | "predist": "npm run dist --workspaces --if-present", |
46 | 44 | "dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c", |
|
0 commit comments