Add circleci setting for eslint
This commit is contained in:
parent
00ed3f4b3c
commit
0c4111751f
|
@ -0,0 +1,24 @@
|
||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: node:9-slim
|
||||||
|
working_directory: /var/opt/app
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- restore_cache:
|
||||||
|
name: Restoring cache - node_modules
|
||||||
|
keys:
|
||||||
|
- node_modules-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
|
||||||
|
- run:
|
||||||
|
name: Install packages
|
||||||
|
command: npm install
|
||||||
|
- save_cache:
|
||||||
|
name: Saving cache - node_modules
|
||||||
|
key: node_modules-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
|
||||||
|
paths:
|
||||||
|
- node_modules
|
||||||
|
- run:
|
||||||
|
name: Eslint
|
||||||
|
command: NODE_ENV=production npm run lint
|
||||||
|
|
|
@ -15725,6 +15725,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"vue-js-popover": {
|
||||||
|
"version": "1.1.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/vue-js-popover/-/vue-js-popover-1.1.7.tgz",
|
||||||
|
"integrity": "sha512-Ye/Y+bClo6N1Vso0SKBtGC4jyEPvmRIdG7iHlkgFaTw8ppbO66asdoLCv0AVH2J6talq1g65NbVv5/kNwihu/Q=="
|
||||||
|
},
|
||||||
"vue-loader": {
|
"vue-loader": {
|
||||||
"version": "13.7.1",
|
"version": "13.7.1",
|
||||||
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-13.7.1.tgz",
|
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-13.7.1.tgz",
|
||||||
|
|
Loading…
Reference in New Issue