-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) · 1.39 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
{
"name": "x6-hooks",
"version": "1.0.8",
"type": "module",
"files": [
"utils.js",
"utils.d.ts",
"react.js",
"react.d.ts",
"vue.js",
"vue.d.ts"
],
"keywords": [
"antv",
"x6",
"graph",
"svg",
"vue",
"react",
"hooks",
"typescript"
],
"module": "react.js",
"author": "lloydzhou",
"license": "MIT",
"homepage": "https://github.com/lloydzhou/x6-hooks",
"repository": {
"type": "git",
"url": "git@github.com:lloydzhou/x6-hooks.git"
},
"dependencies": {},
"scripts": {
"update": "git submodule update",
"install:react": "cd react && yarn install",
"install:vue": "cd vue && yarn install",
"install:dev": "run-p install:react install:vue",
"build:react": "cd react && yarn run build",
"build:vue": "cd vue && yarn run build",
"build:source": "run-p build:react build:vue",
"build:clean": "rm -rf dist && mkdir -p dist",
"build:copy:utils": "cp react/dist/utils.js ./utils.js && cp react/dist/utils.d.ts ./",
"build:copy:react": "cp react/dist/hooks.d.ts ./react.d.ts && cp react/dist/hooks.js ./react.js",
"build:copy:vue": "cp vue/dist/hooks.js ./vue.js && cp vue/dist/hooks.d.ts ./vue.d.ts",
"build:copy": "run-p build:copy:utils build:copy:react build:copy:vue",
"build": "run-s build:source build:clean build:copy"
},
"devDependencies": {
"npm-run-all": "^4.1.5"
}
}