-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.26 KB
/
package.json
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "nitro-image-compressor",
"version": "0.3.0",
"author": "Henry Paulino <me@henrypl.com> (https://github.com/corasan)",
"packageManager": "bun@1.1.34",
"main": "lib/index",
"module": "lib/index",
"types": "lib/index.d.ts",
"scripts": {
"typescript": "bun --filter=\"**\" typescript",
"clean": "rm -rf package/tsconfig.tsbuildinfo package/node_modules package/lib",
"specs": "bun --cwd ./package specs && cd example/ios && pod install && cd ../../",
"build": "bun --cwd package build",
"release": "release-it"
},
"workspaces": [
"package",
"example"
],
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@release-it-plugins/workspaces": "^4.2.0",
"@release-it/bumper": "^6.0.1",
"@release-it/conventional-changelog": "^9.0.3",
"typescript": "^5.7.2"
},
"release-it": {
"npm": {
"publish": false,
"versionArgs": [
"--allow-same-version"
]
},
"github": {
"release": true,
"releaseName": "${version}"
},
"hooks": {
"after:bump": "bun specs",
"before:release": "bun run build"
},
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}",
"requireCleanWorkingDir": false
},
"plugins": {
"@release-it/bumper": {
"out": [
{
"file": "package/package.json",
"path": "version"
},
{
"file": "example/package.json",
"path": "version"
}
]
},
"@release-it-plugins/workspaces": true,
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "✨ Features"
},
{
"type": "fix",
"section": "🐞 Fixes"
},
{
"type": "chore(deps)",
"section": "🛠️ Dependency Upgrades"
},
{
"type": "perf",
"section": "🏎️ Performance Improvements"
},
{
"type": "docs",
"section": "📚 Documentation"
}
]
}
}
}
}
}