This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
generated from holvonix-open/hx-node-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
138 lines (138 loc) · 4.43 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "io-ts-fuzzer",
"version": "4.3.2",
"description": "Fuzzing for io-ts codecs and types",
"repository": {
"type": "git",
"url": "https://github.com/holvonix-open/io-ts-fuzzer.git"
},
"keywords": [
"io-ts",
"codecs",
"fuzzer",
"fuzzing",
"security"
],
"engines": {
"node": "^10.0.0 || ^ 12.0.0",
"yarn": "^1.0.0"
},
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"files": [
"build/src/**/*.js",
"build/src/**/*.d.ts",
"CHANGELOG.md",
"LICENSE",
"NOTICE",
"README.md"
],
"author": "Holvonix LLC",
"license": "Apache-2.0",
"private": false,
"scripts": {
"t": "yarn test --inspect --grep='#e2e|#int' --invert",
"watch:build": "yarn run --silent build:core --watch",
"watch:test": "yarn run --silent test-impl --watch --grep='#e2e|#int' --invert -R min",
"watch:test-cov": "chokidar --throttle 750 --debounce 500 --silent --initial \"build/**/*.js\" -c \"yarn run --silent watch:test-impl\"",
"watch:test-impl": "yarn run --silent test-impl-lcov --grep='#e2e|#int' --invert -R min",
"w": "yarn run clean && yarn run build && concurrently --raw -n tsc,mocha \"yarn run --silent watch:build\" \"yarn run --silent watch:test\"",
"wc": "yarn run clean && yarn run build && concurrently --raw -n tsc,mocha \"yarn run --silent watch:build\" \"yarn run --silent watch:test-cov\"",
"prepare": "yarn clean && yarn run check && yarn run build",
"build:core": "tsc -p .",
"build": "yarn build:core",
"clean.builds": "gts clean",
"pretty.check": "prettier --check $npm_package_prettierGlob_include",
"pretty.fix": "prettier --write $npm_package_prettierGlob_include",
"clean": "yarn clean.builds && yarn clean.tests",
"clean.tests": "rm -rf *.lcov .nyc_output *.log coverage",
"test:postinstall": "yarn clean && yarn build && yarn test-impl --grep='#e2e' --invert",
"test": "yarn clean && yarn build && yarn test-impl",
"test-impl": "nyc --reporter=text --reporter=lcov mocha",
"test-impl-lcov": "nyc --reporter=lcov mocha",
"test-coverage": "yarn test && yarn report-coverage",
"report-coverage": "nyc report --reporter=json && codecov -F unit -f coverage/*.json",
"lint": "yarn fix && yarn run check",
"check": "yarn run pretty.check && gts check",
"fix": "yarn run pretty.fix && gts fix",
"test.examples": "cd examples/quickstart && ts-node index.ts",
"preversion": "yarn test && yarn test.examples",
"docs": "yarn clean && yarn build && rm -rf docs && mkdir -p docs && ( mocha --grep='#private' --invert -R markdown >docs/index.md )",
"test-unit": "yarn test --grep='#e2e|#int' --invert",
"test-e2e": "yarn test --grep='#e2e'",
"test-int": "yarn test --grep='#int'",
"up": "yarn upgrade-interactive --latest",
"yarn": "rm -rf yarn.lock node_modules/ && yarn",
"semantic-release": "semantic-release"
},
"prettierGlob": {
"include": "**/*.yml **/*.yaml **/*.md **/*.json *.js !CHANGELOG.md"
},
"sideEffects": false,
"husky": {
"hooks": {
"pre-commit": "yarn clean && yarn run check && yarn test:postinstall && yarn test.examples"
}
},
"release": {
"extends": "@holvonix-open/release-config-js"
},
"nyc": {
"skip-full": true,
"cache": false,
"extension": [
".ts",
".tsx"
],
"require": [
"source-map-support/register",
"ts-node/register"
],
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"build/src/**/*.js",
"build/src/**/*.jsx"
],
"exclude": [],
"all": true
},
"mocha": {
"require": [
"source-map-support/register",
"ts-node/register"
],
"forbid-pending": true,
"spec": "./build/test/**/test-*.js"
},
"dependencies": {
"@types/seedrandom": "^2.4.28",
"seedrandom": "^3.0.1"
},
"devDependencies": {
"@holvonix-open/release-config-js": "^1.0.12",
"@types/chai": "^4.2.4",
"@types/mocha": "^5.2.5",
"@types/node": "^12.12.7",
"chai": "^4.2.0",
"chokidar-cli": "^2.1.0",
"codecov": "^3.6.1",
"concurrently": "^5.0.0",
"fp-ts": "^2.1.2",
"gts": "^1.1.0",
"husky": "^3.0.9",
"io-ts": "^2.0.1",
"io-ts-types": "^0.5.2",
"mocha": "^6.2.2",
"monocle-ts": "^2.0.0",
"nyc": "^15.0.0",
"ts-mocha": "^6.0.0",
"typescript": "~3.7.2"
},
"peerDependencies": {
"fp-ts": "^2.0.4",
"io-ts": "^2.0.1",
"io-ts-types": "^0.5.0",
"monocle-ts": "^2.0.0"
}
}