1 Star 0 Fork 61

p0mp0k0/G2

forked from antv/G2 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.40 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "@antv/g2",
"version": "5.0.6",
"description": "the Grammar of Graphics in Javascript",
"license": "MIT",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"files": [
"src",
"lib",
"esm",
"dist"
],
"scripts": {
"dev": "vite",
"clean": "rimraf lib esm dist",
"lint-staged": "lint-staged",
"size": "limit-size",
"lint": "eslint ./src ./__tests__ && prettier ./src ./__tests__ --check ",
"fix": "eslint ./src ./__tests__ --fix && prettier ./src ./__tests__ --write ",
"test": "node --expose-gc --max-old-space-size=4096 --unhandled-rejections=strict node_modules/jest/bin/jest __tests__/ --coverage -i --logHeapUsage",
"test:unit": "node --expose-gc --max-old-space-size=4096 --unhandled-rejections=strict node_modules/jest/bin/jest __tests__/unit/ --coverage -i --logHeapUsage",
"test:integration": "node --expose-gc --max-old-space-size=4096 --unhandled-rejections=strict node_modules/jest/bin/jest __tests__/integration/ --coverage -i --logHeapUsage",
"test-live": "cross-env DEBUG_MODE=1 jest --watch",
"build:umd": "rimraf ./dist && rollup -c && npm run size",
"build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib",
"build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm",
"build": "run-p build:*",
"bundle-vis": "cross-env BUNDLE_VIS=1 run-p build:umd",
"ci": "run-s lint test build",
"prepublishOnly": "npm run ci",
"prepare": "husky install",
"upload": "node scripts/uploadSnapshot.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"keywords": [
"antv",
"g2",
"visualization",
"chart",
"grammar",
"graphics",
"interaction",
"animation"
],
"dependencies": {
"@antv/coord": "^0.4.1",
"@antv/event-emitter": "^0.1.3",
"@antv/g": "^5.7.4",
"@antv/g-canvas": "^1.7.4",
"@antv/g-plugin-dragndrop": "^1.6.1",
"@antv/gui": "^0.5.0-alpha.18",
"@antv/path-util": "^3.0.1",
"@antv/scale": "^0.4.7",
"@antv/util": "^3.3.2",
"d3-array": "^3.2.2",
"d3-dsv": "^3.0.1",
"d3-force": "^3.0.0",
"d3-format": "^3.1.0",
"d3-geo": "^3.0.1",
"d3-hierarchy": "^3.1.2",
"d3-scale-chromatic": "^3.0.0",
"d3-shape": "^3.1.0",
"d3-voronoi": "^1.1.4"
},
"devDependencies": {
"@antv/g-plugin-rough-canvas-renderer": "^1.7.9",
"@antv/g-plugin-rough-svg-renderer": "^1.7.9",
"@antv/g-svg": "^1.8.6",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^17.4.4",
"@rollup/plugin-commonjs": "^21.0.2",
"@types/d3-array": "^3.0.2",
"@types/d3-shape": "^3.0.2",
"@types/jest": "^26.0.20",
"@types/pixelmatch": "^5.2.4",
"@types/pngjs": "^6.0.1",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"ali-oss": "^6.17.1",
"archiver": "^5.3.1",
"canvas": "2.11.0",
"conventional-changelog-cli": "^2.2.2",
"cross-env": "^7.0.3",
"d3-dsv": "^3.0.1",
"d3-fetch": "^3.0.1",
"d3-geo-projection": "^4.0.0",
"d3-hierarchy": "^3.1.2",
"d3-interpolate": "^3.0.1",
"d3-random": "^3.0.1",
"d3-regression": "^1.3.10",
"eslint": "^7.22.0",
"eslint-plugin-import": "^2.22.1",
"fecha": "^4.2.3",
"husky": "^7.0.0",
"jest": "^26.0.1",
"jsdom": "^19.0.0",
"limit-size": "^0.1.4",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"pixelmatch": "5.3.0",
"pngjs": "^6.0.0",
"prettier": "^2.2.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rollup": "^2.39.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-polyfill-node": "^0.8.0",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-uglify": "^6.0.4",
"rollup-plugin-visualizer": "^5.6.0",
"topojson": "^3.0.2",
"ts-jest": "^26.5.1",
"typescript": "^4.1.5",
"vite": "^3.1.0",
"xmlserializer": "^0.6.1"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"limit-size": [
{
"path": "dist/g2.min.js",
"limit": "750 Kb",
"gzip": true
},
{
"path": "dist/g2.min.js",
"limit": "2 Mb"
}
],
"author": {
"name": "AntV",
"url": "https://antv.vision/"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/g2"
},
"bugs": {
"url": "https://github.com/antvis/g2/issues"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/p0mp0k0/g2.git
git@gitee.com:p0mp0k0/g2.git
p0mp0k0
g2
G2
v5

搜索帮助