run `npm run test` in travis
This commit is contained in:
parent
bb74a5fdd4
commit
feb6f8471a
|
|
@ -7,8 +7,7 @@ install:
|
|||
- yarn
|
||||
|
||||
script:
|
||||
- npm run lint
|
||||
- npm run start
|
||||
- npm run test
|
||||
|
||||
cache:
|
||||
yarn: true
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@
|
|||
"docs:dev": "vuepress dev docs",
|
||||
"docs:build": "vuepress build docs",
|
||||
"format": "eslint \"**/*.js\" --fix && prettier \"**/*.{js,json,md}\" --write",
|
||||
"lint": "eslint \"**/*.js\" && prettier-check \"**/*.{js,json,md}\""
|
||||
"lint": "eslint \"**/*.js\" && prettier-check \"**/*.{js,json,md}\"",
|
||||
"test": "npm run lint && timeout 5 node index.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
Loading…
Reference in New Issue