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", |
9e42f432 | 7 | "pnpm": ">=8.0.0" |
9d7eeee7 | 8 | }, |
44c67c12 | 9 | "volta": { |
11a1b8c8 | 10 | "node": "20.1.0", |
f4fdcc5c | 11 | "pnpm": "8.4.0" |
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 | ], | |
ed2968f2 | 27 | "scripts": { |
80b94c60 | 28 | "preinstall": "npx --yes only-allow pnpm", |
51c84d4b | 29 | "prepare": "node prepare.js", |
ed2968f2 | 30 | "benchmark:busy-wait": "node busy-wait.js", |
2deff321 | 31 | "benchmark:empty-array": "node empty-array.js", |
57f62217 JB |
32 | "benchmark:deep-clone-object": "node deep-clone-object.js", |
33 | "benchmark:shallow-clone-object": "node shallow-clone-object.js", | |
bb578730 | 34 | "benchmark:is-empty-object": "node is-empty-object.js", |
adad2e80 | 35 | "benchmark:is-undefined": "node is-undefined.js", |
ed2968f2 | 36 | "benchmark:quick-select": "node quick-select.js", |
8e5cf49d | 37 | "benchmark:max": "node max.js", |
ed2968f2 | 38 | "benchmark:promise-handling": "node promise-handling.js", |
a9c78d5d | 39 | "benchmark:fibonacci": "node fibonacci.js", |
aa697b2f | 40 | "benchmark:random": "node random.js", |
5ae4976a | 41 | "benchmark:uuid-generator": "node uuid-generator.js", |
586ba8db | 42 | "format": "prettier . --cache --write; standard . --fix", |
7fd91296 JB |
43 | "lint": "eslint . --cache", |
44 | "lint:fix": "eslint . --cache --fix", | |
ed2968f2 JB |
45 | "test": "echo \"Error: no test specified\" && exit 1" |
46 | }, | |
47 | "author": "jerome-benoit", | |
48 | "license": "MIT", | |
49 | "dependencies": { | |
8e5cf49d | 50 | "benny": "^3.7.1", |
a9aa1456 | 51 | "just-clone": "^6.2.0", |
6dce9ba7 | 52 | "lodash": "^4.17.21", |
5ae4976a | 53 | "microtime": "^3.1.1", |
ce26b710 | 54 | "uuid": "^9.0.0" |
ed2968f2 JB |
55 | }, |
56 | "devDependencies": { | |
11a1b8c8 | 57 | "eslint": "^8.40.0", |
7fd91296 | 58 | "eslint-config-standard": "^17.0.0", |
ddc804a1 | 59 | "eslint-define-config": "^1.20.0", |
2df265c4 | 60 | "eslint-plugin-import": "^2.27.5", |
dd3bc095 | 61 | "eslint-plugin-jsdoc": "^44.2.2", |
90c6e278 | 62 | "eslint-plugin-n": "^15.7.0", |
7fd91296 | 63 | "eslint-plugin-promise": "^6.1.1", |
35ce7574 | 64 | "husky": "^8.0.3", |
ddc804a1 | 65 | "lint-staged": "^13.2.2", |
a8c482e2 | 66 | "prettier": "^2.8.8", |
51c84d4b | 67 | "standard": "^17.0.0", |
45831d54 | 68 | "typescript": "^5.0.4" |
ed2968f2 JB |
69 | } |
70 | } |