- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
143 lines
3.7 KiB
JSON
143 lines
3.7 KiB
JSON
{
|
|
"name": "dagre-compound",
|
|
"version": "0.0.11",
|
|
"description": "A multi-level compound graph layout library based on dagre",
|
|
"keywords": [
|
|
"graph",
|
|
"layout",
|
|
"dagre",
|
|
"compound"
|
|
],
|
|
"main": "dist/dagre-compound.umd.js",
|
|
"module": "dist/dagre-compound.es5.js",
|
|
"typings": "dist/types/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org",
|
|
"access": "public"
|
|
},
|
|
"author": "NG-ZORRO authors",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/PLACEHOLDER.git"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=6.0.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test-data/**/*.ts' --fix",
|
|
"prebuild": "rimraf dist",
|
|
"doc": "typedoc --out docs --target es6 --theme minimal --mode file src",
|
|
"build": "tsc --module commonjs && rollup -c rollup.config.ts",
|
|
"start": "rollup -c rollup.config.ts -w",
|
|
"test": "jest",
|
|
"test:watch": "jest --coverage --watch",
|
|
"test:prod": "npm run lint && npm run test -- --no-cache",
|
|
"deploy-docs": "ts-node tools/gh-pages-publish",
|
|
"report-coverage": "cat ./coverage/lcov.info | coveralls",
|
|
"commit": "git-cz",
|
|
"semantic-release": "semantic-release",
|
|
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
|
|
"precommit": "lint-staged",
|
|
"travis-deploy-once": "travis-deploy-once",
|
|
"commitmsg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
},
|
|
"lint-staged": {
|
|
"{src,test}/**/*.ts": [
|
|
"./node_modules/.bin/prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
".(ts)": "ts-jest"
|
|
},
|
|
"testEnvironment": "node",
|
|
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/test/"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 90,
|
|
"functions": 95,
|
|
"lines": 95,
|
|
"statements": 95
|
|
}
|
|
},
|
|
"collectCoverageFrom": [
|
|
"src/*.{js,ts}"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"semi": true,
|
|
"singleQuote": true
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^7.1.2",
|
|
"@commitlint/config-conventional": "^7.1.2",
|
|
"@rollup/plugin-typescript": "^8.1.0",
|
|
"@types/jest": "^23.3.2",
|
|
"@types/lodash.camelcase": "^4.3.6",
|
|
"@types/node": "^10.11.0",
|
|
"@types/rollup-plugin-json": "^3.0.2",
|
|
"@types/rollup-plugin-sourcemaps": "^0.4.2",
|
|
"colors": "^1.3.2",
|
|
"commitizen": "^3.0.0",
|
|
"coveralls": "^3.0.2",
|
|
"cross-env": "^5.2.0",
|
|
"cz-conventional-changelog": "^2.1.0",
|
|
"husky": "^1.0.1",
|
|
"jest": "^23.6.0",
|
|
"jest-config": "^23.6.0",
|
|
"lint-staged": "^8.0.0",
|
|
"lodash.camelcase": "^4.3.0",
|
|
"prettier": "^1.14.3",
|
|
"prompt": "^1.0.0",
|
|
"replace-in-file": "^3.4.2",
|
|
"rimraf": "^2.6.2",
|
|
"rollup": "^2.35.1",
|
|
"rollup-plugin-commonjs": "^9.1.8",
|
|
"rollup-plugin-json": "^3.1.0",
|
|
"rollup-plugin-node-resolve": "^4.2.4",
|
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"semantic-release": "^17.3.0",
|
|
"shelljs": "^0.8.3",
|
|
"travis-deploy-once": "^5.0.9",
|
|
"ts-jest": "^23.10.2",
|
|
"ts-node": "^7.0.1",
|
|
"tslint": "^5.20.1",
|
|
"tslint-config-prettier": "^1.15.0",
|
|
"tslint-config-standard": "^8.0.1",
|
|
"typedoc": "^0.19.2",
|
|
"typescript": "^4.0.5"
|
|
},
|
|
"peerDependencies": {
|
|
"dagre": "^0.8.5"
|
|
}
|
|
}
|