Commit | Line | Data |
---|---|---|
ed2968f2 JB |
1 | { |
2 | "name": "benchmarks-js", | |
3 | "version": "0.0.1", | |
4 | "description": "JS code pattern benchmarks", | |
9d7eeee7 | 5 | "engines": { |
9edceaea | 6 | "node": ">=14.x", |
faa41c13 | 7 | "pnpm": ">=8.6.0" |
9d7eeee7 | 8 | }, |
44c67c12 | 9 | "volta": { |
3149ea62 | 10 | "node": "20.4.0", |
52d07fb8 | 11 | "pnpm": "8.6.9" |
44c67c12 | 12 | }, |
ed2968f2 JB |
13 | "repository": { |
14 | "type": "git", | |
15 | "url": "git://github.com/jerome-benoit/benchmarks-js.git" | |
16 | }, | |
ce6a679c JB |
17 | "funding": [ |
18 | { | |
19 | "type": "patreon", | |
20 | "url": "https://www.patreon.com/fraggle_" | |
21 | }, | |
22 | { | |
23 | "type": "github", | |
24 | "url": "https://github.com/sponsors/jerome-benoit" | |
25 | } | |
26 | ], | |
3149ea62 JB |
27 | "pnpm": { |
28 | "overrides": { | |
29 | "semver": "^7.5.3" | |
30 | } | |
31 | }, | |
ed2968f2 | 32 | "scripts": { |
80b94c60 | 33 | "preinstall": "npx --yes only-allow pnpm", |
51c84d4b | 34 | "prepare": "node prepare.js", |
ed2968f2 | 35 | "benchmark:busy-wait": "node busy-wait.js", |
2deff321 | 36 | "benchmark:empty-array": "node empty-array.js", |
57f62217 JB |
37 | "benchmark:deep-clone-object": "node deep-clone-object.js", |
38 | "benchmark:shallow-clone-object": "node shallow-clone-object.js", | |
bb578730 | 39 | "benchmark:is-empty-object": "node is-empty-object.js", |
adad2e80 | 40 | "benchmark:is-undefined": "node is-undefined.js", |
ed2968f2 | 41 | "benchmark:quick-select": "node quick-select.js", |
8e5cf49d | 42 | "benchmark:max": "node max.js", |
ed2968f2 | 43 | "benchmark:promise-handling": "node promise-handling.js", |
a9c78d5d | 44 | "benchmark:fibonacci": "node fibonacci.js", |
aa697b2f | 45 | "benchmark:random": "node random.js", |
5ae4976a | 46 | "benchmark:uuid-generator": "node uuid-generator.js", |
586ba8db | 47 | "format": "prettier . --cache --write; standard . --fix", |
7fd91296 JB |
48 | "lint": "eslint . --cache", |
49 | "lint:fix": "eslint . --cache --fix", | |
ed2968f2 JB |
50 | "test": "echo \"Error: no test specified\" && exit 1" |
51 | }, | |
52 | "author": "jerome-benoit", | |
53 | "license": "MIT", | |
54 | "dependencies": { | |
8e5cf49d | 55 | "benny": "^3.7.1", |
a9aa1456 | 56 | "just-clone": "^6.2.0", |
6dce9ba7 | 57 | "lodash": "^4.17.21", |
5ae4976a | 58 | "microtime": "^3.1.1", |
ce26b710 | 59 | "uuid": "^9.0.0" |
ed2968f2 JB |
60 | }, |
61 | "devDependencies": { | |
843c1afb | 62 | "eslint": "^8.45.0", |
d4afb723 | 63 | "eslint-config-standard": "^17.1.0", |
5c3f3b95 | 64 | "eslint-define-config": "^1.21.0", |
2df265c4 | 65 | "eslint-plugin-import": "^2.27.5", |
d1201e94 | 66 | "eslint-plugin-jsdoc": "^46.4.4", |
98b827d5 | 67 | "eslint-plugin-n": "^16.0.1", |
7fd91296 | 68 | "eslint-plugin-promise": "^6.1.1", |
35ce7574 | 69 | "husky": "^8.0.3", |
b5bab6ee | 70 | "lint-staged": "^13.2.3", |
38acce1c | 71 | "prettier": "^3.0.0", |
d4afb723 | 72 | "standard": "^17.1.0", |
77d3850e | 73 | "typescript": "^5.1.6" |
ed2968f2 JB |
74 | } |
75 | } |