forked from caplin/FlexLayout
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
executable file
·105 lines (105 loc) · 4.1 KB
/
package.json
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
{
"name": "@aptre/flex-layout",
"author": "Caplin Systems Ltd",
"description": "A multi-tab docking layout manager",
"version": "0.3.5",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/aperturerobotics/flex-layout.git"
},
"keywords": [
"react",
"layout",
"dock",
"popout",
"tabs",
"tabset",
"splitter",
"drag",
"drop",
"reactjs",
"flexlayout",
"flex layout",
"layout manager",
"drag and drop",
"split view",
"docking library",
"docking layout"
],
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
},
"./style": "./style/",
"./style/_base.scss": "./style/_base.scss",
"./style/dark.css": "./style/dark.css",
"./style/dark.css.map": "./style/dark.css.map",
"./style/dark.scss": "./style/dark.scss",
"./style/gray.css": "./style/gray.css",
"./style/gray.css.map": "./style/gray.css.map",
"./style/gray.scss": "./style/gray.scss",
"./style/light.css": "./style/light.css",
"./style/light.css.map": "./style/light.css.map",
"./style/light.scss": "./style/light.scss",
"./style/underline.css": "./style/underline.css",
"./style/underline.css.map": "./style/underline.css.map",
"./style/underline.scss": "./style/underline.scss"
},
"files": [
"README.md",
"LICENSE",
"tsconfig.json",
"style/",
"typedoc/",
"dist/"
],
"scripts": {
"build": "npm run build:style && npm run build:doc && npm run build:lib && npm run build:types",
"build:min": "npm run build:style && npm run build:doc && npm run build:lib:min && npm run build:types",
"build:lib": "rimraf ./dist && esbuild --bundle --external:react --external:react-dom --format=esm --target=es2022 --platform=browser --outfile=./dist/index.mjs ./src/index.ts",
"build:lib:min": "npm run build:lib -- --minify",
"build:doc": "typedoc --out typedoc --exclude \"**/examples/**/*.tsx\" --excludeInternal --disableSources --excludePrivate --excludeProtected --readme none ./src",
"build:style": "sass style/underline.scss style/underline.css && sass style/gray.scss style/gray.css && sass style/light.scss style/light.css && sass style/dark.scss style/dark.css",
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist/",
"typecheck": "tsc --noEmit",
"test": "tsc --project tsconfig.json --noEmit",
"lint": "eslint src/*",
"format": "prettier --write './style/*.scss' './{src,declarations}/**/(*.ts|*.tsx|*.html)' package.json",
"release:version": "npm version patch -m \"release: v%s\" --no-git-tag-version",
"release:commit": "git reset && git add package.json && git commit -s -m \"release: v$npm_package_version\" && git tag v$npm_package_version",
"release:publish": "git push && git push --tags && npm run build && npm publish",
"release": "npm run release:version && npm run release:commit"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"dependencies": {},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@types/node": "^22.10.1",
"@types/prismjs": "^1.26.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"esbuild": "^0.25.0",
"eslint": "^9.16.0",
"eslint-plugin-react": "^7.37.2",
"globals": "^16.0.0",
"prettier": "^3.0.0",
"prismjs": "^1.28.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1",
"sass": "^1.50.0",
"typedoc": "^0.27.2",
"typescript": "^5.0.0"
}
}