You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.4 KiB
58 lines
1.4 KiB
5 years ago
|
{
|
||
|
"private": true,
|
||
|
"name": "@antv/x6-example-features",
|
||
|
"version": "0.2.3",
|
||
|
"scripts": {
|
||
|
"start": "umi dev",
|
||
|
"build": "umi build",
|
||
|
"lint": "yarn lint:ts",
|
||
|
"lint:ts": "tslint -c tslint.json -p tsconfig.json --fix",
|
||
|
"precommit": "lint-staged"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@antv/x6": "^0.3.0",
|
||
|
"@antv/x6-components": "^0.2.0",
|
||
|
"@antv/x6-react-shape": "^0.2.0",
|
||
|
"antd": "^3.19.5",
|
||
|
"classnames": "^2.2.6",
|
||
|
"react": "^16.12.0",
|
||
|
"react-dom": "^16.8.6"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/classnames": "^2.2.10",
|
||
|
"@types/jest": "^23.3.12",
|
||
|
"@types/react": "^16.7.18",
|
||
|
"@types/react-dom": "^16.0.11",
|
||
|
"@types/react-test-renderer": "^16.0.3",
|
||
|
"babel-eslint": "^9.0.0",
|
||
|
"babel-plugin-import": "^1.13.0",
|
||
|
"eslint": "^5.4.0",
|
||
|
"eslint-config-umi": "^1.4.0",
|
||
|
"eslint-plugin-flowtype": "^2.50.0",
|
||
|
"eslint-plugin-import": "^2.14.0",
|
||
|
"eslint-plugin-jsx-a11y": "^5.1.1",
|
||
|
"eslint-plugin-react": "^7.11.1",
|
||
|
"lint-staged": "^7.2.2",
|
||
|
"react-test-renderer": "^16.7.0",
|
||
|
"tslint": "^5.12.0",
|
||
|
"tslint-eslint-rules": "^5.4.0",
|
||
|
"tslint-react": "^3.6.0",
|
||
|
"umi": "^2.9.0",
|
||
|
"umi-plugin-react": "^1.8.0",
|
||
|
"umi-types": "^0.3.0"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"./src/**/*.{ts,tsx}": [
|
||
|
"tslint -c tslint.json -p ./tsconfig.json --fix",
|
||
|
"git add"
|
||
|
],
|
||
|
"*.{js,jsx}": [
|
||
|
"eslint --fix",
|
||
|
"git add"
|
||
|
]
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=8.0.0"
|
||
|
}
|
||
|
}
|