Clear dist dir before building for deploy.
rodzic
d55c03fcc5
commit
67d8c8f3e2
|
@ -1,4 +1,5 @@
|
|||
node_modules
|
||||
dist
|
||||
dist-watch
|
||||
.cache
|
||||
lib/svg-vocabulary.json
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"deploy": "npm run build && gh-pages -d dist",
|
||||
"build": "node build-vocabulary.js && parcel build index.html --public-url .",
|
||||
"watch": "node build-vocabulary.js && parcel index.html"
|
||||
"build": "node build-vocabulary.js && rm -rf dist && parcel build index.html -d dist --public-url .",
|
||||
"watch": "node build-vocabulary.js && parcel index.html -d dist-watch"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
|
Ładowanie…
Reference in New Issue