-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.54 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "@hirosystems/clarinet",
"description": "Clarinet is a Clarity runtime packaged as a command line tool, designed to facilitate smart contract understanding, development, testing and deployment.",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "sed -i -e '1h;2,$H;$!d;g' -e 's@name = \"clarinet\"\\nversion = \"[^\"]*\"@name = \"clarinet\"\\nversion = \"${nextRelease.version}\"@g' Cargo.toml Cargo.lock"
}
],
[
"@semantic-release/exec",
{
"execCwd": "node-bindings",
"prepareCmd": "sed -i -e '1h;2,$H;$!d;g' -e 's@name = \"stacks-devnet-js\"\\nversion = \"[^\"]*\"@name = \"stacks-devnet-js\"\\nversion = \"${nextRelease.version}\"@g' Cargo.toml Cargo.lock"
}
],
[
"@semantic-release/exec",
{
"execCwd": "node-bindings",
"prepareCmd": "npm install --ignore-scripts"
}
],
[
"@semantic-release/npm",
{
"pkgRoot": "./node-bindings",
"npmPublish": true
}
],
"@semantic-release/github",
"@semantic-release/changelog",
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}",
"assets": [
"CHANGELOG.md",
"Cargo.toml",
"Cargo.lock",
"node-bindings/package.json",
"node-bindings/package-lock.json",
"node-bindings/Cargo.toml",
"node-bindings/Cargo.lock"
]
}
]
]
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"husky": "^6.0.0"
},
"scripts": {
"prepare": "husky install"
}
}