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
|
extends: airbnb-base
|
||||||
rules:
|
rules:
|
||||||
no-underscore-dangle: 0
|
no-underscore-dangle: 0
|
||||||
no-void: 0
|
no-void: 0
|
||||||
plugins:
|
plugins:
|
||||||
- ava
|
- ava
|
||||||
|
- import
|
||||||
|
@ -2,3 +2,6 @@ language: node_js
|
|||||||
after_success: npm run coverage
|
after_success: npm run coverage
|
||||||
node_js:
|
node_js:
|
||||||
- "8.4.0"
|
- "8.4.0"
|
||||||
|
script:
|
||||||
|
- npm run lint
|
||||||
|
- npm test
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --config webpack.config.js",
|
"build": "webpack --config webpack.config.js",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "npm run build",
|
||||||
"lint": "eslint ./src --fix",
|
"lint": "eslint ./src",
|
||||||
"testem": "testem",
|
"testem": "testem",
|
||||||
"test": "eslint ./src & nyc --reporter=html --reporter=text ava",
|
"test": "eslint ./src & nyc --reporter=html --reporter=text ava",
|
||||||
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
||||||
|
Loading…
Reference in New Issue
Block a user