mirror of
https://github.com/tauri-apps/web-view.git
synced 2026-02-05 02:41:17 +01:00
14 lines
656 B
JSON
14 lines
656 B
JSON
{
|
|
"scripts": {
|
|
"build": "pulp build --to dist/app.js",
|
|
"watch": "pulp -w build --to dist/app.js",
|
|
"watch-output": "pulp -w build",
|
|
"watch-fast": "webpack --entry ./entry.js --output-filename dist/app.js --progress --watch",
|
|
"reload": "browser-sync start --server --files \"dist/**/*.*, index.html, *.css\" --no-ghost-mode --port 2345 --no-open",
|
|
"dev-slow": "npm-run-all -p -r watch reload",
|
|
"dev": "npm-run-all -p -r watch-output watch-fast reload",
|
|
"prod": "pulp browserify -O --to build/app.js && parcel build build/app.js && inline-assets --htmlmin --cssmin index.html dist/bundle.html",
|
|
"test": "pulp test"
|
|
}
|
|
}
|