lint
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"serve": "webpack-dev-server --output-public-path=dist --history-api-fallback",
|
||||
"build": "webpack --optimize-minimize"
|
||||
"build": "npm run lint && webpack --optimize-minimize",
|
||||
"lint": "tslint --project ./tslint.json src/**/*.ts src/**/*.tsx"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
@@ -39,6 +40,7 @@
|
||||
"css-loader": "^0.28.7",
|
||||
"source-map-loader": "^0.2.3",
|
||||
"style-loader": "^0.19.1",
|
||||
"tslint": "^5.8.0",
|
||||
"typescript": "^2.6.2",
|
||||
"webpack": "^3.10.0",
|
||||
"webpack-dev-server": "^2.9.7"
|
||||
|
||||
Reference in New Issue
Block a user