-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.56 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
{
"name": "x6-html-shape",
"version": "0.4.9",
"type": "module",
"files": [
"dist"
],
"keywords": [
"antv",
"x6",
"graph",
"svg",
"html",
"shape",
"vue",
"react",
"hooks",
"typescript"
],
"module": "dist/index.js",
"types": "dist/index.d.ts",
"author": "lloydzhou",
"license": "MIT",
"homepage": "https://github.com/lloydzhou/x6-html-shape",
"repository": {
"type": "git",
"url": "[email protected]:lloydzhou/x6-html-shape.git"
},
"scripts": {
"build:clean": "rm -rf dist && mkdir -p dist",
"build:all": "npm run build && npm run build:react && npm run build:vue",
"build": "vite build && tsc -d --skipLibCheck --emitDeclarationOnly --esModuleInterop --declarationDir dist src/index.ts src/fobject.ts src/svelte.tsx",
"build:react": "tsc -d --skipLibCheck --emitDeclarationOnly --esModuleInterop --declarationDir dist --jsx react-jsx src/react.tsx src/react17.tsx src/portal.tsx",
"build:vue": "tsc -d --skipLibCheck --emitDeclarationOnly --esModuleInterop --declarationDir dist --jsx preserve src/vue.tsx src/vue2.tsx src/teleport.tsx"
},
"devDependencies": {
"@antv/x6": "^2.16.1",
"babel-preset-minify": "^0.5.2",
"eslint": "^8.34.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"svelte": "^4.2.8",
"typescript": "^4.9.3",
"vite": "^4.1.0",
"vue": "^3.2.47"
}
}