Commit | Line | Data |
---|---|---|
ed2968f2 JB |
1 | { |
2 | "name": "benchmarks-js", | |
3 | "version": "0.0.1", | |
4 | "description": "JS code pattern benchmarks", | |
9d7eeee7 JB |
5 | "engines": { |
6 | "node": ">=14.x" | |
7 | }, | |
ed2968f2 JB |
8 | "repository": { |
9 | "type": "git", | |
10 | "url": "git://github.com/jerome-benoit/benchmarks-js.git" | |
11 | }, | |
ce6a679c JB |
12 | "funding": [ |
13 | { | |
14 | "type": "patreon", | |
15 | "url": "https://www.patreon.com/fraggle_" | |
16 | }, | |
17 | { | |
18 | "type": "github", | |
19 | "url": "https://github.com/sponsors/jerome-benoit" | |
20 | } | |
21 | ], | |
ed2968f2 | 22 | "scripts": { |
fe711f69 | 23 | "preinstall": "npx only-allow pnpm", |
51c84d4b | 24 | "prepare": "node prepare.js", |
ed2968f2 | 25 | "benchmark:busy-wait": "node busy-wait.js", |
2deff321 | 26 | "benchmark:empty-array": "node empty-array.js", |
57f62217 JB |
27 | "benchmark:deep-clone-object": "node deep-clone-object.js", |
28 | "benchmark:shallow-clone-object": "node shallow-clone-object.js", | |
bb578730 | 29 | "benchmark:is-empty-object": "node is-empty-object.js", |
adad2e80 | 30 | "benchmark:is-undefined": "node is-undefined.js", |
ed2968f2 | 31 | "benchmark:quick-select": "node quick-select.js", |
8e5cf49d | 32 | "benchmark:max": "node max.js", |
ed2968f2 | 33 | "benchmark:promise-handling": "node promise-handling.js", |
a9c78d5d | 34 | "benchmark:fibonacci": "node fibonacci.js", |
aa697b2f | 35 | "benchmark:random": "node random.js", |
5ae4976a | 36 | "benchmark:uuid-generator": "node uuid-generator.js", |
586ba8db | 37 | "format": "prettier . --cache --write; standard . --fix", |
7fd91296 JB |
38 | "lint": "eslint . --cache", |
39 | "lint:fix": "eslint . --cache --fix", | |
ed2968f2 JB |
40 | "test": "echo \"Error: no test specified\" && exit 1" |
41 | }, | |
42 | "author": "jerome-benoit", | |
43 | "license": "MIT", | |
44 | "dependencies": { | |
8e5cf49d | 45 | "benny": "^3.7.1", |
a9aa1456 | 46 | "just-clone": "^6.2.0", |
6dce9ba7 | 47 | "lodash": "^4.17.21", |
5ae4976a | 48 | "microtime": "^3.1.1", |
ce26b710 | 49 | "uuid": "^9.0.0" |
ed2968f2 JB |
50 | }, |
51 | "devDependencies": { | |
90c6e278 | 52 | "eslint": "^8.37.0", |
7fd91296 | 53 | "eslint-config-standard": "^17.0.0", |
24255083 | 54 | "eslint-define-config": "^1.17.0", |
2df265c4 | 55 | "eslint-plugin-import": "^2.27.5", |
06e4439d | 56 | "eslint-plugin-jsdoc": "^40.1.1", |
90c6e278 | 57 | "eslint-plugin-n": "^15.7.0", |
7fd91296 | 58 | "eslint-plugin-promise": "^6.1.1", |
35ce7574 | 59 | "husky": "^8.0.3", |
e677be4d | 60 | "lint-staged": "^13.2.0", |
b08bc5bd | 61 | "prettier": "^2.8.7", |
51c84d4b | 62 | "standard": "^17.0.0", |
012eddda | 63 | "typescript": "^5.0.3" |
ed2968f2 JB |
64 | } |
65 | } |