-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.83 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
{
"version": "1.4.2",
"license": "MIT",
"name": "uniform-distribution",
"author": "Matt Czapliński <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/MattCCC/uniform-distribution.git"
},
"main": "dist/browser/index.mjs",
"typings": "dist/index.d.ts",
"keywords": [
"uniform-distribution",
"mersenne-twister",
"uniform-distribution",
"browser",
"node"
],
"engines": {
"node": ">=19"
},
"scripts": {
"start": "tsup src/index.ts --watch",
"build": "node ./scripts/build.js",
"build:browser": "tsup src/index.ts --dts --format esm,iife --sourcemap --env.NODE_ENV production --minify --dts-resolve",
"build:node": "tsup src/index.ts --dts --format cjs --sourcemap --env.NODE_ENV production --minify",
"test": "jest --forceExit",
"lint": "eslint --ext .js,.ts",
"release": "npm version patch && git push --tags",
"prepare": "npm run build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"module": "dist/browser/index.mjs",
"size-limit": [
{
"path": "dist/browser/index.mjs",
"limit": "10 KB"
},
{
"path": "dist/browser/index.global.js",
"limit": "50 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^8.0.1",
"@types/jest": "^29.0.0",
"eslint": "^8.23.0",
"husky": "^8.0.1",
"jest": "^29.0.1",
"promise-any": "0.2.0",
"rollup-plugin-bundle-imports": "^1.5.1",
"size-limit": "^8.0.1",
"ts-jest": "^29.0.0-next.0",
"tslib": "^2.4.0",
"tsup": "^6.2.3",
"typescript": "^4.8.2"
},
"dependencies": {
"mersenne-twister": "^1.1.0"
}
}