|
20 | 20 | "benchmark": "node ./tests/benchmark.cjs", |
21 | 21 | "build": "rollup -c", |
22 | 22 | "prepare": "npm run build", |
| 23 | + "semantic-release": "semantic-release", |
23 | 24 | "test": "mocha tests/test**.*js -u tdd --experimental-json-modules" |
24 | 25 | }, |
25 | 26 | "type": "module", |
|
50 | 51 | "msgpackr-extract": "^1.0.14" |
51 | 52 | }, |
52 | 53 | "devDependencies": { |
| 54 | + "@commitlint/cli": "^8.3.5", |
53 | 55 | "@rollup/plugin-json": "^4.1.0", |
| 56 | + "@commitlint/config-conventional": "^8.3.4", |
| 57 | + "@semantic-release/changelog": "^5.0.1", |
| 58 | + "@semantic-release/commit-analyzer": "^8.0.1", |
| 59 | + "@semantic-release/exec": "^5.0.0", |
| 60 | + "@semantic-release/git": "^9.0.1", |
| 61 | + "@semantic-release/github": "^7.2.0", |
| 62 | + "@semantic-release/npm": "^7.0.9", |
| 63 | + "@semantic-release/release-notes-generator": "^9.0.3", |
54 | 64 | "@types/node": "latest", |
55 | 65 | "async": "^3", |
56 | 66 | "chai": "^4.3.4", |
| 67 | + "commitizen": "^4.2.4", |
57 | 68 | "esm": "^3.2.25", |
| 69 | + "husky": "^3.1.0", |
58 | 70 | "mocha": "^8.1.3", |
59 | 71 | "rollup": "^1.20.3", |
60 | | - "rollup-plugin-babel-minify": "^9.0.0" |
| 72 | + "rollup-plugin-babel-minify": "^9.0.0", |
| 73 | + "semantic-release": "^17.4.7" |
| 74 | + }, |
| 75 | + "config": { |
| 76 | + "commitizen": { |
| 77 | + "path": "node_modules/cz-conventional-changelog" |
| 78 | + } |
| 79 | + }, |
| 80 | + "commitlint": { |
| 81 | + "extends": [ |
| 82 | + "@commitlint/config-conventional" |
| 83 | + ] |
| 84 | + }, |
| 85 | + "husky": { |
| 86 | + "hooks": { |
| 87 | + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
| 88 | + } |
| 89 | + }, |
| 90 | + "release": { |
| 91 | + "plugins": [ |
| 92 | + "@semantic-release/commit-analyzer", |
| 93 | + "@semantic-release/release-notes-generator", |
| 94 | + "@semantic-release/changelog", |
| 95 | + [ |
| 96 | + "@semantic-release/npm", |
| 97 | + { |
| 98 | + "npmPublish": true |
| 99 | + } |
| 100 | + ], |
| 101 | + "@semantic-release/github", |
| 102 | + [ |
| 103 | + "@semantic-release/git", |
| 104 | + { |
| 105 | + "assets": [ |
| 106 | + "package.json" |
| 107 | + ], |
| 108 | + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 109 | + } |
| 110 | + ] |
| 111 | + ] |
61 | 112 | } |
62 | 113 | } |
0 commit comments