Skip to content

Commit b3eb283

Browse files
committed
feat: changed package.json
1 parent d61413b commit b3eb283

File tree

1 file changed

+29
-9
lines changed

1 file changed

+29
-9
lines changed

package.json

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,42 @@
11
{
22
"name": "@mattis/react-command-palette",
33
"version": "0.1.0",
4+
"description": "A flexible, accessible command palette component for React applications.",
5+
"author": "Mattis",
6+
"license": "MIT",
7+
48
"main": "dist/index.js",
59
"module": "dist/index.js",
610
"types": "dist/index.d.ts",
7-
"files": [
8-
"dist"
11+
12+
"files": ["dist", "README.md"],
13+
14+
"keywords": [
15+
"react",
16+
"command",
17+
"palette",
18+
"cmdk",
19+
"shortcut",
20+
"ctrl+k",
21+
"github"
922
],
10-
"keywords": ["react", "command", "palette", "cmdk", "shortcut", "ctrl+k", "github"],
23+
1124
"type": "module",
25+
1226
"scripts": {
13-
"build": "tsup",
14-
"dev": "tsup --watch",
27+
"build": "tsup src/index.ts --dts",
28+
"dev": "tsup src/index.ts --watch",
1529
"prepare": "npm run build",
1630
"docs:dev": "vitepress dev docs",
1731
"docs:build": "vitepress build docs",
1832
"docs:preview": "vitepress preview docs"
1933
},
34+
35+
"peerDependencies": {
36+
"react": ">=18",
37+
"react-dom": ">=18"
38+
},
39+
2040
"devDependencies": {
2141
"@eslint/js": "^9.36.0",
2242
"@types/react": "^19.1.14",
@@ -33,8 +53,8 @@
3353
"typescript-eslint": "^8.44.1",
3454
"vitepress": "^2.0.0-alpha.12"
3555
},
36-
"dependencies": {
37-
"react": "^19.1.1",
38-
"react-dom": "^19.1.1"
56+
57+
"publishConfig": {
58+
"access": "public"
3959
}
40-
}
60+
}

0 commit comments

Comments
 (0)