mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-30 12:54:31 +01:00
Add the lint to CI script (#403)
This commit is contained in:
parent
354f8decc0
commit
d10a8a5b61
@ -7,4 +7,5 @@ matrix:
|
|||||||
install:
|
install:
|
||||||
- npm install
|
- npm install
|
||||||
script:
|
script:
|
||||||
|
- npm run lint
|
||||||
- npm run build
|
- npm run build
|
||||||
|
@ -57,6 +57,7 @@ before_build:
|
|||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- npm install
|
- npm install
|
||||||
|
- npm run lint
|
||||||
- ps: |
|
- ps: |
|
||||||
if($isLinux) {
|
if($isLinux) {
|
||||||
npm run dist:lin
|
npm run dist:lin
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
|
"symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
|
||||||
"symlink:mac": "npm run symlink:lin",
|
"symlink:mac": "npm run symlink:lin",
|
||||||
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
|
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
|
||||||
"lint": "tslint src/**/*.ts || true",
|
"lint": "tslint src/**/*.ts",
|
||||||
"lint:fix": "tslint src/**/*.ts --fix",
|
"lint:fix": "tslint src/**/*.ts --fix",
|
||||||
"build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"",
|
"build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"",
|
||||||
"build:main": "webpack --config webpack.main.js",
|
"build:main": "webpack --config webpack.main.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user