81 lines
2.4 KiB
JSON
81 lines
2.4 KiB
JSON
{
|
|
"name": "@antv/g",
|
|
"version": "3.4.10",
|
|
"description": "A canvas library which providing 2d draw for G2.",
|
|
"keywords": [
|
|
"canvas",
|
|
"G2",
|
|
"2d draw"
|
|
],
|
|
"browser": "build/g.js",
|
|
"main": "lib/index.js",
|
|
"module": "src/index.js",
|
|
"homepage": "https://github.com/antvis/g",
|
|
"author": "https://github.com/orgs/antvis/people",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:antvis/g.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/antvis/g/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.0.0",
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/preset-env": "^7.0.0",
|
|
"babel-eslint": "~7.2.3",
|
|
"babel-loader": "^8.0.0",
|
|
"babel-plugin-transform-remove-strict-mode": "~0.0.2",
|
|
"chai": "~4.0.1",
|
|
"electron": "~2.0.2",
|
|
"eslint": "~3.19.0",
|
|
"eslint-config-airbnb": "~15.0.1",
|
|
"eslint-config-egg": "~4.2.0",
|
|
"event-simulate": "~1.0.0",
|
|
"istanbul": "~0.4.5",
|
|
"jquery": "~3.3.1",
|
|
"lebab": "^2.7.7",
|
|
"pre-commit": "~1.2.2",
|
|
"shelljs": "~0.7.8",
|
|
"spm-sinon": "~1.6.0",
|
|
"torchjs": "~2.0.4",
|
|
"uglify-js": "~3.0.15",
|
|
"webpack": "~3.4.1"
|
|
},
|
|
"scripts": {
|
|
"build": "webpack",
|
|
"build-lib": "babel src --out-dir lib",
|
|
"ci": "npm run lint && npm run test",
|
|
"compress": "uglifyjs --compress --mangle --output dist/g.min.js -- build/g.js",
|
|
"coverage": "npm run coverage-generator && npm run coverage-viewer",
|
|
"coverage-viewer": "torch-coverage",
|
|
"coverage-generator": "torch --coverage --compile --renderer --recursive test/unit",
|
|
"dev": "webpack --config webpack-dev.config.js",
|
|
"dist": "rm -rf dist && mkdir dist && npm run build && npm run compress",
|
|
"prepublishOnly": "npm run build-lib && npm run dist",
|
|
"lint": "eslint ./",
|
|
"lint-fix": "eslint --fix ./",
|
|
"test": "torch --compile --renderer --recursive ./test/unit",
|
|
"test-bugs": "torch --compile --renderer --recursive ./test/bugs",
|
|
"test-live": "torch --compile --renderer --interactive --recursive ./test/unit/",
|
|
"test-bugs-live": "torch --compile --renderer --interactive --recursive ./test/bugs"
|
|
},
|
|
"pre-commit": {
|
|
"run": [
|
|
"lint",
|
|
"test",
|
|
"test-bugs"
|
|
],
|
|
"silent": false
|
|
},
|
|
"dependencies": {
|
|
"@antv/gl-matrix": "~2.7.1",
|
|
"@antv/util": "~1.3.1",
|
|
"d3-ease": "~1.0.3",
|
|
"d3-interpolate": "~1.1.5",
|
|
"d3-timer": "~1.0.6",
|
|
"detect-browser": "^5.1.0"
|
|
}
|
|
}
|