-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
93 lines (93 loc) · 2.76 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
{
"name": "randomator",
"private": false,
"version": "3.1.1",
"description": "composable random generators",
"main": "build/main/index.js",
"types": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/Hypercubed/Randomator",
"license": "MIT",
"keywords": [],
"scripts": {
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.main.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint \"src/**/*.{js,ts}\" --ext .ts --fix",
"test": "run-s test:*",
"test:lint": "eslint \"src/**/*.{js,ts}\" --ext .ts",
"test:prettier": "prettier \"src/**/*.{ts,js,css,md}\" --check",
"test:tsd": "tsd && echo \"Types verified\"",
"test:unit": "jest --coverage --no-cache",
"watch:build": "tsc -p tsconfig.main.json -w",
"watch:test": "jest --watch",
"ci": "run-s check test:unit",
"ci:unit": "jest --coverage --no-cache --ci",
"version": "chg release -y && git add -A CHANGELOG.md",
"prepare": "run-s build",
"np": "np",
"check": "run-s test:lint test:prettier",
"coverage": "jest --coverage",
"audit": "run-s audit:*",
"audit:npm": "npm audit --production",
"audit:npm-check": "npm-check --skip-unused || true",
"benchmark": "ts-node ./bench.ts",
"npm-update": "npm-check --skip-unused -u",
"docs": "run-s docs:*",
"docs:html": "typedoc src/index.ts",
"docs:publish": "gh-pages -d ./docs --user \"J. Harshbarger <hypercubed@gmail.com>\""
},
"engines": {
"node": ">=10"
},
"devDependencies": {
"@swimlane/eslint-config": "^2.0.0",
"@swimlane/prettier-config-swimlane": "^3.0.3",
"@trust/webcrypto": "^0.9.2",
"@types/jest": "^27.4.0",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"chg": "^0.4.0",
"chi-squared": "^1.1.0",
"chuhai": "^1.2.0",
"distributions": "^2.1.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-security": "^1.4.0",
"faker": "^5.5.3",
"gh-pages": "^3.2.3",
"husky": "^4.3.8",
"itertools": "^1.7.1",
"jest": "^27.5.0",
"np": "^7.6.0",
"npm-check": "^5.9.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"ts-node": "^10.4.0",
"tsd": "^0.19.1",
"typedoc": "^0.22.11",
"typescript": "^4.5.5"
},
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"husky": {
"hooks": {
"pre-push": "npm run check"
}
},
"tsd": {
"directory": "src"
}
}