1
Fork 0

Ignore if build dir missing

This commit is contained in:
Jake Howard 2017-09-22 09:29:35 +01:00
parent 7bfc096eb0
commit 969ff318b0
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -7,7 +7,7 @@
"build-js": "browserify src/index.js -o build/index.js && cp -r node_modules/reveal.js/plugin build/ && cp node_modules/reveal.js/lib/js/head.min.js build/head.min.js", "build-js": "browserify src/index.js -o build/index.js && cp -r node_modules/reveal.js/plugin build/ && cp node_modules/reveal.js/lib/js/head.min.js build/head.min.js",
"build-css": "node-sass src/index.scss build/index.css --source-map-embed", "build-css": "node-sass src/index.scss build/index.css --source-map-embed",
"build-html": "node src/build-html.js", "build-html": "node src/build-html.js",
"build": "rm -r build/ && mkdir -p build/ && npm run build-js && npm run build-css && npm run build-html", "build": "rm -rf build/ && mkdir -p build/ && npm run build-js && npm run build-css && npm run build-html",
"start": "tstatic build/" "start": "tstatic build/"
}, },
"repository": { "repository": {