68 lines
2.0 KiB
JSON
68 lines
2.0 KiB
JSON
{
|
|
"name": "@antv/util",
|
|
"version": "1.3.1",
|
|
"description": "A common util collection for antv projects",
|
|
"main": "build/util.js",
|
|
"scripts": {
|
|
"build": "webpack",
|
|
"build-lib": "babel src --out-dir lib",
|
|
"ci": "npm run lint && npm run test",
|
|
"compress": "uglifyjs --compress --mangle --output dist/util-$npm_package_version.min.js -- build/util.js",
|
|
"coverage": "npm run coverage-generator && npm run coverage-viewer",
|
|
"coverage-viewer": "torch-coverage",
|
|
"coverage-generator": "torch --coverage --compile --renderer --source-pattern src/*.js,src/**/*.js --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-live": "torch --compile --renderer --interactive --recursive ./test/"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/antvis/util.git"
|
|
},
|
|
"keywords": [
|
|
"util",
|
|
"antv",
|
|
"g"
|
|
],
|
|
"author": "https://github.com/orgs/antvis/people",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/antvis/util/issues"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "~6.26.0",
|
|
"babel-eslint": "~7.2.3",
|
|
"babel-loader": "~7.1.1",
|
|
"babel-plugin-transform-remove-strict-mode": "~0.0.2",
|
|
"babel-preset-env": "~1.6.1",
|
|
"chai": "~4.0.1",
|
|
"electron": "~2.0.2",
|
|
"eslint": "~3.19.0",
|
|
"eslint-config-airbnb": "~15.0.1",
|
|
"eslint-config-egg": "~4.2.0",
|
|
"istanbul": "~0.4.5",
|
|
"pre-commit": "~1.2.2",
|
|
"shelljs": "~0.7.8",
|
|
"spm-sinon": "~1.6.0",
|
|
"string-replace-loader": "~1.3.0",
|
|
"torchjs": "~2.0.4",
|
|
"uglify-js": "~3.0.15",
|
|
"webpack": "~3.4.1"
|
|
},
|
|
"pre-commit": {
|
|
"run": [
|
|
"lint",
|
|
"test"
|
|
],
|
|
"silent": false
|
|
},
|
|
"homepage": "https://github.com/antvis/util#readme",
|
|
"dependencies": {
|
|
"@antv/gl-matrix": "^2.7.1"
|
|
}
|
|
}
|