Skip to content

Commit 17faa31

Browse files
authored
chore(release): add standard-version & update travis build (#446)
* chore(release): add standard-version & scripts * docs(readme): update coverage badge * ci(travis): fix minimum nodejs version
1 parent 6da7e90 commit 17faa31

File tree

4 files changed

+777
-143
lines changed

4 files changed

+777
-143
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ matrix:
1313
node_js: "6"
1414
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
1515
- os: linux
16-
node_js: "4.7"
16+
node_js: "4.3"
1717
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
1818
- os: linux
1919
node_js: "7"
2020
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
2121
- os: linux
22-
node_js: "4.7"
22+
node_js: "4.3"
2323
env: WEBPACK_VERSION="1.14.0" JOB_PART=test
2424
before_install:
2525
- nvm --version

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,8 @@ import { className } from 'file.css';
467467
[tests]: http://img.shields.io/travis/webpack-contrib/css-loader.svg
468468
[tests-url]: https://travis-ci.org/webpack-contrib/css-loader
469469

470-
[cover]: https://coveralls.io/repos/github/webpack-contrib/css-loader/badge.svg
471-
[cover-url]: https://coveralls.io/github/webpack-contrib/css-loader
470+
[cover]: https://codecov.io/gh/webpack-contrib/css-loader/branch/master/graph/badge.svg
471+
[cover-url]: https://codecov.io/gh/webpack-contrib/css-loader
472472

473473
[chat]: https://badges.gitter.im/webpack/webpack.svg
474474
[chat-url]: https://gitter.im/webpack/webpack

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"eslint": "3.14.0",
3232
"istanbul": "^0.4.5",
3333
"mocha": "^3.2.0",
34-
"should": "^11.1.2"
34+
"should": "^11.1.2",
35+
"standard-version": "^4.0.0"
3536
},
3637
"scripts": {
3738
"test": "mocha",
@@ -40,7 +41,7 @@
4041
"travis:test": "npm run cover",
4142
"travis:lint": "npm run lint",
4243
"cover": "istanbul cover node_modules/mocha/bin/_mocha",
43-
"publish-patch": "mocha && npm version patch && git push && git push --tags && npm publish"
44+
"release": "yarn run standard-version"
4445
},
4546
"repository": {
4647
"type": "git",

0 commit comments

Comments
 (0)