- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
72 lines
2.0 KiB
JSON
72 lines
2.0 KiB
JSON
{
|
|
"name": "@antv/graphlib",
|
|
"version": "1.2.0",
|
|
"scripts": {
|
|
"start": "dumi dev",
|
|
"docs:build": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts",
|
|
"docs:deploy": "gh-pages -d docs-dist",
|
|
"build:esm": "father-build",
|
|
"build:cjs": "rimraf ./lib && tsc --module commonjs --target es5 --outDir ./lib",
|
|
"build": "npm run build:cjs && npm run build:esm",
|
|
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
"test": "umi-test",
|
|
"test:coverage": "umi-test --coverage",
|
|
"prepublishOnly": "npm run build",
|
|
"benchmark": "node benchmark/bench.js"
|
|
},
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"module": "es/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"gitHooks": {
|
|
"pre-commit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,less,md,json}": [
|
|
"prettier --write"
|
|
],
|
|
"*.ts?(x)": [
|
|
"prettier --parser=typescript --write"
|
|
]
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.5",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@babel/preset-typescript": "^7.16.7",
|
|
"@testing-library/jest-dom": "^5.15.1",
|
|
"@testing-library/react": "^12.1.2",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/lodash": "^4.14.178",
|
|
"@umijs/fabric": "^2.8.1",
|
|
"@umijs/test": "^3.0.5",
|
|
"babel-jest": "^27.5.1",
|
|
"benchmark": "^2.1.4",
|
|
"dumi": "^1.1.0",
|
|
"father-build": "^1.17.2",
|
|
"gh-pages": "^3.0.0",
|
|
"lint-staged": "^10.0.7",
|
|
"prettier": "^2.2.1",
|
|
"react": "^16.12.0 || ^17.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"seedrandom": "^3.0.5",
|
|
"sprintf": "^0.1.5",
|
|
"typedoc": "^0.22.15",
|
|
"typedoc-plugin-markdown": "^3.12.0",
|
|
"yorkie": "^2.0.0"
|
|
},
|
|
"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"
|
|
}
|
|
}
|