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",
|
2024-04-03 12:03:22 +08:00
|
|
|
"ci": "turbo run ci --filter=!@antv/g6-site",
|
2024-06-25 15:28:14 +08:00
|
|
|
"contribute": "node ./scripts/contribute.mjs",
|
|
|
|
"publish": "pnpm publish -r --publish-branch v5"
|
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-05-14 00:12:03 +08:00
|
|
|
"@babel/core": "^7.24.5",
|
|
|
|
"@babel/plugin-transform-typescript": "^7.24.5",
|
2024-06-25 15:28:14 +08:00
|
|
|
"@changesets/cli": "^2.27.6",
|
2024-03-05 19:13:37 +08:00
|
|
|
"@commitlint/cli": "^18.6.1",
|
2024-04-12 14:03:07 +08:00
|
|
|
"@commitlint/config-conventional": "^18.6.3",
|
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",
|
2024-05-15 13:00:22 +08:00
|
|
|
"@swc/core": "^1.5.7",
|
2024-04-02 19:13:53 +08:00
|
|
|
"@swc/jest": "^0.2.36",
|
2024-03-05 19:13:37 +08:00
|
|
|
"@types/jest": "^29.5.12",
|
2023-12-28 11:05:09 +08:00
|
|
|
"@types/jsdom": "^21.1.6",
|
2024-05-15 13:00:22 +08:00
|
|
|
"@types/node": "^20.12.12",
|
2024-03-05 19:13:37 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
|
|
"@typescript-eslint/parser": "^6.21.0",
|
2024-04-12 14:03:07 +08:00
|
|
|
"chalk": "^4.1.2",
|
2024-03-05 19:13:37 +08:00
|
|
|
"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",
|
2024-03-29 11:57:10 +08:00
|
|
|
"lil-gui": "^0.19.2",
|
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-25 11:15:10 +08:00
|
|
|
"open": "^10.1.0",
|
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-04-12 14:03:07 +08:00
|
|
|
"prettier-plugin-packagejson": "^2.5.0",
|
2024-05-14 00:12:03 +08:00
|
|
|
"rimraf": "^5.0.7",
|
|
|
|
"rollup": "^4.17.2",
|
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",
|
2024-03-29 11:57:10 +08:00
|
|
|
"stats.js": "^0.17.0",
|
2024-05-13 14:50:21 +08:00
|
|
|
"ts-node": "^10.9.2",
|
2024-06-18 21:05:41 +08:00
|
|
|
"tslib": "^2.6.3",
|
2024-05-14 00:12:03 +08:00
|
|
|
"turbo": "^1.13.3",
|
2024-04-12 14:03:07 +08:00
|
|
|
"typescript": "^5.4.5",
|
2024-05-14 00:12:03 +08:00
|
|
|
"vite": "^5.2.11",
|
2024-04-02 19:13:53 +08:00
|
|
|
"xml-formatter": "^3.6.2"
|
2023-12-28 11:05:09 +08:00
|
|
|
}
|
2023-08-25 10:25:57 +08:00
|
|
|
}
|