/
package.json
63 lines (63 loc) · 2.01 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "pure-rand",
"version": "4.1.1",
"description": " Pure random number generator written in TypeScript",
"type": "commonjs",
"main": "lib/pure-rand.js",
"exports": {
".": {
"require": "./lib/pure-rand.js",
"default": "./lib/esm/pure-rand.js"
}
},
"module": "lib/esm/pure-rand.js",
"types": "lib/types/pure-rand.d.ts",
"sideEffects": false,
"scripts": {
"format:check": "prettier --list-different \"**/*.{js,ts}\"",
"format:fix": "prettier --write \"**/*.{js,ts}\"",
"build": "tsc && tsc -p ./tsconfig.declaration.json",
"build:esm": "tsc --module es2015 --outDir lib/esm --moduleResolution node && cp package.esm-template.json lib/esm/package.json",
"build:prod": "yarn build && yarn build:esm && node postbuild/main.cjs",
"test": "jest --config jest.config.js --coverage",
"coverage": "cat ./coverage/lcov.info | coveralls",
"build:bench:old": "tsc --target es6",
"build:bench:new": "tsc --target es6 --outDir lib-new/",
"bench": "node perf/benchmark.cjs",
"auto:bench": "git stash && yarn build:bench:old && git stash pop && yarn build:bench:new && yarn bench"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dubzzz/pure-rand.git"
},
"author": "Nicolas DUBIEN <github@dubien.org>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dubzzz/pure-rand/issues"
},
"homepage": "https://github.com/dubzzz/pure-rand#readme",
"dependencies": {},
"devDependencies": {
"@types/jest": "^26.0.4",
"@types/node": "^14.0.13",
"benchmark": "^2.1.4",
"chalk": "^4.1.0",
"console-table-printer": "2.5.1",
"coveralls": "^3.0.9",
"fast-check": "^2.7.0",
"glob": "^7.1.6",
"jest": "^26.1.0",
"microtime": "^3.0.0",
"prettier": "2.2.1",
"replace-in-file": "^6.1.0",
"source-map-support": "^0.5.16",
"ts-jest": "^26.1.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.2",
"yargs": "^16.0.3"
},
"keywords": [
"pure random",
"random number generator"
]
}