Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.83 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 2.83 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
{
"name": "rc-dock",
"version": "5.0.0-alpha",
"description": "dock layout for react component",
"keywords": [
"dock",
"drag",
"drag-and-drop",
"drop",
"float",
"layout",
"panel",
"react",
"react-dom",
"reactjs",
"tabs",
"window"
],
"license": "Apache-2.0",
"author": {
"name": "Rick Zhou",
"email": "rinick@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/ticlo/rc-dock.git"
},
"main": "lib/index",
"module": "es/index",
"types": "lib/index.d.ts",
"files": [
"lib/**/*.js",
"lib/**/*.d.ts",
"es/**/*.js",
"es/**/*.d.ts",
"dist/*.css",
"style/**/*.scss",
"HISTORY.md"
],
"scripts": {
"prepack": "npm run build-lib && npm run build-es && npm run build-scss",
"dev": "vite",
"build-examples": "vite build",
"build-scss": "sass --no-source-map style/index-light.scss:dist/rc-dock.css style/index-dark.scss:dist/rc-dock-dark.css",
"build-doc": "typedoc",
"build-www": "ts-node tool/build-www",
"build-es": "tsc --module es2020 --outDir ./es",
"build-lib": "tsc --outDir ./lib",
"test": "vitest run",
"test-browser": "vitest run -c vitest.web.config.mts",
"test-browser-ui": "vitest -c vitest.web.config.mts --browser.headless=false",
"test-coverage": "vitest run --coverage",
"test-browser-coverage": "vitest run -c vitest.web.config.mts --coverage",
"test-typecheck": "tsc -p tsconfig.test.json"
},
"dependencies": {
"@rc-component/dropdown": "~1.0.3",
"@rc-component/menu": "~1.5.0",
"@rc-component/tabs": "~1.13.0",
"classnames": "^2.5.1",
"lodash": "^4.18.1",
"rc-new-window": "^0.1.13"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/plugin-proposal-export-default-from": "^7.16.7",
"@babel/preset-env": "^7.16.8",
"@types/classnames": "^2.3.1",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/lodash": "^4.14.178",
"@types/node": "^26.5.0",
"@types/prismjs": "^1.16.6",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"@types/shelljs": "^0.8.11",
"@vitejs/plugin-react": "^6.1.1",
"@vitest/browser-playwright": "5.0.0",
"@vitest/coverage-istanbul": "5.0.0",
"@vitest/coverage-v8": "5.0.0",
"node-gyp": "^10.1.0",
"playwright": "^1.63.0",
"prismjs": "^1.26.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sass": "^1.105.1",
"shelljs": "^0.8.4",
"ts-node": "^10.9.2",
"tslint": "^6.1.3",
"tslint-react": "^5.0.0",
"typedoc": "0.28.10",
"typescript": "^5.6.2",
"vite": "^8.2.2",
"vitest": "5.0.0"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"packageManager": "pnpm@9.10.0",
"pnpm": {
"overrides": {
"@babel/preset-env": "7.13.8",
"deasync": "0.1.30"
}
}
}