66cb32c6fc
* don't start dev server until bundle is generated (#72) * extract `npm run start:dev` spawn into separate file
22 lines
534 B
JSON
22 lines
534 B
JSON
{
|
|
"name": "svelte-app",
|
|
"version": "1.0.0",
|
|
"devDependencies": {
|
|
"rollup": "^1.12.0",
|
|
"rollup-plugin-commonjs": "^10.0.0",
|
|
"rollup-plugin-livereload": "^1.0.0",
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
"rollup-plugin-svelte": "^5.0.3",
|
|
"rollup-plugin-terser": "^4.0.4",
|
|
"svelte": "^3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"sirv-cli": "^0.4.4"
|
|
},
|
|
"scripts": {
|
|
"build": "rollup -c",
|
|
"dev": "rollup -c -w",
|
|
"start": "sirv public --single",
|
|
"start:dev": "sirv public --single --dev"
|
|
}
|
|
}
|