-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.94 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
{
"name": "@saasquatch/schema",
"version": "1.28.8",
"main": "types/index.js",
"types": "index.d.ts",
"repository": "git@github.com:saasquatch/schema.git",
"author": "ReferralSaaSquatch.com, Inc.",
"license": "MIT",
"files": [
"types/",
"json/",
"yaml/",
"index.d.ts"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"deploy": "np --no-cleanup --no-yarn --any-branch",
"deploy:alpha": "np --no-cleanup --no-yarn --any-branch --tag=alpha",
"version": "npm run generate && git add --all",
"generate": "npm run validate:yaml && npm run generate:version && npm run generate:types && npm run generate:yaml",
"generate:version": "cd compilers && ts-node Version.ts",
"generate:types": "shx rm -Rf types && cd compilers && ts-node SchemaToTypescript.ts",
"generate:yaml": "shx rm -Rf yaml && shx mkdir yaml && shx cp src/yaml/*.yaml yaml/",
"validate:yaml": "swagger-cli validate src/yaml/saasquatch-api.yaml",
"test": "npm run generate && ajv compile -s \"json/*.schema.json\" && jest",
"jest": "jest"
},
"devDependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.9",
"@apidevtools/swagger-cli": "^4.0.4",
"@types/ajv": "^1.0.0",
"@types/glob": "^7.2.0",
"@types/jest": "^27.4.1",
"@types/json-schema": "^7.0.10",
"@types/node": "^17.0.23",
"ajv-cli": "^3.3.0",
"ajv-formats": "^2.1.1",
"glob": "^7.2.0",
"jest": "^27.5.1",
"json-schema-to-typescript": "^10.1.5",
"jsonata": "^1.8.6",
"merge-json": "0.1.0-b.3",
"np": "^7.6.3",
"shx": "^0.3.4",
"ts-node": "^10.7.0",
"typescript": "^4.6.2",
"write-json-file": "^4.3.0"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/preprocessor.js"
},
"testMatch": [
"**/tests/*.(ts|tsx|js)"
]
},
"np": {
"releaseDraft": false
},
"prettier": {}
}