Skip to content

Commit

Permalink
fix(package): update deps to test on node 0.10 and npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Mar 10, 2017
1 parent 8fc1256 commit ac54d55
Show file tree
Hide file tree
Showing 3 changed files with 885 additions and 472 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,7 @@ node_js:
- "0.12"
- "0.10"

matrix:
fast_finish: true
allow_failures:
- node_js: "4"
- node_js: "0.12"
- node_js: "0.10"

notifications:
email: false

after_success: npm run report-coverage
after_success: bash <(curl -s https://codecov.io/bash)
42 changes: 24 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"lint": "standard --verbose",
"pretest": "npm run lint",
"test": "npm run coverage",
"posttest": "npm run lint:coverage",
"coverage": "nyc node test.js",
"lint:coverage": "nyc check-coverage --lines 0 --branches 0 --statements 0 --functions 0",
"report-coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "standard index.js test.js --fix --verbose",
"test": "npm-run-all -s lint test:*",
"test:api": "nyc --reporter lcov node test.js",
"test:report": "nyc report",
"prerelease": "npm test",
"release": "standard-version --sign --no-verify",
"precommit": "git add --all",
"commit": "git-cz"
"git": "npm-run-all -s git:*",
"git:add": "git add --all",
"git:cz": "git-cz",
"commit": "npm-run-all -s test git"
},
"dependencies": {
"clean-stacktrace": "^1.1.0",
Expand All @@ -28,14 +27,14 @@
"string-template": "^1.0.0"
},
"devDependencies": {
"commitizen": "^2.8.6",
"coveralls": "^2.11.14",
"cz-conventional-changelog": "^1.2.0",
"mukla": "^0.4.5",
"nyc": "^10.1.0",
"pre-commit": "^1.1.3",
"standard": "^8.5.0",
"standard-version": "^3.0.0"
"commitizen": "~2.7.0",
"cz-conventional-changelog": "1.1.5",
"mukla": "^0.4.8",
"npm-run-all": "~3.1.2",
"nyc": "^10.1.2",
"pre-commit": "^1.2.2",
"standard": "^9.0.0",
"standard-version": "^4.0.0"
},
"files": [
"index.js",
Expand Down Expand Up @@ -117,5 +116,12 @@
"verb",
"verb-generate-readme"
]
},
"nyc": {
"check-coverage": true,
"statements": 100,
"functions": 100,
"branches": 100,
"lines": 100
}
}
}
Loading

0 comments on commit ac54d55

Please sign in to comment.