-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.01 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
{
"name": "n-ary-tree",
"version": "0.4.0",
"description": "n-ary tree implementation in JavaScript(TypeScript).",
"license": "MIT",
"files": [
"dist",
"src"
],
"author": "Liu Bowen <[email protected]>",
"module": "dist/n-ary-tree.esm.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test",
"lint": "tsdx lint src --fix",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
"preperf": "tsdx build",
"perf": "node ./perf/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lbwa/n-ary.git"
},
"keywords": [
"n-ary",
"k-ary",
"m-ary",
"data-structures",
"tree",
"preorder",
"postorder",
"levelorder"
],
"bugs": {
"url": "https://github.com/lbwa/n-ary/issues"
},
"homepage": "https://github.com/lbwa/n-ary#readme",
"publicConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^4.6.0",
"benchmark": "^2.1.4",
"husky": "^4.3.0",
"lint-staged": "^10.4.2",
"size-limit": "^4.6.0",
"tsdx": "^0.14.1",
"tslib": "^2.0.3",
"typescript": "^4.0.3"
},
"dependencies": {
"tslang-utils": "^0.1.0"
},
"peerDependencies": {},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "tsdx lint src"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,md}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"endOfLine": "crlf",
"tabWidth": 2,
"useTabs": false
},
"size-limit": [
{
"path": "dist/n-ary-tree.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/n-ary-tree.esm.js",
"limit": "10 KB"
}
]
}