Skip to content

Commit

Permalink
chore: make sure manifest.webapp is copied to build
Browse files Browse the repository at this point in the history
  • Loading branch information
varl committed Mar 8, 2019
1 parent fd3bb04 commit 0bffec2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"scripts": {
"extract-pot": "d2-i18n-extract -p src/ -o i18n/",
"localize": "yarn extract-pot && d2-i18n-generate -n NAMESPACE -p ./i18n/ -o ./src/locales/",
"prestart": "d2-manifest package.json ./src/manifest.webapp && yarn localize",
"prestart": "yarn manifest && yarn localize",
"start": "webpack-dev-server --config webpack.dev.config.js",
"prebuild": "rm -rf build && yarn localize",
"build": "webpack --config webpack.prod.config.js",
"postbuild": "cp -r *.png ./src/index.html build/ && npm run manifest && cp ./package.json ./build/package.json",
"manifest": "d2-manifest package.json src/manifest.webapp"
"postbuild": "cp -r *.png ./src/index.html ./src/manifest.webapp ./package.json build/",
"manifest": "d2-manifest package.json ./src/manifest.webapp"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 0bffec2

Please sign in to comment.