diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | package.json | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -20,12 +20,15 @@ dependabot: dev-setup npm-update build-js-production compile-handlebars-template release: appstore create-tag build-js: + npm run dev cd vue/ && npm run dev build-js-production: + npm run build cd vue/ && npm run build watch-js: + npm run watch cd vue/ && npm run watch lint: diff --git a/package.json b/package.json index d2c499626..7dbcdd252 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "license": "agpl", "private": true, "scripts": { - "dev": "webpack --config webpack.dev.js", - "watch": "webpack --progress --watch --config webpack.dev.js", - "build": "webpack --progress --hide-modules --config webpack.prod.js", + "dev": "NODE_ENV=development webpack --config webpack.dev.js", + "watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js", + "build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.prod.js", "lint": "eslint --ext .js,.vue src", "lint:fix": "eslint --ext .js,.vue src --fix", "stylelint": "stylelint src", |