Commit | Line | Data |
---|---|---|
ed2968f2 | 1 | { |
58932f2d | 2 | "$schema": "https://json.schemastore.org/package", |
ed2968f2 JB |
3 | "name": "benchmarks-js", |
4 | "version": "0.0.1", | |
5 | "description": "JS code pattern benchmarks", | |
9d7eeee7 | 6 | "engines": { |
d936f881 | 7 | "node": ">=16.x", |
faa41c13 | 8 | "pnpm": ">=8.6.0" |
9d7eeee7 | 9 | }, |
44c67c12 | 10 | "volta": { |
0372eb52 | 11 | "node": "20.8.1", |
19d4cba3 | 12 | "pnpm": "8.9.2" |
44c67c12 | 13 | }, |
ed2968f2 JB |
14 | "repository": { |
15 | "type": "git", | |
16 | "url": "git://github.com/jerome-benoit/benchmarks-js.git" | |
17 | }, | |
ce6a679c JB |
18 | "funding": [ |
19 | { | |
20 | "type": "patreon", | |
21 | "url": "https://www.patreon.com/fraggle_" | |
22 | }, | |
23 | { | |
24 | "type": "github", | |
25 | "url": "https://github.com/sponsors/jerome-benoit" | |
26 | } | |
27 | ], | |
3149ea62 JB |
28 | "pnpm": { |
29 | "overrides": { | |
30 | "semver": "^7.5.3" | |
31 | } | |
32 | }, | |
ed2968f2 | 33 | "scripts": { |
80b94c60 | 34 | "preinstall": "npx --yes only-allow pnpm", |
d124d21a | 35 | "prepare": "node prepare.mjs", |
f522d7b9 JB |
36 | "benchmark:busy-wait": "node busy-wait.mjs", |
37 | "benchmark:empty-array": "node empty-array.mjs", | |
38 | "benchmark:deep-clone-object": "node deep-clone-object.mjs", | |
896570f7 | 39 | "benchmark:deep-merge-object": "node deep-merge-object.mjs", |
f522d7b9 JB |
40 | "benchmark:shallow-clone-object": "node shallow-clone-object.mjs", |
41 | "benchmark:is-empty-object": "node is-empty-object.mjs", | |
42 | "benchmark:is-undefined": "node is-undefined.mjs", | |
43 | "benchmark:quick-select": "node quick-select.mjs", | |
44 | "benchmark:max": "node max.mjs", | |
a6affe16 | 45 | "benchmark:min": "node min.mjs", |
f522d7b9 JB |
46 | "benchmark:promise-handling": "node promise-handling.mjs", |
47 | "benchmark:fibonacci": "node fibonacci.mjs", | |
48 | "benchmark:random": "node random.mjs", | |
49 | "benchmark:uuid-generator": "node uuid-generator.mjs", | |
f913c68c | 50 | "format": "biome format . --write; standard . --fix", |
7fd91296 JB |
51 | "lint": "eslint . --cache", |
52 | "lint:fix": "eslint . --cache --fix", | |
ed2968f2 JB |
53 | "test": "echo \"Error: no test specified\" && exit 1" |
54 | }, | |
dfdb4c56 JB |
55 | "author": { |
56 | "name": "Jérôme Benoit", | |
57 | "email": "jerome.benoit@piment-noir.org", | |
58 | "url": "https://github.com/jerome-benoit" | |
59 | }, | |
ed2968f2 JB |
60 | "license": "MIT", |
61 | "dependencies": { | |
8e5cf49d | 62 | "benny": "^3.7.1", |
f522d7b9 | 63 | "deep-clone": "^4.0.0", |
896570f7 | 64 | "deepmerge": "^4.3.1", |
a9aa1456 | 65 | "just-clone": "^6.2.0", |
896570f7 | 66 | "just-merge": "^3.2.0", |
6dce9ba7 | 67 | "lodash": "^4.17.21", |
5ae4976a | 68 | "microtime": "^3.1.1", |
50dbfd53 | 69 | "uuid": "^9.0.1" |
ed2968f2 JB |
70 | }, |
71 | "devDependencies": { | |
c4323aa1 | 72 | "@biomejs/biome": "^1.2.2", |
b2c531db JB |
73 | "@commitlint/cli": "^17.8.0", |
74 | "@commitlint/config-conventional": "^17.8.0", | |
3d3dae57 | 75 | "eslint": "^8.51.0", |
d4afb723 | 76 | "eslint-config-standard": "^17.1.0", |
2a8d8111 | 77 | "eslint-define-config": "^1.24.1", |
f14d4ce4 | 78 | "eslint-plugin-import": "^2.28.1", |
f364a19a | 79 | "eslint-plugin-jsdoc": "^46.8.2", |
b0db20a6 | 80 | "eslint-plugin-n": "^16.2.0", |
7fd91296 | 81 | "eslint-plugin-promise": "^6.1.1", |
35ce7574 | 82 | "husky": "^8.0.3", |
ef540c4c | 83 | "lint-staged": "^15.0.1", |
b89e2966 | 84 | "prettier": "^3.0.3", |
f789ae57 | 85 | "standard": "^17.1.0" |
ed2968f2 JB |
86 | } |
87 | } |