diff options
author | Jonathan Treffler <mail@jonathan-treffler.de> | 2020-08-07 11:57:04 +0200 |
---|---|---|
committer | Simon Spannagel <simonspa@kth.se> | 2021-12-16 20:05:18 +0100 |
commit | e8fbb7ef5f9d5012ea9d55193529a04206537c09 (patch) | |
tree | d949f2822459f07783dfa6209c65e0a0a3330289 | |
parent | e71a49f74f876167832a45c661e4c00299d33004 (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 3e92807b9..f142cfd45 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 ci", - "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", |