mirror of
https://gitee.com/antv/g6.git
synced 2024-12-02 11:48:29 +08:00
4058ba5344
* refactor: remove IGraph usage (#5336) * refactor: remove IGraph definition and usage * chore: mark the type problems * chore: update ci script * chore: update ci * refactor: remove history plugin (#5338) * refactor: upgrade to register plugins globally (#5337) * refactor: upgrade to register plugins globally * fix: ci * feat: register once default plugins during initialization * refactor: upgrade to register plugins globally --------- Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com> * feat: add new spec definition (#5342) * feat: add new spec definition * refactor: remove background, cursor option * refactor: adjust palette option * refactor: adjust spec definition * refactor: use non-strict type checking * refactor: adjust type naming * refactor: add container option --------- Co-authored-by: Yuxin <55794321+yvonneyx@users.noreply.github.com> Co-authored-by: yvonneyx <banxuan.zyx@antgroup.com>
59 lines
1.7 KiB
JSON
59 lines
1.7 KiB
JSON
{
|
|
"name": "g6",
|
|
"private": true,
|
|
"repository": "https://github.com/antvis/G6.git",
|
|
"scripts": {
|
|
"postinstall": "husky install",
|
|
"prepare": "husky install",
|
|
"build": "run-s build:*",
|
|
"build:g6": "cd ./packages/g6 && npm run build",
|
|
"build:map-view": "cd ./packages/g6-plugin-map-view && npm run build",
|
|
"build:react-node": "cd ./packages/react-node && npm run build",
|
|
"build:site": "cd ./packages/site && npm run build",
|
|
"ci:g6": "cd ./packages/g6 && npm run ci",
|
|
"ci": "run-s ci:*"
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^18.4.3",
|
|
"@commitlint/config-conventional": "^18.4.3",
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/jsdom": "^21.1.6",
|
|
"@types/node": "^20.10.5",
|
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
"@typescript-eslint/parser": "^6.15.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-plugin-jsdoc": "^46.9.1",
|
|
"husky": "^8.0.3",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jsdom": "^23.0.1",
|
|
"limit-size": "^0.1.4",
|
|
"lint-staged": "^15.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.1.1",
|
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
"prettier-plugin-packagejson": "^2.4.7",
|
|
"rimraf": "^5.0.5",
|
|
"rollup": "^4.9.1",
|
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
"rollup-plugin-visualizer": "^5.11.0",
|
|
"ts-jest": "^29.1.1",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|