- Add a new plugin type: `publish` - Add support for multi-plugin. A plugin module can now return an object with a property for each plugin type - Uses by default [npm](https://github.com/semantic-release/npm) and [github](https://github.com/semantic-release/github) in addition of Travis for the verify condition plugin - Uses by default [npm](https://github.com/semantic-release/npm) and [github](https://github.com/semantic-release/github) for the publish plugin - `gitTag` if one can be found is passed to `generateNotes` for both `lastRelease` and `nextRelease` - `semantic-release` now verifies the plugin configuration (in the `release` property of `package.json`) and throws an error if it's invalid - `semantic-release` now verifies each plugin output and will throw an error if a plugin returns an unexpected value. BREAKING CHANGE: `githubToken`, `githubUrl` and `githubApiPathPrefix` have to be set at the [github](https://github.com/semantic-release/github) plugin level. They can be set via `GH_TOKEN`, `GH_URL` and `GH_PREFIX` environment variables. BREAKING CHANGE: the `npm` parameter is not passed to any plugin anymore. Each plugin have to read `.npmrc` if they needs to (with https://github.com/kevva/npm-conf for example).
139 lines
3.2 KiB
JSON
139 lines
3.2 KiB
JSON
{
|
|
"name": "semantic-release",
|
|
"description": "Automated semver compliant package publishing",
|
|
"version": "0.0.0-development",
|
|
"author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
|
|
"bin": {
|
|
"semantic-release": "bin/semantic-release.js"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/semantic-release/semantic-release/issues"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "cz-conventional-changelog"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@semantic-release/commit-analyzer": "^4.0.0",
|
|
"@semantic-release/condition-travis": "^6.0.0",
|
|
"@semantic-release/error": "^2.1.0",
|
|
"@semantic-release/github": "^1.0.0",
|
|
"@semantic-release/npm": "^1.0.0",
|
|
"@semantic-release/release-notes-generator": "^5.0.0",
|
|
"chalk": "^2.3.0",
|
|
"commander": "^2.11.0",
|
|
"debug": "^3.1.0",
|
|
"execa": "^0.8.0",
|
|
"fs-extra": "^4.0.2",
|
|
"get-stream": "^3.0.0",
|
|
"git-log-parser": "^1.2.0",
|
|
"import-from": "^2.1.0",
|
|
"lodash": "^4.0.0",
|
|
"marked": "^0.3.6",
|
|
"marked-terminal": "^2.0.0",
|
|
"normalize-package-data": "^2.3.4",
|
|
"p-reduce": "^1.0.0",
|
|
"semver": "^5.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^0.23.0",
|
|
"codecov": "^3.0.0",
|
|
"commitizen": "^2.9.6",
|
|
"cz-conventional-changelog": "^2.0.0",
|
|
"dockerode": "^2.5.2",
|
|
"eslint": "^4.7.0",
|
|
"eslint-config-prettier": "^2.5.0",
|
|
"eslint-config-standard": "^10.2.1",
|
|
"eslint-plugin-import": "^2.7.0",
|
|
"eslint-plugin-node": "^5.2.0",
|
|
"eslint-plugin-prettier": "^2.3.0",
|
|
"eslint-plugin-promise": "^3.5.0",
|
|
"eslint-plugin-standard": "^3.0.1",
|
|
"mockserver-client": "^2.0.0",
|
|
"nock": "^9.0.2",
|
|
"npm-registry-couchapp": "^2.6.12",
|
|
"nyc": "^11.2.1",
|
|
"p-map-series": "^1.0.0",
|
|
"prettier": "~1.8.0",
|
|
"proxyquire": "^1.8.0",
|
|
"rimraf": "^2.5.0",
|
|
"sinon": "^4.0.0",
|
|
"tempy": "^0.2.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=4",
|
|
"npm": ">=2"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"standard",
|
|
"prettier"
|
|
],
|
|
"plugins": [
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": 2
|
|
}
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"lib",
|
|
"index.js",
|
|
"cli.js"
|
|
],
|
|
"homepage": "https://github.com/semantic-release/semantic-release#readme",
|
|
"keywords": [
|
|
"author",
|
|
"automation",
|
|
"changelog",
|
|
"module",
|
|
"package",
|
|
"publish",
|
|
"release",
|
|
"semver",
|
|
"version"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"nyc": {
|
|
"include": [
|
|
"lib/**/*.js",
|
|
"index.js",
|
|
"cli.js"
|
|
],
|
|
"reporter": [
|
|
"json",
|
|
"text",
|
|
"html"
|
|
],
|
|
"all": true
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120,
|
|
"singleQuote": true,
|
|
"bracketSpacing": false,
|
|
"trailingComma": "es5"
|
|
},
|
|
"publishConfig": {
|
|
"tag": "next"
|
|
},
|
|
"release": {
|
|
"branch": "caribou"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/semantic-release/semantic-release.git"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf coverage && rimraf .nyc_output",
|
|
"cm": "git-cz",
|
|
"codecov": "codecov -f coverage/coverage-final.json",
|
|
"lint": "eslint index.js cli.js lib test",
|
|
"pretest": "npm run clean && npm run lint",
|
|
"semantic-release": "./bin/semantic-release.js",
|
|
"test": "nyc ava -v"
|
|
}
|
|
}
|