Skip to content

Commit

Permalink
chore: 添加集成。
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-xiao-jian committed Dec 4, 2016
1 parent 01cd997 commit f6fd1a0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 37 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sudo: false
language: node_js
node_js:
- 6
script:
- npm run-script test-travis
after_success:
- npm install coveralls
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
14 changes: 4 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "make NG HMR possible.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "istanbul cover ./node_modules/.bin/_mocha --report html",
"test-travis": "istanbul cover ./node_modules/.bin/_mocha --report lcovonly"
},
"repository": {
"type": "git",
Expand All @@ -21,20 +22,13 @@
},
"homepage": "https://github.com/bornkiller/ng-hot-loader#readme",
"devDependencies": {
"babel-eslint": "^7.1.0",
"babel-preset-es2015-bk": "^1.0.0",
"eslint": "^3.8.1",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"rollup": "^0.36.3",
"rollup-plugin-babel": "^2.6.1",
"rollup-plugin-eslint": "^3.0.0",
"rollup-watch": "^2.5.0",
"should": "^11.1.1"
},
"dependencies": {
"loader-utils": "^0.2.16",
"lodash": "^4.17.2",
"ng-hot-analyzer": "^0.4.0",
"strip-comments": "^0.4.4"
"ng-hot-analyzer": "^0.4.0"
}
}
27 changes: 0 additions & 27 deletions rollup.config.js

This file was deleted.

0 comments on commit f6fd1a0

Please sign in to comment.