-
Notifications
You must be signed in to change notification settings - Fork 411
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.73 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 2.73 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
{
"name": "react-split-pane",
"version": "3.2.0",
"description": "React split-pane component with hooks and TypeScript",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./keyboard": {
"types": "./dist/keyboard.d.ts",
"import": "./dist/keyboard.js",
"require": "./dist/keyboard.cjs"
},
"./persistence": {
"types": "./dist/persistence.d.ts",
"import": "./dist/persistence.js",
"require": "./dist/persistence.cjs"
},
"./styles.css": "./styles.css"
},
"files": [
"dist",
"styles.css"
],
"sideEffects": false,
"scripts": {
"dev": "rollup -c -w",
"build": "rollup -c && npm run build:types",
"build:types": "tsc --emitDeclarationOnly",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src",
"format": "prettier --write src examples",
"format:check": "prettier --check src examples",
"typecheck": "tsc --noEmit",
"checks": "npm run typecheck && npm run lint && npm run format && npm run test",
"examples": "vite --config examples/vite.config.ts",
"examples:build": "vite build --config examples/vite.config.ts",
"prepublishOnly": "npm run test && npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/tomkp/react-split-pane"
},
"keywords": [
"react",
"react-component",
"split-pane",
"react-split-pane",
"typescript",
"hooks",
"resizable",
"panes",
"layout",
"accessibility"
],
"author": "tomkp <tom@tomkp.com>",
"license": "MIT",
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "^4.7.0",
"@vitest/coverage-v8": "^4.0.16",
"eslint": "^9.39.2",
"globals": "^16.2.0",
"jsdom": "^26.1.0",
"prettier": "^3.7.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup": "^4.54.0",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.50.0",
"vite": "^6.3.5",
"vitest": "^4.0.16"
},
"engines": {
"node": ">=20.0.0"
}
}