1 Star 0 Fork 13

wangscript1 / js.tree

forked from 阿森 / js.tree 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 3.34 KB
一键复制 编辑 原始数据 按行查看 历史
zhengxs 提交于 2021-05-05 18:23 . 0.1.2
{
"name": "@zhengxs/js.tree",
"version": "0.1.2",
"description": "快速,轻量,无依赖的树结构数据处理函数库",
"main": "./dist/js.tree.common.js",
"module": "./dist/js.tree.esm.js",
"types": "./dist/index.d.ts",
"keywords": [
"tree",
"array2tree",
"tree2array",
"parent",
"children",
"filter",
"map",
"data-structures",
"array to tree"
],
"scripts": {
"build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
"lint": "eslint \"**/*.{ts,js}\"",
"format": "prettier --write \"**/*.{js,ts,md}\"",
"test": "jest",
"cov": "jest --coverage",
"ci": "jest --coverage ----coverageReporters=json",
"e2e": "cypress run",
"api": "api-extractor run",
"typedoc": "typedoc",
"commit": "cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"preversion": "npm run lint && npm test",
"version": "npm run changelog",
"postversion": "git push --follow-tags",
"prepublishOnly": "npm run build && npm run api"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,js}": "prettier --write",
"*.ts": "eslint --fix"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"optionalDependencies": {
"lodash": "^4.17.15",
"lodash-es": "^4.17.21"
},
"dependencies": {},
"devDependencies": {
"@cypress/eslint-plugin-dev": "^5.1.0",
"@microsoft/api-extractor": "^7.15.1",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^18.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@types/jest": "^26.0.23",
"@types/lodash": "^4.14.168",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.0.2",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"benchmark": "^2.1.4",
"better-mock": "^0.3.1",
"builtin-modules": "^3.2.0",
"commitizen": "^4.2.3",
"commitlint": "^12.1.1",
"conventional-changelog-cli": "^2.1.1",
"cross-env": "^7.0.3",
"cypress": "^7.2.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-tsdoc": "^0.2.14",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"lodash": "^4.17.15",
"performant-array-to-tree": "^1.8.1",
"prettier": "^2.2.1",
"rollup": "^2.47.0",
"rollup-plugin-node-externals": "^2.1.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^26.4.4",
"typedoc": "^0.20.36",
"typedoc-plugin-nojekyll": "^1.0.1",
"typescript": "^4.2.4"
},
"homepage": "https://github.com/zhengxs2018/js.tree#readme",
"repository": {
"type": "git",
"url": "https://github.com/zhengxs2018/js.tree"
},
"bugs": {
"url": "https://github.com/zhengxs2018/js.tree/issues"
},
"engines": {
"node": ">= 10.x"
},
"author": {
"name": "zhengxs2018",
"email": "zhengxs2018@foxmail.com"
},
"license": "MIT"
}
TypeScript
1
https://gitee.com/kingsmart/js.tree.git
git@gitee.com:kingsmart/js.tree.git
kingsmart
js.tree
js.tree
main

搜索帮助