-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
103 lines (103 loc) · 2.8 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
{
"name": "object-traversal",
"description": "Flexible and performant utility for traversing javascript objects",
"author": "Devimal",
"module": "dist/object-traversal.esm.js",
"version": "1.0.1",
"license": "MIT",
"main": "dist/index.js",
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test",
"test:watch": "tsdx test --watch",
"test:cov": "tsdx test --coverage",
"test:clear": "tsdx test --clearCache",
"prebenchmark": "npm run build",
"benchmark": "npm run benchmark:node && npm run benchmark:chromium && npm run benchmark:firefox && npm run benchmark:webkit || echo 'WARNING: some of the benchmarks did not finish. See logs above.'",
"benchmark:node": "node benchmarks/object-traversal.bench.js && node benchmarks/stack-queue.bench.js",
"benchmark:chromium": "npx playwright-test ./benchmarks/object-traversal.bench.js -r benchmark -b chromium --timeout 60000",
"benchmark:firefox": "npx playwright-test ./benchmarks/object-traversal.bench.js -r benchmark -b firefox --timeout 60000",
"benchmark:webkit": "echo \"Skipping npx playwright-test ./benchmarks/object-traversal.bench.js -r benchmark -b webkit --timeout 60000\"",
"lint": "tsdx lint src test benchmarks examples/src",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"np": {
"yarn": true,
"contents": "dist"
},
"engines": {
"node": ">=10"
},
"peerDependencies": {},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "dist/object-traversal.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/object-traversal.esm.js",
"limit": "10 KB"
}
],
"dependencies": {},
"devDependencies": {
"@size-limit/preset-small-lib": "8.2.6",
"@types/benchmark": "2.1.5",
"@types/traverse": "0.6.37",
"benchmark": "2.1.4",
"husky": "8.0.3",
"playwright-test": "14.1.7",
"size-limit": "8.2.6",
"traverse": "0.6.10",
"tsdx": "0.14.1",
"tslib": "2.7.0",
"typescript": "5.6.2"
},
"resolutions": {
"**/@typescript-eslint/eslint-plugin": "^7.0.0",
"**/@typescript-eslint/parser": "^7.0.0",
"**/jest": "^26.6.3",
"**/ts-jest": "^26.4.4",
"**/typescript": "5.6.2"
},
"repository": {
"type": "git",
"url": "https://github.com/DevimalPlanet/object-traversal.git"
},
"keywords": [
"traverse",
"object",
"traversal",
"recurse",
"recursive",
"recursion",
"js",
"javascript",
"graph",
"tree",
"walk",
"walker",
"iterator",
"json",
"deep"
]
}