2023-02-02 10:31:36 +08:00
|
|
|
{
|
|
|
|
"name": "g6",
|
|
|
|
"private": true,
|
2023-12-28 11:05:09 +08:00
|
|
|
"repository": "https://github.com/antvis/G6.git",
|
2023-02-02 10:31:36 +08:00
|
|
|
"scripts": {
|
2024-03-05 15:17:50 +08:00
|
|
|
"site": "pnpm -r --stream --filter=./packages/site run dev",
|
|
|
|
"watch": "pnpm -r --stream --filter=!./site run start",
|
2023-03-23 20:43:53 +08:00
|
|
|
"postinstall": "husky install",
|
2023-11-29 11:10:19 +08:00
|
|
|
"prepare": "husky install",
|
2024-03-05 19:13:37 +08:00
|
|
|
"build": "turbo build --filter=!@antv/g6-site",
|
|
|
|
"ci": "turbo run ci --filter=!@antv/g6-site"
|
2023-02-02 10:31:36 +08:00
|
|
|
},
|
2023-12-28 11:05:09 +08:00
|
|
|
"commitlint": {
|
|
|
|
"extends": [
|
|
|
|
"@commitlint/config-conventional"
|
|
|
|
]
|
2023-08-01 11:31:48 +08:00
|
|
|
},
|
2023-12-12 10:53:57 +08:00
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx}": [
|
|
|
|
"eslint --fix",
|
2023-12-28 11:05:09 +08:00
|
|
|
"prettier --write"
|
2023-12-12 10:53:57 +08:00
|
|
|
]
|
|
|
|
},
|
2023-12-28 11:05:09 +08:00
|
|
|
"devDependencies": {
|
2024-03-05 19:13:37 +08:00
|
|
|
"@commitlint/cli": "^18.6.1",
|
|
|
|
"@commitlint/config-conventional": "^18.6.2",
|
2023-12-28 11:05:09 +08:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
|
|
"@rollup/plugin-terser": "^0.4.4",
|
2024-03-05 19:13:37 +08:00
|
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
|
|
"@types/jest": "^29.5.12",
|
2023-12-28 11:05:09 +08:00
|
|
|
"@types/jsdom": "^21.1.6",
|
2024-03-05 19:13:37 +08:00
|
|
|
"@types/node": "^20.11.24",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
|
|
"eslint": "^8.57.0",
|
|
|
|
"eslint-plugin-jsdoc": "^46.10.1",
|
2023-12-28 11:05:09 +08:00
|
|
|
"husky": "^8.0.3",
|
|
|
|
"jest": "^29.7.0",
|
|
|
|
"jest-environment-jsdom": "^29.7.0",
|
2024-03-05 19:13:37 +08:00
|
|
|
"jsdom": "^23.2.0",
|
2023-12-28 11:05:09 +08:00
|
|
|
"limit-size": "^0.1.4",
|
2024-03-05 19:13:37 +08:00
|
|
|
"lint-staged": "^15.2.2",
|
2023-12-28 11:05:09 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2024-03-05 19:13:37 +08:00
|
|
|
"prettier": "^3.2.5",
|
2023-12-28 11:05:09 +08:00
|
|
|
"prettier-plugin-organize-imports": "^3.2.4",
|
2024-03-05 19:13:37 +08:00
|
|
|
"prettier-plugin-packagejson": "^2.4.12",
|
2023-12-28 11:05:09 +08:00
|
|
|
"rimraf": "^5.0.5",
|
2024-03-05 19:13:37 +08:00
|
|
|
"rollup": "^4.12.0",
|
2023-12-28 11:05:09 +08:00
|
|
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
2024-03-05 19:13:37 +08:00
|
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
|
|
"ts-jest": "^29.1.2",
|
|
|
|
"turbo": "^1.12.4",
|
2023-12-28 11:05:09 +08:00
|
|
|
"typescript": "^5.3.3"
|
|
|
|
}
|
2023-08-25 10:25:57 +08:00
|
|
|
}
|