diff options
author | Jonathan Treffler <mail@jonathan-treffler.de> | 2020-08-07 11:57:04 +0200 |
---|---|---|
committer | Jonathan Treffler <mail@jonathan-treffler.de> | 2020-08-08 20:43:55 +0200 |
commit | c93921dcecfe1b9bf7991c167fdd1a42ab9e6c25 (patch) | |
tree | 3db55b4d9964b22724a85551a4fb3f7311017c8e | |
parent | ac25bcc59b0f4a5bb1d5081b4ba72aa80630d246 (diff) |
added npm run scripts to package.json
Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de>
-rw-r--r-- | package.json | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package.json b/package.json index 7e9435b80..fb2b1c96d 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,15 @@ "description": "An RSS/Atom feed reader", "main": "js/app.min.js", "scripts": { - "test": "node node_modules/gulp-cli/bin/gulp.js karma", - "prebuild": "npm install && npm update", - "build": "node node_modules/gulp-cli/bin/gulp.js" + /*"test": "node ... karma",*/ + "prebuild": "npm install && npm ci", + "build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.js", + "dev": "NODE_ENV=development webpack --progress --config webpack.js", + "watch": "NODE_ENV=development webpack --progress --watch --config webpack.js", + "lint": "eslint --ext .js,.vue src", + "lint:fix": "eslint --ext .js,.vue src --fix", + "stylelint": "stylelint **/*.css **/*.scss **/*.vue", + "stylelint:fix": "stylelint **/*.css **/*.scss **/*.vue --fix" }, "repository": { "type": "git", |