-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
81 lines (81 loc) · 2.34 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
{
"name": "typed-graphql-builder",
"version": "0.0.0-development",
"source": "src/compile.ts",
"main": "dist/compile.js",
"cli": "dist/cli.js",
"types": "dist/compile.d.ts",
"bin": {
"typed-graphql-builder": "dist/cli.js"
},
"license": "MIT",
"devDependencies": {
"@parcel/packager-ts": "2.12.0",
"@parcel/transformer-inline-string": "2.12.0",
"@parcel/transformer-typescript-types": "2.12.0",
"@swc-node/register": "^1.5.1",
"@types/glob": "^8.0.0",
"@types/node": "^18.7.15",
"@types/tap": "^15.0.7",
"@types/yargs": "^17.0.12",
"coveralls": "^3.1.1",
"npm-run-all": "^4.1.5",
"parcel": "2.12.0",
"semantic-release": "^19.0.5",
"swc-node": "^1.0.0",
"tap": "^16.3.0",
"ts-node": "^10.9.1",
"typescript": "~5.3.0",
"util": "^0.12.4"
},
"scripts": {
"build": "parcel build --no-cache",
"test": "tap src/**/*.test.ts test/**/*.test.ts -R spec",
"test:unit": "tap src/**/*.spec.ts -R spec",
"test:watch": "tap -w test/**/*.test.ts -R spec",
"regenerate": "run-p 'regenerate:*'",
"regenerate:big-schema": "swc-node src/cli.ts --schema examples/x.graphql --output examples/x.ts",
"regenerate:small-schema": "swc-node src/cli.ts --schema examples/zeus.graphql --output examples/zeus.ts",
"regenerate:sw-schema": "swc-node src/cli.ts --schema examples/schema-sw.graphql --output examples/api-sw.ts",
"regenerate:country-schema": "swc-node src/cli.ts --schema examples/countries-schema.graphql --output examples/countries-schema.ts",
"prepublishOnly": "yarn build && yarn test",
"semantic-release": "semantic-release"
},
"targets": {
"main": {
"distDir": "./dist"
},
"cli": {
"distDir": "./dist",
"isLibrary": true,
"context": "node",
"includeNodeModules": false,
"source": "src/cli.ts"
}
},
"tap": {
"ts": true,
"lines": 80,
"statements": 80,
"branches": 80,
"functions": 80,
"timeout": 90
},
"dependencies": {
"@graphql-typed-document-node/core": "^3.1.1",
"glob": "^8.0.3",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6",
"undici": "^5.10.0",
"yargs": "^17.5.1"
},
"repository": {
"type": "git",
"url": "https://github.com/typed-graphql-builder/typed-graphql-builder.git"
},
"release": {
"branches": [
"main"
]
}
}