70 lines
2.1 KiB
JSON
70 lines
2.1 KiB
JSON
{
|
|
"name": "@antv/g2-plugin-slider",
|
|
"version": "2.1.1",
|
|
"description": "A datazoom slider plugin for G2.",
|
|
"keywords": [
|
|
"g2",
|
|
"slider",
|
|
"plugin",
|
|
"datazoom"
|
|
],
|
|
"main": "build/g2-plugin-slider.js",
|
|
"browser": "build/g2-plugin-slider.js",
|
|
"module": "index.js",
|
|
"homepage": "https://github.com/antvis/g2-plugin-slider",
|
|
"author": "sima.zhang1990@gmail.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:antvis/g2-plugin-slider.git"
|
|
},
|
|
"bugs": {
|
|
"url": "http://gitlab.alibaba-inc.com/datavis/g2-plugin-slider/issues"
|
|
},
|
|
"peerDependencies": {
|
|
"@antv/g2": ">=3.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@antv/data-set": "~0.9.6",
|
|
"@antv/g2": "~3.2.8",
|
|
"@babel/core": "~7.0.0",
|
|
"@babel/preset-env": "~7.0.0",
|
|
"torchjs": "~2.1.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": "~1.8.2-beta5",
|
|
"eslint": "~3.19.0",
|
|
"eslint-config-airbnb": "~15.0.1",
|
|
"eslint-config-egg": "~4.2.0",
|
|
"event-simulate": "~1.0.0",
|
|
"jquery": "~3.3.1",
|
|
"pre-commit": "~1.2.2",
|
|
"shelljs": "~0.7.8",
|
|
"uglify-js": "~3.0.15",
|
|
"webpack": "~3.4.1"
|
|
},
|
|
"scripts": {
|
|
"build": "webpack",
|
|
"ci": "npm run lint && npm run test",
|
|
"compress": "uglifyjs --compress --mangle --output dist/g2-plugin-slider.min.js -- build/g2-plugin-slider.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 dist",
|
|
"lint": "eslint ./",
|
|
"lint-fix": "eslint --fix ./",
|
|
"test": "torch --compile --renderer --recursive ./test/unit",
|
|
"test-live": "torch --compile --renderer --interactive --recursive ./test/unit"
|
|
},
|
|
"pre-commit": {
|
|
"run": [
|
|
"lint",
|
|
"test"
|
|
],
|
|
"silent": false
|
|
}
|
|
}
|