Skip to content

Commit 8fe5258

Browse files
committed
chore(chonky): update package.json with additional metadata and scripts
1 parent 08605be commit 8fe5258

File tree

1 file changed

+28
-22
lines changed

1 file changed

+28
-22
lines changed

packages/chonky/package.json

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
"version": "0.2.8",
44
"description": "A File Browser component for React",
55
"license": "MIT",
6+
"homepage": "https://chonky.io/",
7+
"author": {
8+
"name": "Timur Kuzhagaliyev",
9+
"email": "tim.kuzh@gmail.com",
10+
"url": "https://foxypanda.me/"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "git+https://github.com/TimboKZ/Chonky.git"
15+
},
16+
"bugs": {
17+
"url": "https://github.com/TimboKZ/Chonky/issues"
18+
},
19+
"keywords": [
20+
"file",
21+
"chonky",
22+
"file-dialog",
23+
"file-browser",
24+
"react-component"
25+
],
626
"main": "dist/index.js",
727
"types": "dist/index.d.ts",
828
"files": [
@@ -20,7 +40,13 @@
2040
"size": "size-limit",
2141
"analyze": "size-limit --why",
2242
"format": "prettier --config ../../.prettierrc.js --ignore-path ../../.prettierignore . --write",
23-
"format-check": "prettier --config ../../.prettierrc.js --ignore-path ../../.prettierignore --check ."
43+
"format-check": "prettier --config ../../.prettierrc.js --ignore-path ../../.prettierignore --check .",
44+
"release:version": "npm version patch -m \"release: v%s\" --no-git-tag-version",
45+
"release:version:minor": "npm version minor -m \"release: v%s\" --no-git-tag-version",
46+
"release:commit": "git reset && git add package.json && git commit -s -m \"release: v$npm_package_version\" && git tag v$npm_package_version",
47+
"release:publish": "git push && git push --tags && npm run build && npm publish",
48+
"release": "npm run release:version && npm run release:commit",
49+
"release:minor": "npm run release:version:minor && npm run release:commit"
2450
},
2551
"peerDependencies": {
2652
"react": ">=16"
@@ -98,25 +124,5 @@
98124
"redux-watch": "^1.2.0",
99125
"shortid": "^2.2.16",
100126
"tsdef": "^0.0.14"
101-
},
102-
"homepage": "https://chonky.io/",
103-
"author": {
104-
"name": "Timur Kuzhagaliyev",
105-
"email": "tim.kuzh@gmail.com",
106-
"url": "https://foxypanda.me/"
107-
},
108-
"repository": {
109-
"type": "git",
110-
"url": "git+https://github.com/TimboKZ/Chonky.git"
111-
},
112-
"bugs": {
113-
"url": "https://github.com/TimboKZ/Chonky/issues"
114-
},
115-
"keywords": [
116-
"file",
117-
"chonky",
118-
"file-dialog",
119-
"file-browser",
120-
"react-component"
121-
]
127+
}
122128
}

0 commit comments

Comments
 (0)