Skip to content

Commit 6223b00

Browse files
committed
chore: Configure prepare-release script
1 parent 117aa84 commit 6223b00

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Diff for: package.json

+26
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,36 @@
1111
"scripts": {
1212
"build": "rimraf dist && tsc",
1313
"lint": "tslint -c tslint.json 'src/**/*.ts'",
14+
"prepare-release": "standard-version",
1415
"prepublish": "npm run build",
1516
"precommit": "npm run test",
1617
"pretest": "npm run lint",
1718
"test": "jest"
1819
},
20+
"standard-version": {
21+
"skip": {
22+
"commit": true,
23+
"tag": true
24+
},
25+
"types": [
26+
{
27+
"type": "feat",
28+
"section": "Features"
29+
},
30+
{
31+
"type": "fix",
32+
"section": "Bug Fixes"
33+
},
34+
{
35+
"type": "perf",
36+
"section": "Performance Improvements"
37+
},
38+
{
39+
"type": "refactor",
40+
"section": "Maintenance Improvements"
41+
}
42+
]
43+
},
1944
"repository": {
2045
"type": "git",
2146
"url": "git+https://github.com/prisma/serverless-plugin-typescript.git"
@@ -34,6 +59,7 @@
3459
"jest": "24.5.0",
3560
"mock-fs": "4.9.0",
3661
"rimraf": "2.6.3",
62+
"standard-version": "^9.3.1",
3763
"ts-jest": "24.0.2",
3864
"tslint": "5.14.0",
3965
"typescript": "^3.9.10"

0 commit comments

Comments
 (0)