-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.68 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": "@ioki/transitland-gql-client",
"version": "2024.1.2",
"description": "gql client for transitland",
"repository": "git@github.com:ioki-mobility/transitland-gql-client.git",
"author": "Jonas Strassel <jonas.strassel@ioki.com>",
"license": "MIT",
"private": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"generate": "yarn run-s generate:* --print-label",
"generate:0-download-schema": "curl -s https://raw.githubusercontent.com/interline-io/transitland-server/main/schema/schema.graphqls > ./landing/schema.graphqls",
"generate:0-download-input": "curl -s https://raw.githubusercontent.com/interline-io/transitland-server/main/schema/input.graphqls > ./landing/input.graphqls",
"generate:0-download-directions": "curl -s https://raw.githubusercontent.com/interline-io/transitland-server/main/schema/directions.graphqls > ./landing/directions.graphqls",
"generate:0-download-gbfs": "curl -s https://raw.githubusercontent.com/interline-io/transitland-server/main/schema/gbfs.graphqls > ./landing/gbfs.graphqls",
"generate:1-client": "ts-node genql.ts",
"generate:2-bundle": "tsup",
"generate:3-cp-schema": "cp src/_client/schema.graphql dist/schema.graphql",
"postpublish": "git checkout HEAD README.md",
"prepublishOnly": "node npmReadme.js",
"release": "release-it",
"test": "jest"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@csmith/release-it-calver-plugin": "^2022.5.13",
"@genql/cli": "3.0.5",
"@graphql-tools/mock": "^8.7.5",
"@graphql-tools/schema": "^9.0.3",
"@release-it/conventional-changelog": "^5.1.0",
"@types/chance": "^1.1.3",
"@types/connect": "^3.4.35",
"@types/geojson": "^7946.0.10",
"@types/jest": "^29.0.0",
"@types/node": "^18.14.1",
"chance": "^1.1.8",
"connect": "^3.7.0",
"dotenv": "^16.0.2",
"express-graphql": "^0.12.0",
"graphql": "^16.6.0",
"husky": "^8.0.1",
"jest": "^29.0.0",
"npm-run-all": "^4.1.5",
"release-it": "^15.4.1",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
"tsup": "^6.2.3",
"typescript": "^4.8.3"
},
"peerDependencies": {
"graphql": "*"
},
"tsup": {
"entry": [
"src/index.ts"
],
"splitting": true,
"sourcemap": true,
"clean": true,
"minify": true,
"format": [
"cjs",
"esm"
],
"dts": true
}
}