/
package.json
128 lines (128 loc) 路 3.34 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@antv/x6-components",
"version": "0.1.4",
"description": "React components for building x6 editors",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"es"
],
"directories": {
"es": "es/",
"lib": "lib/",
"src": "src/"
},
"sideEffects": [
"es/**/style/*",
"lib/**/style/*",
"*.less"
],
"scripts": {
"lint": "run-s lint:ts lint:es lint:style",
"lint:es": "eslint --ext .js scripts --fix",
"lint:ts": "tslint -c tslint.json -p tsconfig.json --fix",
"lint:style": "stylelint 'src/**/*.less' --syntax less --fix",
"clean:es": "rimraf ./es",
"clean:lib": "rimraf ./lib",
"clean": "run-p clean:es clean:lib",
"watch": "watch 'yarn build' ./src",
"build:es": "tsc --module es2015 --target es2015 --outDir ./es",
"build:lib": "tsc --module commonjs --target es5 --outDir ./lib",
"build:ts": "run-p build:lib build:es",
"build:less": "node ./scripts/less.js",
"build": "run-s build:ts build:less",
"prepare": "yarn build",
"prebuild": "run-s lint clean",
"precommit": "lint-staged"
},
"keywords": [
"x6",
"x6-editor",
"editor",
"ui",
"component",
"components",
"react-components"
],
"lint-staged": {
"src/**/*.ts": [
"tslint -c tslint.json -p ./tsconfig.json --fix",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
],
"src/**/*.less": [
"stylelint --syntax less --fix",
"git add"
]
},
"dependencies": {
"clamp": "^1.0.1",
"classnames": "^2.2.6",
"rc-dropdown": "^3.0.0-alpha.0",
"rc-util": "^4.15.7",
"react-color": "^2.17.3",
"react-resize-detector": "^4.2.1",
"ua-parser-js": "^0.7.20"
},
"devDependencies": {
"@types/antd": "^1.0.0",
"@types/classnames": "^2.2.9",
"@types/react": "^16.9.13",
"@types/react-color": "^3.0.1",
"@types/react-resize-detector": "^4.2.0",
"@types/ua-parser-js": "^0.7.33",
"antd": "^3.25.3",
"cross-env": "^6.0.0",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.18.2",
"fs-extra": "^8.1.0",
"lint-staged": "^9.5.0",
"npm-run-all": "^4.1.5",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rimraf": "^3.0.0",
"stylelint": "^12.0.0",
"stylelint-config-prettier": "^6.0.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^19.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
"stylelint-order": "^3.0.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^4.1.0",
"typescript": "^3.7.2",
"watch": "^1.0.2"
},
"peerDependencies": {
"antd": ">=3.19.5",
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
},
"author": {
"name": "bubkoo",
"email": "bubkoo.wy@gmail.com"
},
"contributors": [],
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/x6.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"gitHead": "561bffe55b451f63a87ec045fdd5abb31fb5c23b"
}