mirror of
https://github.com/bitwarden/browser
synced 2024-12-25 17:32:46 +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:
|
build_script:
|
||||||
- cmd: npm install
|
- cmd: npm install
|
||||||
|
- cmd: npm run lint
|
||||||
- cmd: npm run build
|
- cmd: npm run build
|
||||||
- cmd: npm run test
|
- cmd: npm run test
|
||||||
- cmd: 7z a coverage-%APPVEYOR_BUILD_NUMBER%.zip coverage\*
|
- cmd: 7z a coverage-%APPVEYOR_BUILD_NUMBER%.zip coverage\*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"clean": "rimraf dist/**/*",
|
"clean": "rimraf dist/**/*",
|
||||||
"build": "npm run clean && tsc",
|
"build": "npm run clean && tsc",
|
||||||
"build:watch": "npm run clean && tsc -watch",
|
"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",
|
"lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix",
|
||||||
"test": "karma start ./spec/support/karma.conf.js --single-run",
|
"test": "karma start ./spec/support/karma.conf.js --single-run",
|
||||||
"test:watch": "karma start ./spec/support/karma.conf.js",
|
"test:watch": "karma start ./spec/support/karma.conf.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user