67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"name": "viser",
|
|
"version": "2.4.9",
|
|
"description": "viser is a toolkit fit for data vis engineer.",
|
|
"repository": "viserjs/viser",
|
|
"license": "MIT",
|
|
"authors": "DT-FE",
|
|
"files": [
|
|
"lib",
|
|
"es",
|
|
"umd"
|
|
],
|
|
"main": "lib/index.js",
|
|
"module": "es/index.js",
|
|
"types": "es/index.d.ts",
|
|
"scripts": {
|
|
"prepublish": "npm run build",
|
|
"build": "npm run build:ts && npm run build:cjs && npm run build:umd",
|
|
"build:ts": "rimraf es && tsc",
|
|
"build:cjs": "rimraf lib && cross-env NODE_ENV=commonjs BABEL_ENV=cjs babel ./es -d lib",
|
|
"build:umd": "rimraf umd && cross-env BABEL_ENV=umd webpack --config webpack.config.js",
|
|
"clean": "git clean -fdX .",
|
|
"lint": "tslint src/**/*",
|
|
"analyse": "cross-env NODE_ENV=analyse webpack --progress --config webpack.config.js"
|
|
},
|
|
"dependencies": {
|
|
"@antv/g2": "~3.5.3",
|
|
"@antv/g2-brush": "^0.0.2",
|
|
"@antv/g2-plugin-slider": "^2.1.0",
|
|
"@types/d3-format": "*",
|
|
"@types/lodash": "*",
|
|
"@types/node": "^8.0.53",
|
|
"d3-format": "^1.3.0",
|
|
"lodash": "^4.17.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.1.0",
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
"@babel/plugin-proposal-export-default-from": "^7.0.0",
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
"@babel/plugin-external-helpers": "^7.0.0",
|
|
"@babel/polyfill": "^7.0.0",
|
|
"@babel/preset-env": "^7.0.0",
|
|
"@babel/runtime": "^7.0.0",
|
|
"babel-loader": "^8.0.0",
|
|
"babel-plugin-lodash": "^3.3.0",
|
|
"colors": "^1.1.2",
|
|
"cross-env": "^5.2.0",
|
|
"gzip-size": "^4.0.0",
|
|
"ora": "^1.3.0",
|
|
"pretty-bytes": "^4.0.2",
|
|
"rimraf": "^2.6.2",
|
|
"tslint": "^5.5.0",
|
|
"typescript": "~3.2.0",
|
|
"webpack": "^4.20.0",
|
|
"webpack-bundle-analyzer": "^3.6.0",
|
|
"webpack-cli": "^3.1.0"
|
|
},
|
|
"keywords": [
|
|
"g2",
|
|
"chart",
|
|
"datavis"
|
|
]
|
|
}
|