-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 2.11 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
{
"name": "@diplomatiq/crypto-random",
"version": "3.0.0",
"description": "Generate cryptographically strong, uniformly distributed random integers from custom intervals, strings from custom character sets, and boolean values.",
"main": "dist/main.js",
"module": "dist/main.js",
"types": "dist/main.d.ts",
"engines": {
"node": ">=11.0.0"
},
"scripts": {
"build": "tsc",
"check-release-tag": "node --experimental-modules scripts/check-release-tag.mjs",
"clean": "rm -r ./dist/",
"lint": "eslint ./src/ ./test/ --ext .ts",
"prepublishOnly": "npm run check-release-tag && npm run lint && npm run build && npm run test",
"test": "cross-env-shell TS_NODE_PROJECT=tsconfig.test.json nyc --reporter=lcov --reporter=text mocha --require ts-node/register --require source-map-support/register --recursive test/specs/**/*.test.ts",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Diplomatiq/crypto-random.git"
},
"keywords": [
"random",
"generation",
"secure",
"strong",
"cryptography",
"number",
"string",
"uniform",
"distribution"
],
"author": "Diplomatiq",
"license": "MIT",
"bugs": {
"url": "https://github.com/Diplomatiq/crypto-random/issues"
},
"homepage": "https://github.com/Diplomatiq/crypto-random#readme",
"devDependencies": {
"@commitlint/cli": "^12.0.1",
"@diplomatiq/eslint-config-tslib": "^5.0.0",
"@types/chai": "^4.2.15",
"@types/mocha": "^8.2.2",
"@types/node": "^16.9.0",
"@types/sinon": "^9.0.11",
"chai": "^4.3.4",
"conventional-changelog-cli": "^2.1.1",
"cross-env": "^7.0.3",
"husky": "^6.0.0",
"mocha": "^9.1.1",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"sinon": "^10.0.0",
"source-map-support": "^0.5.19",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"files": [
"dist/**/*"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run lint && npm run build && npm run test"
}
}
}