| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- {
- "name": "@antv/g2plot",
- "version": "2.4.31",
- "description": "An interactive and responsive charting library",
- "keywords": [
- "chart",
- "plot",
- "antv"
- ],
- "author": "https://github.com/orgs/antvis/people",
- "main": "lib/index.js",
- "module": "esm/index.js",
- "types": "lib/index.d.ts",
- "unpkg": "dist/g2plot.min.js",
- "files": [
- "lib",
- "esm",
- "dist",
- "src"
- ],
- "homepage": "https://g2plot.antv.vision",
- "repository": {
- "type": "git",
- "url": "https://github.com/antvis/G2plot"
- },
- "scripts": {
- "fix": "eslint --ext .ts ./src ./__tests__ --fix && prettier --write ./src ./__tests__ && lint-md --fix ./examples ./docs",
- "build": "run-s clean lib dist size",
- "size": "limit-size",
- "clean": "rimraf lib esm dist",
- "lib": "run-p lib:*",
- "lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
- "lib:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
- "dist": "webpack --config webpack.config.js --mode production",
- "lint": "eslint --ext .ts ./src ./__tests__ && prettier --check ./src ./__tests__ && lint-md ./examples ./docs",
- "lint-staged": "lint-staged",
- "test": "jest -c jest.config.js",
- "test-live": "cross-env DEBUG_MODE=1 jest --watch",
- "coverage": "jest -c jest.config.js -w 16 --coverage",
- "ci": "run-s lint coverage build",
- "changelog": "generate-changelog",
- "prepublishOnly": "run-s lint test build",
- "analyze": "webpack --profile --json > dist/stats.json && webpack-bundle-analyzer ./dist/stats.json"
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged",
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
- }
- },
- "dependencies": {
- "@antv/color-util": "^2.0.6",
- "@antv/event-emitter": "^0.1.2",
- "@antv/g-base": "^0.5.11",
- "@antv/g2": "^4.1.26",
- "@antv/matrix-util": "^3.1.0-beta.2",
- "@antv/path-util": "^3.0.1",
- "@antv/scale": "^0.3.18",
- "@antv/util": "^2.0.17",
- "d3-hierarchy": "^2.0.0",
- "d3-regression": "^1.3.5",
- "fmin": "^0.0.2",
- "pdfast": "^0.2.0",
- "size-sensor": "^1.0.1",
- "tslib": "^2.0.3"
- },
- "devDependencies": {
- "@antv/data-set": "^0.11.5",
- "@babel/core": "^7.10.4",
- "@babel/plugin-transform-runtime": "^7.11.5",
- "@babel/preset-env": "^7.10.4",
- "@babel/runtime": "^7.11.2",
- "@commitlint/cli": "^8.2.0",
- "@commitlint/config-angular": "^8.2.0",
- "@types/jest": "^25.2.1",
- "@typescript-eslint/eslint-plugin": "^5.54.1",
- "@typescript-eslint/parser": "^5.54.1",
- "antd": "^4.8.4",
- "babel-loader": "^8.1.0",
- "conventional-changelog-cli": "^2.0.34",
- "cross-env": "^7.0.2",
- "eslint": "^8.35.0",
- "eslint-config-prettier": "^8.7.0",
- "eslint-plugin-import": "^2.22.0",
- "eslint-plugin-prettier": "^4.2.0",
- "generate-changelog": "^1.8.0",
- "husky": "^4.2.3",
- "jest": "^26.0.1",
- "jest-electron": "^0.1.7",
- "jest-extended": "^0.11.2",
- "jest-matcher-deep-close-to": "^2.0.1",
- "limit-size": "^0.1.3",
- "lint-md-cli": "^0.1.2",
- "lint-staged": "^10.0.7",
- "miz": "^1.0.1",
- "npm-run-all": "^4.1.5",
- "prettier": "^2.0.1",
- "react": "^16.11.0",
- "react-dom": "^16.11.0",
- "react-i18next": "^11.7.0",
- "rimraf": "^3.0.0",
- "ts-jest": "^25.4.0",
- "ts-loader": "^7.0.0",
- "typescript": "^4",
- "webpack": "^4.44.2",
- "webpack-bundle-analyzer": "^3.9.0",
- "webpack-cli": "^3.3.7",
- "webpack-dev-server": "^3.9.0"
- },
- "lint-staged": {
- "*.ts": [
- "eslint --fix",
- "prettier --write"
- ],
- "*.md": [
- "lint-md --fix"
- ]
- },
- "limit-size": [
- {
- "path": "dist/g2plot.min.js",
- "limit": "1.1 Mb"
- },
- {
- "path": "dist/g2plot.min.js",
- "limit": "300 Kb",
- "gzip": true
- }
- ],
- "resolutions": {
- "d3-array": "2.12.1",
- "@types/lodash": "4.14.182",
- "@types/babel__traverse": "7.0.6"
- },
- "license": "MIT"
- }
|