mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Fix travis testing (include eslint)
This commit is contained in:
parent
5ef075160b
commit
8af2e682a2
@ -1,6 +1,8 @@
|
||||
parser: babel-eslint
|
||||
extends: airbnb-base
|
||||
rules:
|
||||
no-underscore-dangle: 0
|
||||
no-void: 0
|
||||
plugins:
|
||||
- ava
|
||||
- import
|
||||
|
@ -2,3 +2,6 @@ language: node_js
|
||||
after_success: npm run coverage
|
||||
node_js:
|
||||
- "8.4.0"
|
||||
script:
|
||||
- npm run lint
|
||||
- npm test
|
||||
|
@ -64,7 +64,7 @@
|
||||
"scripts": {
|
||||
"build": "webpack --config webpack.config.js",
|
||||
"prepublish": "npm run build",
|
||||
"lint": "eslint ./src --fix",
|
||||
"lint": "eslint ./src",
|
||||
"testem": "testem",
|
||||
"test": "eslint ./src & nyc --reporter=html --reporter=text ava",
|
||||
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
||||
|
Loading…
Reference in New Issue
Block a user