build(deps): Switch from standard-changelog to standard-version

This commit is contained in:
Tom MacWright
2018-06-03 20:38:47 -07:00
parent f69243d86b
commit 5d40dbe882

View File

@ -5,12 +5,11 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "budo src/index.js --serve=bundle.js --live", "start": "budo src/index.js --serve=bundle.js --live",
"changelog": "standard-changelog -w CHANGELOG.md", "release": "standard-version",
"test": "npm run test-unit && eslint src && npm run prerender -- /dev/null && rm -rf lib", "test": "npm run test-unit && eslint src && npm run prerender -- /dev/null && rm -rf lib",
"test-unit": "mocha --compilers js:babel-register test", "test-unit": "mocha --compilers js:babel-register test",
"prerender": "babel src --out-dir lib && node lib/render.js", "prerender": "babel src --out-dir lib && node lib/render.js",
"build": "cross-env NODE_ENV=production browserify src/index.js | uglifyjs -c -m > bundle.js && npm run prerender -- index.html", "build": "cross-env NODE_ENV=production browserify src/index.js | uglifyjs -c -m > bundle.js && npm run prerender -- index.html"
"release": "standard-version && git push --follow-tags origin master; npm publish"
}, },
"browserify": { "browserify": {
"transform": [ "transform": [
@ -51,8 +50,6 @@
"remark": "^8.0.0", "remark": "^8.0.0",
"remark-html": "^7.0.0", "remark-html": "^7.0.0",
"remark-slug": "^5.0.0", "remark-slug": "^5.0.0",
"standard-changelog": "^1.0.1",
"standard-version": "^4.0.0",
"unist-util-select": "^1.3.0", "unist-util-select": "^1.3.0",
"unist-util-visit": "^1.0.0" "unist-util-visit": "^1.0.0"
}, },
@ -61,6 +58,7 @@
"budo": "^11.0.0", "budo": "^11.0.0",
"cross-env": "^5.1.6", "cross-env": "^5.1.6",
"cz-conventional-changelog": "2.1.0", "cz-conventional-changelog": "2.1.0",
"standard-version": "^4.4.0",
"expect": "^23.0.1", "expect": "^23.0.1",
"mocha": "^5.0.0", "mocha": "^5.0.0",
"to-vfile": "^4.0.0", "to-vfile": "^4.0.0",