|
6 | 6 | "scripts": { |
7 | 7 | "sync_plugin_xml": "sync-cordova-xml package.json plugin.xml --output=plugin.xml", |
8 | 8 | "version": "npm run sync_plugin_xml && git add plugin.xml", |
9 | | - "deploy": "np" |
| 9 | + "cz": "git-cz" |
10 | 10 | }, |
11 | 11 | "repository": { |
12 | 12 | "type": "git", |
|
21 | 21 | ], |
22 | 22 | "author": "Ionic Team", |
23 | 23 | "license": "Apache-2.0", |
24 | | - "devDependencies": { |
25 | | - "np": "^3.0.4", |
26 | | - "sync-cordova-xml": "^0.4.0" |
27 | | - }, |
28 | 24 | "engines": { |
29 | 25 | "cordovaDependencies": { |
30 | 26 | "2.0.0": { |
31 | 27 | "cordova-android": ">=6.4.0", |
32 | 28 | "cordova-ios": ">=4.0.0-dev" |
33 | 29 | } |
34 | 30 | } |
| 31 | + }, |
| 32 | + "devDependencies": { |
| 33 | + "@semantic-release/changelog": "^3.0.0", |
| 34 | + "@semantic-release/git": "^7.0.4", |
| 35 | + "@semantic-release/github": "^5.0.6", |
| 36 | + "@semantic-release/npm": "^5.0.4", |
| 37 | + "commitizen": "^3.0.2", |
| 38 | + "cz-conventional-changelog": "^2.1.0", |
| 39 | + "semantic-release": "^15.9.17", |
| 40 | + "sync-cordova-xml": "^0.4.0" |
| 41 | + }, |
| 42 | + "release": { |
| 43 | + "branch": "stable", |
| 44 | + "verifyConditions": [ |
| 45 | + "@semantic-release/changelog", |
| 46 | + "@semantic-release/npm", |
| 47 | + "@semantic-release/github", |
| 48 | + "@semantic-release/git" |
| 49 | + ], |
| 50 | + "prepare": [ |
| 51 | + "@semantic-release/changelog", |
| 52 | + "@semantic-release/npm", |
| 53 | + "@semantic-release/git" |
| 54 | + ], |
| 55 | + "publish": [ |
| 56 | + "@semantic-release/github", |
| 57 | + "@semantic-release/npm" |
| 58 | + ], |
| 59 | + "success": [ |
| 60 | + "@semantic-release/github" |
| 61 | + ], |
| 62 | + "fail": [ |
| 63 | + "@semantic-release/github" |
| 64 | + ] |
| 65 | + }, |
| 66 | + "config": { |
| 67 | + "commitizen": { |
| 68 | + "path": "./node_modules/cz-conventional-changelog" |
| 69 | + } |
35 | 70 | } |
36 | 71 | } |
0 commit comments