mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-26 22:44:45 +02:00
Linting pre-commit
This commit is contained in:
10
package.json
10
package.json
@@ -45,7 +45,9 @@
|
||||
"node-sass": "^4.5.3",
|
||||
"npm-run-all": "^4.0.2",
|
||||
"postcss-loader": "^2.0.5",
|
||||
"pre-commit": "^1.2.2",
|
||||
"rimraf": "^2.6.1",
|
||||
"sass-lint": "^1.10.2",
|
||||
"sass-loader": "^6.0.5",
|
||||
"simulant": "^0.2.2",
|
||||
"smart-banner-webpack-plugin": "^3.0.1",
|
||||
@@ -55,9 +57,13 @@
|
||||
},
|
||||
"scripts": {
|
||||
"prebuild": "rimraf static/js/webslide*",
|
||||
"build": "npm run build:min && npm run build:normal",
|
||||
"build:normal": "webpack",
|
||||
"build": "npm-run-all -s build:*",
|
||||
"build:min": "webpack --output-filename [name].min.js -p",
|
||||
"build:normal": "webpack",
|
||||
"lint": "npm-run-all -p lint:*",
|
||||
"lint:js": "eslint ./src/js --cache --ignore-pattern .gitignore",
|
||||
"lint:tests": "eslint ./test --cache --ignore-pattern .gitignore",
|
||||
"lint:css": "sass-lint -v -f stylish",
|
||||
"dev": "webpack-dev-server",
|
||||
"test": "jest && codecov"
|
||||
},
|
||||
|
Reference in New Issue
Block a user