|
21 | 21 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
22 | 22 | "dev-esm": "node scripts/dev.js -if esm-bundler-runtime",
|
23 | 23 | "dev-compiler": "run-p \"dev template-explorer\" serve",
|
24 |
| - "dev-sfc": "run-p \"dev compiler-sfc -f esm-browser\" \"dev vue -if esm-bundler-runtime\" \"dev server-renderer -if esm-bundler\" serve-sfc-playground", |
| 24 | + "dev-sfc-prepare": "node scripts/pre-dev-sfc.js || npm run build-compiler-cjs", |
| 25 | + "dev-sfc-serve": "run-p \"dev compiler-sfc -f esm-browser\" \"dev vue -if esm-bundler-runtime\" \"dev server-renderer -if esm-bundler\" serve-sfc-playground", |
| 26 | + "dev-sfc": "run-s \"dev-sfc-prepare\" \"dev-sfc-serve\"", |
25 | 27 | "serve-sfc-playground": "vite packages/sfc-playground --host",
|
26 | 28 | "serve": "serve",
|
27 | 29 | "open": "open http://localhost:5000/packages/template-explorer/local.html",
|
28 |
| - "prebuild-sfc-playground": "node scripts/build.js compiler reactivity-transform shared -af cjs && node scripts/build.js runtime reactivity shared -af esm-bundler && node scripts/build.js vue -f esm-bundler-runtime && node scripts/build.js vue -f esm-browser-runtime && node scripts/build.js compiler-sfc server-renderer -f esm-browser", |
29 |
| - "build-sfc-playground": "cd packages/sfc-playground && npm run build", |
| 30 | + "build-compiler-cjs": "node scripts/build.js compiler reactivity-transform shared -af cjs", |
| 31 | + "build-runtime-esm": "node scripts/build.js runtime reactivity shared -af esm-bundler && node scripts/build.js vue -f esm-bundler-runtime && node scripts/build.js vue -f esm-browser-runtime", |
| 32 | + "build-ssr-esm": "node scripts/build.js compiler-sfc server-renderer -f esm-browser", |
| 33 | + "build-sfc-playground-self": "cd packages/sfc-playground && npm run build", |
| 34 | + "build-sfc-playground": "run-s \"build-compiler-cjs\" \"build-runtime-esm\" \"build-ssr-esm\" \"build-sfc-playground-self\"", |
30 | 35 | "preinstall": "node ./scripts/preinstall.js",
|
31 | 36 | "postinstall": "simple-git-hooks"
|
32 | 37 | },
|
|
0 commit comments