mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-27 17:18:04 +01:00
Add the lint to CI script (#87)
This commit is contained in:
parent
d6c9acdf6f
commit
72b4c4401a
@ -19,6 +19,7 @@ before_build:
|
||||
|
||||
build_script:
|
||||
- cmd: npm install
|
||||
- cmd: npm run lint
|
||||
- cmd: npm run build
|
||||
- cmd: npm run test
|
||||
- cmd: 7z a coverage-%APPVEYOR_BUILD_NUMBER%.zip coverage\*
|
||||
|
@ -16,7 +16,7 @@
|
||||
"clean": "rimraf dist/**/*",
|
||||
"build": "npm run clean && tsc",
|
||||
"build:watch": "npm run clean && tsc -watch",
|
||||
"lint": "tslint src/**/*.ts spec/**/*.ts || true",
|
||||
"lint": "tslint src/**/*.ts spec/**/*.ts",
|
||||
"lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix",
|
||||
"test": "karma start ./spec/support/karma.conf.js --single-run",
|
||||
"test:watch": "karma start ./spec/support/karma.conf.js",
|
||||
|
Loading…
Reference in New Issue
Block a user