/
package.json
101 lines (101 loc) · 3.89 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
{
"name": "type-enforcer-math",
"version": "1.3.3",
"description": "An extension of type-enforcer with Math related data types and enforcer functions",
"type": "module",
"keywords": [
"type",
"enforce",
"method"
],
"license": "MIT",
"author": {
"name": "Darren Paul Wright",
"email": "Darren@DarrenPaulWright.com",
"url": "https://www.darrenpaulwright.com"
},
"homepage": "https://github.com/DarrenPaulWright/type-enforcer-math#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/DarrenPaulWright/type-enforcer-math.git"
},
"bugs": {
"url": "https://github.com/DarrenPaulWright/type-enforcer-math/issues"
},
"main": "index.js",
"types": "types/index.d.ts",
"files": [
"/types",
"/src"
],
"sideEffects": false,
"badges": {
"npm": {
"image": "https://img.shields.io/npm/v/type-enforcer-math.svg",
"url": "https://npmjs.com/package/type-enforcer-math"
},
"build": {
"base": "https://travis-ci.org/DarrenPaulWright/",
"image": "type-enforcer-math.svg?branch=master",
"url": "type-enforcer-math"
},
"coverage": {
"base": "https://coveralls.io/",
"image": "repos/github/DarrenPaulWright/type-enforcer-math/badge.svg?branch=master",
"url": "github/DarrenPaulWright/type-enforcer-math?branch=master"
},
"deps": {
"image": "https://david-dm.org/DarrenPaulWright/type-enforcer-math.svg",
"url": "https://david-dm.org/DarrenPaulWright/type-enforcer-math"
},
"size": {
"base": "https://packagephobia.now.sh/",
"image": "badge?p=type-enforcer-math",
"url": "result?p=type-enforcer-math"
},
"vulnerabilities": {
"base": "https://snyk.io/test/github/DarrenPaulWright/type-enforcer-math",
"image": "/badge.svg?targetFile=package.json",
"url": "?targetFile=package.json"
},
"license": {
"image": "https://img.shields.io/github/license/DarrenPaulWright/type-enforcer-math.svg",
"url": "https://npmjs.com/package/type-enforcer-math/LICENSE.md"
}
},
"scripts": {
"test": "",
"test-watch": "",
"bench": "",
"preversion": "npm test && npm run docs && git add --all && git diff HEAD --quiet || git commit -m \"Updating docs\"",
"postversion": "npm publish",
"postpublish": "git push --follow-tags",
"pre-clean": "rm -rf node_modules && del /f package-lock.json",
"clean": "npm run pre-clean && npm install && npm audit fix",
"update": "ncu -u && git diff --quiet || npm install && npm audit fix",
"update-clean": "npm run pre-clean && npm run update",
"update-commit": "npm run update && npm test && git add --all && git diff HEAD --quiet || git commit -m \"Updating dependencies\"",
"update-patch": "npm run update && npm test && git add --all && git diff HEAD --quiet || git commit -m \"Updating dependencies\" && npm version patch",
"docs:readme": "jsdoc2md ./index.js src/**/*.js > README.md -t node_modules/dmd-readable/overview.hbs --plugin dmd-readable/overview-plugin.js",
"docs:enforce": "jsdoc2md src/enforcer/**/*.js > docs/enforce.md -t node_modules/dmd-readable/docs.hbs --plugin dmd-readable",
"docs:method": "jsdoc2md src/methods/**/*.js > docs/method.md -t node_modules/dmd-readable/docs.hbs --plugin dmd-readable",
"docs:checks": "jsdoc2md src/checks/**/*.js > docs/is.md -t node_modules/dmd-readable/docs.hbs --plugin dmd-readable",
"docs:main": "exec-each --out docs/{basefile}.md src/*.js jsdoc2md -- {path} -t node_modules/dmd-readable/docs.hbs --plugin dmd-readable",
"docs:utility": "exec-each --out docs/{basefile}.md src/utility/*.js jsdoc2md -- {path} -t node_modules/dmd-readable/docs.hbs --plugin dmd-readable",
"docs:types": "rm -rf dist && tsc",
"docs": "run-p docs:*"
},
"dependencies": {
"type-enforcer": "^1.2.5"
},
"devDependencies": {
"display-value": "^2.2.0",
"dmd-readable": "^1.2.4",
"exec-each": "0.0.3",
"jsdoc-to-markdown": "^8.0.0",
"npm-run-all": "^4.1.5",
"object-agent": "^1.6.0",
"type-enforcer-test-helper": "^1.3.10",
"typescript": "^5.2.2"
}
}