g6/package.json

127 lines
3.6 KiB
JSON
Raw Normal View History

2018-06-05 23:58:10 +08:00
{
"name": "@antv/g6",
2019-12-02 19:58:02 +08:00
"version": "3.3.0",
"description": "A Graph Visualization Framework in JavaScript",
2019-12-30 14:41:36 +08:00
"main": "dist/g6.js",
"module": "dist/g6.esm.js",
"types": "dist/types/index.d.ts",
2019-12-02 19:58:02 +08:00
"browser": "dist/g6.min.js",
"files": [
"package.json",
"esm",
"lib",
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"start": "npm run site:develop",
"site:develop": "GATSBY=true gatsby develop --open",
"site:build": "npm run site:clean && GATSBY=true gatsby build --prefix-paths",
2019-12-02 19:58:02 +08:00
"site:clean": "gatsby clean",
2019-12-30 14:41:36 +08:00
"watch": "father-build --esm --file g6 --watch src/index.ts",
"build": "father-build --esm --cjs --file g6 src/index.ts && npm run build:declaration && npm run build:umd",
2019-12-02 19:58:02 +08:00
"build:umd": "webpack --config webpack.config.js --mode production",
"build:declaration": "ttsc --emitDeclarationOnly --outDir ./dist",
2019-12-02 19:58:02 +08:00
"clean": "rimraf esm lib dist",
"lint": "lint-staged",
"tslint": "tslint -c tslint.json 'src/**/*.ts'",
2019-12-02 19:58:02 +08:00
"test": "jest",
2020-01-03 10:52:40 +08:00
"test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/plugins/grid-spec.ts",
2019-12-02 19:58:02 +08:00
"coverage": "jest --coverage",
"ci": "run-s build coverage",
"doc": "rimraf apis && typedoc",
"dist": "webpack --config webpack.config.js --mode production",
"demos": "start-storybook -p 8080 -c .storybook"
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.1.0-beta.10",
"@antv/g-canvas": "^0.3.2",
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",
"@antv/scale": "^0.2.0",
"@antv/util": "~2.0.5",
2019-12-26 18:04:49 +08:00
"lodash": "^4.17.15",
2019-12-02 19:58:02 +08:00
"tslib": "^1.10.0"
},
"devDependencies": {
"@antv/gatsby-theme-antv": "^0.9.25",
"@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",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.6",
"event-simulate": "~1.0.0",
2019-12-30 14:41:36 +08:00
"father-build": "^1.17.1",
2019-12-02 19:58:02 +08:00
"gatsby": "^2.17.9",
"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",
"npm-run-all": "^4.1.5",
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",
"ts-jest": "^24.1.0",
"ts-loader": "^6.2.1",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"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",
"typescript-transform-paths": "^1.1.14",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10"
2019-12-02 19:58:02 +08:00
},
"husky": {
"hooks": {
"pre-commit": "run-s lint"
2019-12-02 19:58:02 +08:00
}
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write",
"git add"
],
"*.{ts}": [
"tslint -c tslint.json --fix",
"prettier --write",
"git add"
]
},
2018-06-05 23:58:10 +08:00
"repository": {
"type": "git",
2019-11-20 22:51:49 +08:00
"url": "https://github.com/antvis/g6"
2018-06-05 23:58:10 +08:00
},
"bugs": {
"url": "https://github.com/antvis/g6/issues"
},
"keywords": [
2019-12-02 19:58:02 +08:00
"antv",
2018-06-05 23:58:10 +08:00
"g6",
2019-12-02 19:58:02 +08:00
"graph",
2018-06-05 23:58:10 +08:00
"relational data",
"graph visualization",
"graph editor",
"graph analysis"
],
2019-12-02 19:58:02 +08:00
"homepage": "https://github.com/antvis/g6",
"author": "https://github.com/orgs/antvis/people",
"license": "MIT"
2019-10-17 14:16:25 +08:00
}