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 JB |
6 | "node": ">=14.x", |
7 | "pnpm": ">= 8.0.0" | |
9d7eeee7 | 8 | }, |
44c67c12 JB |
9 | "volta": { |
10 | "node": "20.0.0" | |
11 | }, | |
ed2968f2 JB |
12 | "repository": { |
13 | "type": "git", | |
14 | "url": "git://github.com/jerome-benoit/benchmarks-js.git" | |
15 | }, | |
ce6a679c JB |
16 | "funding": [ |
17 | { | |
18 | "type": "patreon", | |
19 | "url": "https://www.patreon.com/fraggle_" | |
20 | }, | |
21 | { | |
22 | "type": "github", | |
23 | "url": "https://github.com/sponsors/jerome-benoit" | |
24 | } | |
25 | ], | |
ed2968f2 | 26 | "scripts": { |
80b94c60 | 27 | "preinstall": "npx --yes only-allow pnpm", |
51c84d4b | 28 | "prepare": "node prepare.js", |
ed2968f2 | 29 | "benchmark:busy-wait": "node busy-wait.js", |
2deff321 | 30 | "benchmark:empty-array": "node empty-array.js", |
57f62217 JB |
31 | "benchmark:deep-clone-object": "node deep-clone-object.js", |
32 | "benchmark:shallow-clone-object": "node shallow-clone-object.js", | |
bb578730 | 33 | "benchmark:is-empty-object": "node is-empty-object.js", |
adad2e80 | 34 | "benchmark:is-undefined": "node is-undefined.js", |
ed2968f2 | 35 | "benchmark:quick-select": "node quick-select.js", |
8e5cf49d | 36 | "benchmark:max": "node max.js", |
ed2968f2 | 37 | "benchmark:promise-handling": "node promise-handling.js", |
a9c78d5d | 38 | "benchmark:fibonacci": "node fibonacci.js", |
aa697b2f | 39 | "benchmark:random": "node random.js", |
5ae4976a | 40 | "benchmark:uuid-generator": "node uuid-generator.js", |
586ba8db | 41 | "format": "prettier . --cache --write; standard . --fix", |
7fd91296 JB |
42 | "lint": "eslint . --cache", |
43 | "lint:fix": "eslint . --cache --fix", | |
ed2968f2 JB |
44 | "test": "echo \"Error: no test specified\" && exit 1" |
45 | }, | |
46 | "author": "jerome-benoit", | |
47 | "license": "MIT", | |
48 | "dependencies": { | |
8e5cf49d | 49 | "benny": "^3.7.1", |
a9aa1456 | 50 | "just-clone": "^6.2.0", |
6dce9ba7 | 51 | "lodash": "^4.17.21", |
5ae4976a | 52 | "microtime": "^3.1.1", |
ce26b710 | 53 | "uuid": "^9.0.0" |
ed2968f2 JB |
54 | }, |
55 | "devDependencies": { | |
a8c482e2 | 56 | "eslint": "^8.39.0", |
7fd91296 | 57 | "eslint-config-standard": "^17.0.0", |
47f0f991 | 58 | "eslint-define-config": "^1.19.0", |
2df265c4 | 59 | "eslint-plugin-import": "^2.27.5", |
e5d27534 | 60 | "eslint-plugin-jsdoc": "^43.0.7", |
90c6e278 | 61 | "eslint-plugin-n": "^15.7.0", |
7fd91296 | 62 | "eslint-plugin-promise": "^6.1.1", |
35ce7574 | 63 | "husky": "^8.0.3", |
306777d7 | 64 | "lint-staged": "^13.2.1", |
a8c482e2 | 65 | "prettier": "^2.8.8", |
51c84d4b | 66 | "standard": "^17.0.0", |
45831d54 | 67 | "typescript": "^5.0.4" |
ed2968f2 JB |
68 | } |
69 | } |