-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.26 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.26 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
110
111
112
113
114
115
116
117
118
119
{
"name": "react-simple-tree-menu",
"version": "2.0.1",
"description": "A simple React tree menu component",
"keywords": [
"react",
"tree",
"menu",
"react-component",
"tree menu",
"render-props",
"control-props",
"downshift"
],
"type": "module",
"main": "./dist/main.cjs.js",
"module": "./dist/main.esm.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/main.esm.js",
"require": "./dist/main.cjs.js"
},
"./styles": "./dist/styles.css",
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"sideEffects": [
"**/*.css",
"**/*.scss"
],
"files": [
"dist/"
],
"engines": {
"node": ">=20"
},
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"test:bench": "vitest bench --run",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"build": "tsup && npm run build:css",
"check:api": "node scripts/check-api-contract.mjs",
"check:size": "size-limit",
"build:css": "postcss src/styles.css -o dist/styles.css",
"storybook": "storybook dev -p 9001",
"build-storybook": "storybook build",
"docs:dev": "npm --prefix docs run dev",
"docs:build": "npm --prefix docs run build",
"docs:preview": "npm --prefix docs run preview",
"bump-version:rc": "node ./node_modules/npm-version-suffix/run-add-suffix.js",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iannbing/react-simple-tree-menu.git"
},
"author": "Huang-Ming Chang <huang.m.chang@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/iannbing/react-simple-tree-menu/issues"
},
"homepage": "https://github.com/iannbing/react-simple-tree-menu#readme",
"peerDependencies": {
"react": ">=16.14",
"react-dom": ">=16.14"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@size-limit/preset-small-lib": "^11.1.6",
"@storybook/addon-essentials": "^8.4.0",
"@storybook/react-vite": "^8.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-window": "^1.8.8",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"eslint": "^9.14.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"globals": "^15.12.0",
"jsdom": "^25.0.1",
"npm-version-suffix": "^0.2.0",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-window": "^1.8.11",
"size-limit": "^11.1.6",
"storybook": "^8.4.0",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"size-limit": [
{
"path": "dist/main.esm.js",
"limit": "3.5 KB"
}
],
"publishConfig": {
"access": "public"
}
}