-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpackage.json
78 lines (78 loc) · 2.27 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
{
"name": "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": "yarn test --coverage",
"test:watch": "yarn test --watch",
"posttest": "tsc --noEmit",
"clean": "rimraf lib && rimraf src/Example.validator.ts",
"prebuild": "yarn clean",
"build": "tsc",
"build:watch": "yarn 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": "yarn prettier:diff && yarn test",
"prettier": "prettier --ignore-path .gitignore --write './**/*.{js,jsx,ts,tsx}'",
"prettier:diff": "prettier --ignore-path .gitignore --list-different './**/*.{js,jsx,ts,tsx}'",
"ci:test": "yarn prettier:diff && yarn test"
},
"devDependencies": {
"@types/jest": "^23.1.5",
"@types/koa": "^2.0.48",
"@types/koa-router": "^7.0.39",
"@types/node": "^10.5.2",
"@types/rimraf": "^2.0.2",
"husky": "^0.14.3",
"jest": "^23.3.0",
"prettier": "^1.13.7",
"pretty-quick": "^1.6.0",
"rimraf": "^2.6.2",
"ts-jest": "^23.0.0",
"ts-node": "^8.3.0",
"tslint": "^5.10.0",
"typescript": "^3.4.5"
},
"jest": {
"watchPathIgnorePatterns": [
".*/lib/.*",
".*/src/Example.validator\\.ts",
".*/src/__tests__/output/.*"
],
"moduleFileExtensions": [
"ts",
"js"
],
"testEnvironment": "node",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"transformIgnorePatterns": [],
"testRegex": ".*/__tests__/.*\\.(test|spec)\\.ts$"
},
"dependencies": {
"@types/ajv": "^1.0.0",
"@types/cross-spawn": "^6.0.0",
"@types/glob": "^7.1.1",
"@types/json-stable-stringify": "^1.0.32",
"@types/minimatch": "^3.0.3",
"cross-spawn": "^6.0.5",
"glob": "^7.1.3",
"json-stable-stringify": "^1.0.1",
"minimatch": "^3.0.4",
"tsconfig-loader": "^1.1.0",
"typescript-json-schema": "^0.38.3",
"yargs": "^13.2.4"
}
}