Skip to content

Commit

Permalink
update travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenOutman committed May 13, 2018
1 parent 2696799 commit 3e31446
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ language: node_js
node_js:
- "lts/*"

script: npm run lint

cache:
yarn: true
directories:
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
"dist/*.js"
],
"scripts": {
"start": "yarn run dev",
"dev": "webpack-dev-server --inline --hot --progress --colors --host 0.0.0.0 --port 3000 --config webpack.demo.config.js",
"build": "export NODE_ENV=production && webpack --progress --hide-modules",
"build:demo": "export NODE_ENV=production && webpack --progress --hide-modules --config webpack.demo.config.js",
"prepublishOnly": "npm run build",
"predeploy": "yarn add hls.js && npm run build:demo && echo 'vue-aplayer.js.org' > demo/CNAME",
"lint": "eslint --ext .js,.vue src"
"prepublishOnly": "yarn run build",
"predeploy": "yarn add hls.js && yarn run build:demo && echo 'vue-aplayer.js.org' > demo/CNAME",
"lint": "eslint --ext .js,.vue src",
"test": "yarn run test"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 3e31446

Please sign in to comment.