1 Star 0 Fork 60

zengzhiqun/G2

forked from antv/G2 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.32 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "@antv/g2",
"version": "4.1.10",
"description": "the Grammar of Graphics in Javascript",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"unpkg": "dist/g2.min.js",
"files": [
"src",
"lib",
"esm",
"dist"
],
"scripts": {
"start": "npm run site:develop",
"site:develop": "gatsby develop --open -H 0.0.0.0",
"site:build": "npm run site:clean && gatsby build --prefix-paths",
"site:clean": "gatsby clean",
"site:deploy": "npm run build && npm run site:build && npm run site:copy-mirror-action && gh-pages -d public",
"site:copy-mirror-action": "mkdir -p public/.github/workflows && cp .github/workflows/mirror.yml public/.github/workflows",
"clean": "rimraf lib esm dist",
"fix": "tslint -c tslint.json ./src/**/*.ts ./tests/**/*.ts --fix && prettier --write ./src ./tests && lint-md ./docs --fix",
"lint": "run-p lint:*",
"lint:tslint": "tslint -c tslint.json 'src/**/*.ts'",
"lint:md": "lint-md ./docs",
"test": "jest",
"test-live": "DEBUG_MODE=1 jest --watch tests/unit",
"coverage": "jest --coverage",
"lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
"lib:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
"lib": "run-p lib:*",
"build": "run-s clean lib",
"dist": "webpack --config webpack.config.js --mode production",
"ci": "run-s build coverage",
"prepublishOnly": "npm-run-all --parallel lint test build dist",
"changelog": "generate-changelog",
"analyz": "webpack --profile --json > stats.json && webpack-bundle-analyzer ./stats.json"
},
"dependencies": {
"@antv/adjust": "^0.2.1",
"@antv/attr": "^0.3.1",
"@antv/color-util": "^2.0.2",
"@antv/component": "^0.8.7",
"@antv/coord": "^0.3.0",
"@antv/dom-util": "^2.0.2",
"@antv/event-emitter": "~0.1.0",
"@antv/g-base": "^0.5.0",
"@antv/g-canvas": "^0.5.0",
"@antv/g-svg": "^0.5.0",
"@antv/matrix-util": "^3.1.0-beta.1",
"@antv/path-util": "^2.0.3",
"@antv/scale": "^0.3.7",
"@antv/util": "~2.0.5",
"tslib": "^2.0.0"
},
"devDependencies": {
"@antv/data-set": "^0.11.2",
"@antv/gatsby-theme-antv": "^1.0.4",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-angular": "^8.2.0",
"@types/jest": "^25.2.1",
"conventional-changelog-cli": "^2.0.28",
"gatsby": "^2.20.23",
"generate-changelog": "^1.8.0",
"gh-pages": "^2.1.1",
"husky": "^4.2.5",
"jest": "^26.0.1",
"jest-electron": "^0.1.7",
"jest-extended": "^0.11.2",
"lint-md-cli": "^0.1.2",
"lint-staged": "^10.2.2",
"lodash": "^4.17.15",
"mock-variable": "^0.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"react-i18next": "^11.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.0.0",
"ts-loader": "^7.0.2",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"typedoc": "^0.17.6",
"typedoc-plugin-markdown": "^2.2.11",
"typescript": "^3.5.3",
"webpack": "^4.41.5",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && run-s lint test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write",
"git add"
],
"*.{ts}": [
"tslint -c tslint.json --fix",
"prettier --write",
"git add"
],
"*.md": [
"lint-md ./docs --fix"
]
},
"jest": {
"runner": "jest-electron/runner",
"testEnvironment": "jest-electron/environment",
"preset": "ts-jest",
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.{ts,js}",
"!**/node_modules/**",
"!**/vendor/**"
],
"testRegex": "/tests/.*-spec\\.ts?$",
"moduleFileExtensions": [
"ts",
"js",
"json"
]
},
"homepage": "https://g2.antv.vision",
"repository": {
"type": "git",
"url": "https://github.com/antvis/g2"
},
"bugs": {
"url": "https://github.com/antvis/g2/issues"
},
"keywords": [
"antv",
"g2",
"visualization",
"chart",
"grammar",
"graphics",
"interaction"
],
"author": "https://github.com/orgs/antvis/people",
"license": "MIT",
"resolutions": {
"monaco-editor": "0.21.3",
"@babel/plugin-transform-spread": "7.12.1"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/zengzhiqun/g2.git
git@gitee.com:zengzhiqun/g2.git
zengzhiqun
g2
G2
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385