bias-random 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +28 -9
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bias-random",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Generates biased random numbers with a customizable bias level, direction, and range",
|
|
5
5
|
"author": "Reid Moffat <reid.moffat9@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,19 +25,36 @@
|
|
|
25
25
|
"skewed-distribution"
|
|
26
26
|
],
|
|
27
27
|
"type": "module",
|
|
28
|
-
"main": "dist/index.
|
|
29
|
-
"module": "dist/index.
|
|
28
|
+
"main": "dist/index.cjs",
|
|
29
|
+
"module": "dist/index.js",
|
|
30
30
|
"types": "dist/index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"import": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"default": "./dist/index.js"
|
|
37
|
+
},
|
|
38
|
+
"require": {
|
|
39
|
+
"types": "./dist/index.d.cts",
|
|
40
|
+
"default": "./dist/index.cjs"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
31
44
|
"scripts": {
|
|
32
45
|
"lint": "tsc",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
46
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --minify --clean",
|
|
47
|
+
"test": "pnpm run build && pnpm run loadTS && mocha",
|
|
35
48
|
"deployHelp": "echo 1) Run 'changeset' 2) Merge changes to main 3) Merge changeset PR 4) npm run deploy (verify it looks good)",
|
|
36
|
-
"deploy": "git checkout main && git pull && npm run build && npm publish"
|
|
49
|
+
"deploy": "git checkout main && git pull && npm run build && npm publish",
|
|
50
|
+
"loadTS": "cross-env TS_NODE_PROJECT='./tsconfig.json'"
|
|
37
51
|
},
|
|
38
52
|
"files": [
|
|
53
|
+
"dist",
|
|
39
54
|
"CHANGELOG.md",
|
|
40
|
-
"
|
|
55
|
+
"LICENSE",
|
|
56
|
+
"README.md",
|
|
57
|
+
"package.json"
|
|
41
58
|
],
|
|
42
59
|
"repository": {
|
|
43
60
|
"type": "git",
|
|
@@ -54,8 +71,10 @@
|
|
|
54
71
|
"generate-arrays": "^2.0.0",
|
|
55
72
|
"mocha": "^10.7.3",
|
|
56
73
|
"suite-metrics": "^1.3.1",
|
|
74
|
+
"test-inputs": "^1.3.0",
|
|
57
75
|
"ts-node": "^10.9.2",
|
|
58
|
-
"tsup": "^8.
|
|
76
|
+
"tsup": "^8.5.0",
|
|
59
77
|
"typescript": "^5.6.2"
|
|
60
|
-
}
|
|
78
|
+
},
|
|
79
|
+
"packageManager": "pnpm@10.18.3"
|
|
61
80
|
}
|