update: allow access from any url
This commit is contained in:
parent
2497b502ad
commit
650c08702f
845
package-lock.json
generated
845
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,7 @@
|
|||||||
"build:html": "pug src/index.pug -o dist/ --obj config.json",
|
"build:html": "pug src/index.pug -o dist/ --obj config.json",
|
||||||
"copy:font": "copyfiles -f src/fonts/* dist/fonts",
|
"copy:font": "copyfiles -f src/fonts/* dist/fonts",
|
||||||
"copy:image": "copyfiles -f src/images/* dist/images",
|
"copy:image": "copyfiles -f src/images/* dist/images",
|
||||||
"serve": "serve -l 3000 dist/",
|
"serve": "pushstate-server -d ./dist -p 3000",
|
||||||
"watch": "run-p copy:* watch:* serve",
|
"watch": "run-p copy:* watch:* serve",
|
||||||
"watch:css": "npm run build:css && npm run build:css -- -w",
|
"watch:css": "npm run build:css && npm run build:css -- -w",
|
||||||
"watch:js": "babel --watch \"src/scripts/*.js\" -o dist/scripts/index.js",
|
"watch:js": "babel --watch \"src/scripts/*.js\" -o dist/scripts/index.js",
|
||||||
@ -25,6 +25,6 @@
|
|||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"pug": "^2.0.4",
|
"pug": "^2.0.4",
|
||||||
"pug-cli": "^1.0.0-alpha6",
|
"pug-cli": "^1.0.0-alpha6",
|
||||||
"serve": "^11.2.0"
|
"pushstate-server": "^3.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user