{ "name": "@antv/g2", "version": "3.5.17", "description": "the Grammar of Graphics in Javascript", "browser": "build/g2.js", "main": "build/g2.js", "module": "lib/index.js", "types": "lib/index.d.ts", "homepage": "https://g2.antv.vision", "repository": { "type": "git", "url": "https://github.com/antvis/g2" }, "bugs": { "url": "https://github.com/antvis/g2/issues" }, "keywords": [ "g2", "chart" ], "author": "https://github.com/orgs/antvis/people", "license": "MIT", "devDependencies": { "@antv/data-set": "~0.9.6", "@antv/gatsby-theme-antv": "^0.10.32", "@babel/cli": "~7.0.0", "@babel/core": "~7.0.0", "@babel/preset-env": "~7.0.0", "babel-eslint": "~8.0.3", "babel-loader": "~8.0.0", "babel-plugin-transform-remove-strict-mode": "~0.0.2", "babel-preset-gatsby": "^0.2.20", "blink-diff": "^1.0.13", "body-parser": "~1.18.2", "chai": "~4.1.2", "commander": "~2.12.2", "connect": "~3.6.6", "d3-queue": "~3.0.7", "debug": "~3.1.0", "electron": "~1.8.7", "eslint": "~3.19.0", "eslint-config-airbnb": "~15.0.1", "eslint-config-egg": "~4.2.0", "eslint-plugin-html": "~3.1.1", "eslint-plugin-jsx-a11y": "~5.1.1", "eslint-plugin-react": "~7.1.0", "event-simulate": "~1.0.0", "gatsby": "^2.17.7", "get-port": "~3.2.0", "gh-pages": "^2.1.1", "git-contributor": "1", "jszip": "~3.1.5", "nightmare": "~2.10.0", "nunjucks": "~3.0.1", "open": "~7.0.0", "parseurl": "~1.3.2", "pre-commit": "~1.2.2", "react-i18next": "^11.0.1", "serve-static": "~1.13.2", "shelljs": "~0.7.8", "torchjs": "~2.1.0", "tslint": "~5.10.0", "typescript": "~2.9.2", "uglify-js": "~3.1.10", "webpack": "~3.10.0" }, "scripts": { "start": "npm run site:develop", "site:develop": "GATSBY=true gatsby develop --open -H 0.0.0.0", "site:build": "npm run site:clean &&GATSBY=true gatsby build --prefix-paths", "site:clean": "gatsby clean", "site:deploy": "npm run site:build && gh-pages -d public", "build": "webpack", "build-lib": "babel src --out-dir lib && cp src/index.d.ts lib/", "bundler": "electron ./bundler/app.js", "ci": "npm run lint && npm run test", "compress-g2": "uglifyjs -c -m -o dist/g2.min.js -- build/g2.js", "compress-core": "uglifyjs -c -m -o dist/g2-core.min.js -- build/g2-core.js", "compress-simple": "uglifyjs -c -m -o dist/g2-simple.min.js -- build/g2-simple.js", "compress": "npm run compress-g2 && npm run compress-core && npm run compress-simple", "coverage": "npm run coverage-generator && npm run coverage-viewer", "coverage-generator": "torch --compile --coverage --renderer --recursive --source-pattern src/*.js,src/**/*.js test/unit", "coverage-viewer": "torch-coverage", "demos": "electron ./demos/app.js", "demos-web": "node ./demos/app.js --web --port 2046", "dev": "npm run watch & npm run demos-web", "dist": "npm run mkdir-dist && npm run build && npm run compress", "lint": "eslint --ext .html,.js ./", "lint-fix": "eslint --ext .html,.js --fix ./", "mkdir-dist": "node ./bin/mkdir-dist.js", "prepublishOnly": "npm run build-lib && npm run dist", "pixel-test": "node ./bin/pixel-test.js", "screenshot": "node ./bin/screenshot.js", "test": "torch --compile --renderer --recursive ./test/unit", "test-all": "npm run test && npm run test-bugs", "test-bugs": "torch --compile --renderer --recursive ./test/bugs", "test-bugs-live": "torch --compile --interactive --watch --recursive ./test/bugs", "test-live": "torch --compile --interactive --watch --recursive ./test/unit", "tslint": "tslint --project tsconfig.json --config tslint.json src/index.d.ts", "watch": "webpack --config webpack-dev.config.js", "win-dev": "node ./bin/win-dev.js", "contributor": "git-contributor" }, "pre-commit": { "run": [ "lint", "test-all" ], "silent": false }, "dependencies": { "@antv/adjust": "~0.1.0", "@antv/attr": "~0.1.2", "@antv/component": "~0.3.3", "@antv/coord": "~0.1.0", "@antv/g": "~3.4.10", "@antv/scale": "~0.1.1", "@antv/util": "~1.3.1", "venn.js": "~0.2.20", "wolfy87-eventemitter": "~5.1.0" } }