-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.25 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.25 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
{
"name": "@wunderschild/wsgraph",
"version": "1.1.1",
"license": "MPL-2.0",
"type": "module",
"typesVersions": {
"*": {
"*": [
"./dist/*"
]
}
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./plugins/autopin": {
"types": "./dist/plugins/autopin.d.ts",
"import": "./dist/plugins/autopin.js",
"require": "./dist/plugins/autopin.cjs"
},
"./plugins/context": {
"types": "./dist/plugins/context.d.ts",
"import": "./dist/plugins/context.js",
"require": "./dist/plugins/context.cjs"
},
"./plugins/controls": {
"types": "./dist/plugins/controls.d.ts",
"import": "./dist/plugins/controls.js",
"require": "./dist/plugins/controls.cjs"
},
"./plugins/popover": {
"types": "./dist/plugins/popover.d.ts",
"import": "./dist/plugins/popover.js",
"require": "./dist/plugins/popover.cjs"
},
"./plugins/zoomlimit": {
"types": "./dist/plugins/zoomlimit.d.ts",
"import": "./dist/plugins/zoomlimit.js",
"require": "./dist/plugins/zoomlimit.cjs"
},
"./styles": {
"import": "./dist/style.css",
"require": "./dist/style.css"
}
},
"scripts": {
"dev": "vite",
"build:lib": "tsc --noEmit && vite build",
"build:types": "yarn tsnode tools/assemble-declarations.ts",
"build": "yarn build:lib && yarn build:types",
"build:clean": "yarn clean && yarn build",
"preview": "vite preview",
"clean": "rimraf dist decl",
"lint:all": "yarn lint:prettier:check && yarn lint:es:strict && yarn lint:ts:compile",
"lint:prettier:x": "prettier src/{**/*,*}.{ts,tsx}",
"lint:prettier:check": "yarn lint:prettier:x -c",
"lint:prettier:fix": "yarn lint:prettier:x -w",
"lint:es": "eslint --ext js,jsx,ts,tsx src/",
"lint:es:fix": "yarn lint:es --fix",
"lint:es:strict": "yarn lint:es --max-warnings 0",
"lint:ts:compile": "yarn tsc --noEmit -p .",
"lint:ts:watch": "yarn lint:ts:compile --watch",
"tsnode": "ts-node --esm -P tsconfig.node.json"
},
"dependencies": {
"classnames": "^2.3.2",
"lodash-es": "^4.17.21",
"sass": "^1.58.0",
"vis-data": "^7.1.4",
"vis-network": "^9.1.2"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.34.4",
"@types/classnames": "^2.3.1",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.14.1",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@vitejs/plugin-react": "^3.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.24.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-react": "^7.31.8",
"prettier": "^2.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup-plugin-dts": "^5.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.3",
"vite": "^4.0.0",
"vite-plugin-dts": "^2.0.2",
"vite-tsconfig-paths": "^4.0.5"
}
}