-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 2.45 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 2.45 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "@tenedev/version-bump",
"version": "0.0.1",
"description": "Update project version and create tag easily",
"repository": "https://github.com/teneplaysofficial/version-bump",
"author": "Sriman <136729116+TenEplaysOfficial@users.noreply.github.com>",
"license": "Apache-2.0",
"private": false,
"publishConfig": {
"access": "public"
},
"keywords": [
"version",
"bump",
"npm",
"node",
"bower",
"package",
"git",
"tag",
"push",
"prompt"
],
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"bin": {
"@tenedev/version-bump": "./dist/cli/index.cjs"
},
"engines": {
"node": ">=20"
},
"scripts": {
"prepare": "husky",
"test": "tsx --test tests/index.test.ts",
"build": "tsup",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write"
},
"lint-staged": {
"*.{js,ts,json,md,yaml,yml}": "yarn format"
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 2
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true,
"publishArgs": [
"--provenance"
]
},
"github": {
"release": true,
"tokenRef": "GITHUB_TOKEN"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "conventionalcommits",
"infile": "CHANGELOG.md"
}
},
"hooks": {
"before:bump": "node -e \"const fs=require('fs'); const jsr=JSON.parse(fs.readFileSync('jsr.json')); jsr.version='${version}'; fs.writeFileSync('jsr.json', JSON.stringify(jsr,null,2));\""
}
},
"dependencies": {
"semver": "^7.7.2"
},
"devDependencies": {
"@eslint/js": "^9.33.0",
"@release-it/conventional-changelog": "^10.0.1",
"@types/node": "^24.3.0",
"eslint": "^9.33.0",
"globals": "^17.0.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.5",
"prettier": "^3.6.2",
"release-it": "^19.0.4",
"tsup": "^8.5.0",
"tsx": "^4.20.4",
"typescript": "^5.9.2",
"typescript-eslint": "^8.39.1"
}
}