1
0
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:
mtgto 2020-03-11 22:06:45 +09:00 committed by GitHub
parent d6c9acdf6f
commit 72b4c4401a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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\*

View File

@ -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",