replace serve with sirv - closes #10

This commit is contained in:
Rich Harris 2018-08-22 22:38:37 -04:00
parent d05b1cb773
commit 4ff6a0edbc

View file

@ -8,13 +8,14 @@
"rollup-plugin-node-resolve": "^3.0.3", "rollup-plugin-node-resolve": "^3.0.3",
"rollup-plugin-svelte": "^4.2.1", "rollup-plugin-svelte": "^4.2.1",
"rollup-plugin-terser": "^1.0.1", "rollup-plugin-terser": "^1.0.1",
"serve": "^9.4.2", "sirv-cli": "^0.2.0",
"svelte": "^2.10.1" "svelte": "^2.10.1"
}, },
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
"autobuild": "rollup -c -w", "autobuild": "rollup -c -w",
"dev": "run-p start autobuild", "dev": "run-p start:dev autobuild",
"start": "serve public" "start": "sirv public",
"start:dev": "sirv public --dev"
} }
} }