mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "@antv/g6-react-node",
|
|
"description": "Using React Component to Define Your G6 Graph Node",
|
|
"version": "1.3.0",
|
|
"scripts": {
|
|
"start": "dumi dev",
|
|
"build": "father-build",
|
|
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
"release": "npm run build && npm publish",
|
|
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
"docs:build": "dumi build",
|
|
"docs:deploy": "gh-pages -d docs-dist",
|
|
"test": "umi-test",
|
|
"test:coverage": "umi-test --coverage"
|
|
},
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.esm.js",
|
|
"typings": "dist/index.d.ts",
|
|
"gitHooks": {
|
|
"pre-commit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,less,md,json}": [
|
|
"prettier --write"
|
|
],
|
|
"*.ts?(x)": [
|
|
"prettier --parser=typescript --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@antv/g6-core": "^0.0.7",
|
|
"@antv/g-base": "^0.5.1",
|
|
"@types/yoga-layout": "^1.9.3",
|
|
"react": "^16.12.0",
|
|
"yoga-layout-prebuilt": "^1.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@umijs/test": "^3.0.5",
|
|
"dumi": "^1.1.1",
|
|
"father-build": "^1.17.2",
|
|
"gh-pages": "^3.0.0",
|
|
"lint-staged": "^10.0.7",
|
|
"prettier": "^1.19.1",
|
|
"yorkie": "^2.0.0"
|
|
}
|
|
} |