forked from ForbesLindesay/typescript-json-validator
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
114 lines (114 loc) · 2.91 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
{
"name": "@rkesters/typescript-json-validator",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"typescript-json-validator": "./lib/cli.js"
},
"files": [
"lib/"
],
"repository": {
"type": "git",
"url": "https://github.com/ForbesLindesay/typescript-json-validator.git"
},
"scripts": {
"test": "jest --no-cache",
"test:coverage": "pnpm test -- --coverage --testRegex '.*\\/__tests__\\/(?!build-parameters).*\\.test\\.ts$'",
"test:watch": "pnpm test -- --watch",
"posttest": "tsc --noEmit",
"clean": "rimraf lib && rimraf src/Example.validator.ts",
"prebuild": "pnpm clean",
"build": "tsc",
"testBuild": "pnpm clean && tsc",
"build:watch": "pnpm build -w",
"postbuild": "node lib/usage && node lib/cli src/Example.ts ExampleType && node lib/cli src/DisjointUnionExample.ts --collection && rimraf lib/__tests__",
"precommit": "pretty-quick --staged",
"prepush": "pnpm prettier:diff && pnpm test",
"prettier": "prettier --ignore-path .gitignore --write './**/*.{js,jsx,ts,tsx}'",
"prettier:diff": "cross-env prettier --ignore-path .gitignore --list-different './**/*.{js,jsx,ts,tsx}'",
"ci:test": "pnpm test -- --passWithNoTests"
},
"devDependencies": {
"@shopify/jest-koa-mocks": "3.1.5",
"@types/cross-spawn": "6.0.0",
"@types/glob": "7.1.1",
"@types/jest": "27.0.0",
"@types/json-schema": "7.0.11",
"@types/json-stable-stringify": "1.0.32",
"@types/koa": "2.0.48",
"@types/koa-router": "7.0.39",
"@types/lodash": "4.14.182",
"@types/minimatch": "3.0.3",
"@types/node": "ts3.4",
"@types/rimraf": "2.0.2",
"ajv": "6.12.0",
"browserslist": "4.20.3",
"caniuse-lite": "1.0.30001338",
"cross-env": "7.0.3",
"husky": "0.14.3",
"jest": "28.1.0",
"jest-createspyobj": "2.0.0",
"jest-diff": "28.1.0",
"jest-mock-console": "1.2.3",
"jest-summary-reporter": "0.0.2",
"prettier": "2.6.2",
"pretty-quick": "3.1.3",
"rimraf": "2.6.2",
"ts-jest": "28.0.3",
"ts-node": "9.1.1",
"tslint": "6.1.3",
"typescript": "4.6.4",
"typescript-json-schema": "0.53.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.ts",
"!src/usage.ts"
],
"watchPathIgnorePatterns": [
".*/lib/.*",
"./_tests__/output/.*"
],
"moduleFileExtensions": [
"ts",
"js"
],
"testEnvironment": "node",
"transform": {
".+\\.ts$": "ts-jest"
},
"transformIgnorePatterns": [],
"testRegex": "./__tests__/.*\\.(test|spec)\\.ts$",
"globals": {
"ts-jest": {
"diagnostics": false
}
},
"reporters": [
"default",
[
"jest-summary-reporter",
{
"failuresOnly": true
}
]
]
},
"dependencies": {
"@types/yargs": "^17.0.10",
"cross-spawn": "6.0.5",
"glob": "7.1.3",
"json-schema": "0.4.0",
"json-stable-stringify": "1.0.1",
"lodash": "4.17.21",
"minimatch": "3.0.4",
"ts-json-schema-generator": "1.0.0",
"tsconfig-loader": "1.1.0",
"yargs": "17.5.1"
},
"peerDependencies": {
"ajv": "^6.x.x"
},
"version": "4.0.0"
}