Skip to content

Commit

Permalink
chore(release): Add commitizen, cz-git, cz-conventional-changelog, an…
Browse files Browse the repository at this point in the history
…d semantic-release.

Fixes #23
  • Loading branch information
TheLarkInn committed Dec 19, 2016
1 parent 724c055 commit 3f26e62
Show file tree
Hide file tree
Showing 4 changed files with 1,292 additions and 87 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ examples/*/dist
examples/*/resources/views/webpack-partials/*
coverage
.nyc_output
*.log
npm-debug.log
18 changes: 16 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "6"

- '7'
- '6'
- '4'
before_script:
- npm prune
script:
- npm run test
after_success:
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
21 changes: 14 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"name": "multipage-webpack-plugin",
"version": "1.0.0",
"version": "0.0.0-development",
"description": "Currently to architecht a webpack configuration for multi page web applications, there are many requirements for managing all assets and entry points.",
"main": "dist/index.js",
"module": "src/index.js",
"scripts": {
"commit": "git-cz",
"build": "BABEL_ENV=production babel --out-dir=dist src/plugin.js",
"build:examples": "webpack --progress --colors --config ./examples",
"build:debug": "node --debug-brk --inspect ./node_modules/webpack/bin/webpack.js --config ./examples",
"test": "npm run build:examples && nyc ava",
"test:watch": "npm test -- --watch"
"test:watch": "npm test -- --watch",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mutualofomaha/multipage-webpack-plugin.git"
"url": "https://github.com/mutualofomaha/multipage-webpack-plugin.git"
},
"author": "",
"license": "MIT",
Expand All @@ -32,18 +34,18 @@
"babel-preset-stage-3": "^6.17.0",
"babel-register": "^6.16.3",
"bluebird": "^3.4.6",
"commitizen": "^2.9.2",
"coveralls": "^2.11.15",
"cz-conventional-changelog": "^1.2.0",
"eslint": "^3.8.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-ava": "^3.1.1",
"eslint-plugin-import": "^2.0.1",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.4.1",
"hard-source-webpack-plugin": "^0.1.0",
"html-webpack-plugin": "^2.22.0",
"memory-fs": "^0.3.0",
"nyc": "^8.3.1",
"rimraf": "^2.5.4",
"semantic-release": "^6.3.2",
"semantic-release-cli": "^3.0.2",
"webpack": "^2.1.0-beta.27"
},
"babel": {
Expand Down Expand Up @@ -76,5 +78,10 @@
"ava"
],
"extends": "plugin:ava/recommended"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}

0 comments on commit 3f26e62

Please sign in to comment.