Lint the js on drone builds
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Grégoire Delattre 2020-04-03 16:57:54 +02:00
parent af2641c317
commit 817da07a2d
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ steps:
commands: commands:
- cd frontend - cd frontend
- npm install - npm install
- npm run-script lint
- npm run-script build - npm run-script build
- name: backend - name: backend

View File

@ -3,7 +3,7 @@
"scripts": { "scripts": {
"start": "NODE_ENV=development ./node_modules/webpack/bin/webpack.js -d --progress --colors --watch", "start": "NODE_ENV=development ./node_modules/webpack/bin/webpack.js -d --progress --colors --watch",
"build": "NODE_ENV=production ./node_modules/webpack/bin/webpack.js -p --progress --colors", "build": "NODE_ENV=production ./node_modules/webpack/bin/webpack.js -p --progress --colors",
"lint": "./node_modules/eslint/bin/eslint.js ." "lint": "./node_modules/eslint/bin/eslint.js js"
}, },
"dependencies": { "dependencies": {
"bootstrap": "^4.4.1", "bootstrap": "^4.4.1",