You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
2.5 KiB
91 lines
2.5 KiB
|
4 months ago
|
{
|
||
|
|
"name": "@antv/graphlib",
|
||
|
|
"version": "2.0.4",
|
||
|
|
"main": "lib/index.js",
|
||
|
|
"module": "esm/index.js",
|
||
|
|
"types": "lib/index.d.ts",
|
||
|
|
"unpkg": "dist/index.umd.min.js",
|
||
|
|
"sideEffects": false,
|
||
|
|
"files": [
|
||
|
|
"lib",
|
||
|
|
"esm",
|
||
|
|
"dist",
|
||
|
|
"src",
|
||
|
|
"README.md",
|
||
|
|
"LICENSE"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"clean": "rimraf lib esm dist",
|
||
|
|
"doc": "typedoc src/index.ts --plugin typedoc-plugin-markdown",
|
||
|
|
"lint-staged": "lint-staged",
|
||
|
|
"lint": "eslint ./src ./__tests__ && prettier ./src ./__tests__ --check ",
|
||
|
|
"fix": "eslint ./src ./__tests__ --fix && prettier ./src ./__tests__ --write ",
|
||
|
|
"size": "limit-size",
|
||
|
|
"test": "jest --coverage -i",
|
||
|
|
"build:umd": "rimraf ./dist && rollup -c && npm run size",
|
||
|
|
"build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib",
|
||
|
|
"build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm",
|
||
|
|
"build": "run-p build:*",
|
||
|
|
"bundle-vis": "cross-env BUNDLE_VIS=1 run-p build:umd",
|
||
|
|
"prepublishOnly": "npm run build"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@antv/event-emitter": "^0.1.3"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@commitlint/cli": "^11.0.0",
|
||
|
|
"@rollup/plugin-commonjs": "^21.1.0",
|
||
|
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
||
|
|
"@rollup/plugin-terser": "^0.4.4",
|
||
|
|
"@types/jest": "^29.5.14",
|
||
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||
|
|
"@typescript-eslint/parser": "^5.62.0",
|
||
|
|
"cross-env": "^7.0.3",
|
||
|
|
"eslint": "^8.57.1",
|
||
|
|
"eslint-plugin-import": "^2.31.0",
|
||
|
|
"husky": "^8.0.3",
|
||
|
|
"jest": "^29.7.0",
|
||
|
|
"limit-size": "^0.1.4",
|
||
|
|
"lint-staged": "^13.3.0",
|
||
|
|
"npm-run-all": "^4.1.5",
|
||
|
|
"prettier": "^2.8.8",
|
||
|
|
"rimraf": "^3.0.2",
|
||
|
|
"rollup": "^2.79.2",
|
||
|
|
"rollup-plugin-polyfill-node": "^0.8.0",
|
||
|
|
"rollup-plugin-typescript2": "^0.35.0",
|
||
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
||
|
|
"ts-jest": "^29.2.5",
|
||
|
|
"tslib": "^2.8.1",
|
||
|
|
"typedoc": "^0.25.13",
|
||
|
|
"typedoc-plugin-markdown": "^3.17.1",
|
||
|
|
"typescript": "^4.9.5"
|
||
|
|
},
|
||
|
|
"lint-staged": {
|
||
|
|
"*.{ts,tsx}": [
|
||
|
|
"eslint --fix",
|
||
|
|
"prettier --write",
|
||
|
|
"git add"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"limit-size": [
|
||
|
|
{
|
||
|
|
"path": "dist/index.umd.min.js",
|
||
|
|
"limit": "5 Kb",
|
||
|
|
"gzip": true
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"homepage": "https://github.com/antvis/graphlib",
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/antvis/graphlib/issues"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "https://github.com/antvis/graphlib.git"
|
||
|
|
},
|
||
|
|
"publishConfig": {
|
||
|
|
"access": "public",
|
||
|
|
"registry": "https://registry.npmjs.org"
|
||
|
|
},
|
||
|
|
"license": "MIT"
|
||
|
|
}
|