g6/package.json

129 lines
3.7 KiB
JSON
Raw Normal View History

2018-06-05 23:58:10 +08:00
{
"name": "@antv/g6",
2020-04-03 19:32:46 +08:00
"version": "3.4.5",
2019-12-02 19:58:02 +08:00
"description": "A Graph Visualization Framework in JavaScript",
2020-01-02 21:04:40 +08:00
"keywords": [
"antv",
"g6",
"graph",
"graph analysis",
"graph editor",
"graph visualization",
"relational data"
],
"homepage": "https://g6.antv.vision",
2020-01-02 21:04:40 +08:00
"bugs": {
"url": "https://github.com/antvis/g6/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/g6"
},
"license": "MIT",
"author": "https://github.com/orgs/antvis/people",
2019-12-02 19:58:02 +08:00
"files": [
"package.json",
2020-01-19 20:14:54 +08:00
"es",
2019-12-02 19:58:02 +08:00
"lib",
"dist",
"LICENSE",
"README.md"
],
2020-01-19 20:14:54 +08:00
"main": "lib/index.js",
"module": "es/index.js",
2020-01-02 21:04:40 +08:00
"browser": "dist/g6.min.js",
2020-01-19 20:14:54 +08:00
"types": "lib/index.d.ts",
2019-12-02 19:58:02 +08:00
"scripts": {
"build": "npm run clean && father build && npm run build:umd",
2020-01-02 21:04:40 +08:00
"build:umd": "webpack --config webpack.config.js --mode production",
"ci": "npm run build && npm run coverage",
2020-01-03 17:31:09 +08:00
"clean": "rimraf es esm lib dist",
2019-12-02 19:58:02 +08:00
"coverage": "jest --coverage",
2020-01-02 21:04:40 +08:00
"demos": "start-storybook -p 8080 -c .storybook",
"doc": "rimraf apis && typedoc",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
2020-02-05 16:57:42 +08:00
"lint:src": "eslint --cache --ext .ts --format=pretty \"./src\"",
2020-01-02 21:04:40 +08:00
"prettier": "prettier -c --write \"**/*\"",
"site:build": "npm run site:clean && GATSBY=true gatsby build --prefix-paths",
"site:clean": "gatsby clean",
"site:develop": "GATSBY=true gatsby develop --open",
2020-02-11 16:23:11 +08:00
"site:deploy": "npm run site:build && gh-pages -d public",
2020-01-02 21:04:40 +08:00
"start": "npm run site:develop",
"test": "jest",
"test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/shape/edges/polyline-spec.ts",
2020-01-02 21:04:40 +08:00
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
2020-01-16 20:50:01 +08:00
"watch": "father build -w",
"cdn": "antv-bin upload -n @antv/g6"
2020-01-02 21:04:40 +08:00
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.{js,ts,tsx}": "npm run lint-staged:js"
2019-12-02 19:58:02 +08:00
},
"dependencies": {
"@antv/dom-util": "^2.0.1",
2019-12-02 19:58:02 +08:00
"@antv/event-emitter": "~0.1.0",
"@antv/g-base": "^0.4.0",
2020-03-18 19:04:06 +08:00
"@antv/g-canvas": "^0.4.2",
2020-02-11 16:23:11 +08:00
"@antv/g-math": "^0.1.1",
2020-03-16 18:03:36 +08:00
"@antv/g-svg": "^0.4.0",
2019-12-26 18:04:49 +08:00
"@antv/hierarchy": "^0.6.1",
2019-12-02 19:58:02 +08:00
"@antv/matrix-util": "^2.0.4",
"@antv/path-util": "^2.0.3",
2019-12-02 19:58:02 +08:00
"@antv/scale": "^0.2.0",
"@antv/util": "~2.0.5",
2019-12-17 02:05:44 +08:00
"d3-force": "^2.0.1",
"dagre": "^0.8.5",
"lodash": "^4.17.15",
2020-01-13 21:05:56 +08:00
"numericjs": "^1.2.6"
2019-12-02 19:58:02 +08:00
},
"devDependencies": {
2020-02-29 20:52:09 +08:00
"@antv/gatsby-theme-antv": "^0.10.45",
"@babel/core": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@storybook/addon-actions": "^5.2.8",
"@storybook/addon-info": "^5.2.8",
"@storybook/addon-knobs": "^5.2.8",
"@storybook/react": "^5.2.8",
2019-12-02 19:58:02 +08:00
"@types/jest": "^24.0.18",
"@types/node": "^12.12.22",
2020-01-02 21:04:40 +08:00
"@umijs/fabric": "^2.0.0",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.6",
"event-simulate": "~1.0.0",
2020-01-02 21:04:40 +08:00
"father": "^2.29.1",
2020-02-11 16:23:11 +08:00
"gatsby": "2.19.5",
2019-12-02 19:58:02 +08:00
"gh-pages": "^2.1.1",
"husky": "^3.0.4",
"insert-css": "^2.0.0",
"jest": "^24.9.0",
"jest-electron": "^0.1.7",
"jest-extended": "^0.11.2",
"lint-staged": "^9.2.3",
2019-12-31 12:03:11 +08:00
"pre-commit": "^1.2.2",
2019-12-02 19:58:02 +08:00
"prettier": "^1.18.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
2019-12-02 19:58:02 +08:00
"react-i18next": "^11.1.0",
"rimraf": "^3.0.0",
"rollup-plugin-web-worker-loader": "^0.8.1",
2019-12-02 19:58:02 +08:00
"ts-jest": "^24.1.0",
"ts-loader": "^6.2.1",
"ttypescript": "^1.5.8",
2019-12-02 19:58:02 +08:00
"typedoc": "^0.15.0",
"typedoc-plugin-markdown": "^2.2.11",
"typescript": "^3.5.3",
"webpack": "^4.41.4",
2020-01-06 10:46:03 +08:00
"webpack-cli": "^3.3.10",
"worker-loader": "^2.0.0"
2020-01-02 21:04:40 +08:00
}
}