-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
115 lines (115 loc) · 3.09 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "pure-rand",
"version": "6.1.0",
"description": " Pure random number generator written in TypeScript",
"type": "commonjs",
"main": "lib/pure-rand.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": {
"types": "./lib/types/pure-rand.d.ts",
"default": "./lib/pure-rand.js"
},
"import": {
"types": "./lib/esm/types/pure-rand.d.ts",
"default": "./lib/esm/pure-rand.js"
}
}
},
"./distribution/*": {
"require": {
"types": "./lib/types/distribution/*.d.ts",
"default": "./lib/distribution/*.js"
},
"import": {
"types": "./lib/esm/types/distribution/*.d.ts",
"default": "./lib/esm/distribution/*.js"
}
},
"./generator/*": {
"require": {
"types": "./lib/types/generator/*.d.ts",
"default": "./lib/generator/*.js"
},
"import": {
"types": "./lib/esm/types/generator/*.d.ts",
"default": "./lib/esm/generator/*.js"
}
},
"./types/*": {
"require": {
"types": "./lib/types/types/*.d.ts",
"default": "./lib/types/*.js"
},
"import": {
"types": "./lib/esm/types/types/*.d.ts",
"default": "./lib/esm/types/*.js"
}
},
"module": "lib/esm/pure-rand.js",
"types": "lib/types/pure-rand.d.ts",
"files": [
"lib"
],
"sideEffects": false,
"packageManager": "[email protected]",
"scripts": {
"format:check": "prettier --list-different .",
"format": "prettier --write .",
"build": "tsc && tsc -p ./tsconfig.declaration.json",
"build:esm": "tsc --module es2015 --outDir lib/esm --moduleResolution node && tsc -p ./tsconfig.declaration.json --outDir lib/esm/types && cp package.esm-template.json lib/esm/package.json",
"build:prod": "yarn build && yarn build:esm && node postbuild/main.cjs",
"build:prod-ci": "cross-env EXPECT_GITHUB_SHA=true yarn build:prod",
"test": "jest --config jest.config.js --coverage",
"build:bench:old": "tsc --outDir lib-reference/",
"build:bench:new": "tsc --outDir lib-test/",
"bench": "node perf/benchmark.cjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dubzzz/pure-rand.git"
},
"author": "Nicolas DUBIEN <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dubzzz/pure-rand/issues"
},
"homepage": "https://github.com/dubzzz/pure-rand#readme",
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.10.1",
"cross-env": "^7.0.3",
"fast-check": "^3.23.1",
"jest": "^29.7.0",
"prettier": "3.4.1",
"replace-in-file": "^7.2.0",
"source-map-support": "^0.5.21",
"tinybench": "^2.9.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
},
"keywords": [
"seed",
"random",
"prng",
"generator",
"pure",
"rand",
"mersenne",
"random number generator",
"fastest",
"fast"
],
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/dubzzz"
},
{
"type": "opencollective",
"url": "https://opencollective.com/fast-check"
}
]
}