Skip to content

Commit 640ddf3

Browse files
committed
Make building and starting the website easier.
1 parent daf9619 commit 640ddf3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
website/build/
12
umd
23
node_modules
34
npm-debug.log

website/package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"private": true,
55
"scripts": {
66
"dev": "rm -rf .examples && cp -R examples .examples && webpack-dev-server --config webpack.config.js --inline --content-base build",
7-
"start": "pushstate-server build/"
7+
"build": "npm run clean && cp -R examples .examples && webpack",
8+
"clean": "rm -rf .examples build",
9+
"start": "npm run build && pushstate-server build/"
810
},
911
"dependencies": {
1012
"pushstate-server": "1.14.0"

0 commit comments

Comments
 (0)