-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
123 lines (123 loc) · 3.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "@zhengxs/js.tree",
"version": "0.5.0",
"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",
"commit": "cz",
"doc": "typedoc",
"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",
"postpublish": "typedoc && gh-pages -d ./dist-doc -t"
},
"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": {
"@microsoft/api-extractor": "^7.15.2",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@types/jest": "^26.0.23",
"@types/lodash": "^4.14.169",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.3.0",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"benchmark": "^2.1.4",
"better-mock": "^0.3.1",
"builtin-modules": "^3.2.0",
"commitizen": "^4.2.4",
"commitlint": "^12.1.4",
"conventional-changelog-cli": "^2.1.1",
"cross-env": "^7.0.3",
"cypress": "^7.2.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-tsdoc": "^0.2.14",
"gh-pages": "^3.2.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"lodash": "^4.17.15",
"performant-array-to-tree": "^1.8.1",
"prettier": "^2.3.0",
"rollup": "^2.48.0",
"rollup-plugin-node-externals": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^26.5.6",
"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"
}