-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 3.06 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
{
"name": "@smartive/graphql-magic",
"version": "0.0.0-development",
"description": "",
"source": "src/index.ts",
"type": "module",
"module": "dist/esm/index.js",
"main": "dist/cjs/index.cjs",
"types": "dist/esm/index.d.ts",
"engines": {
"node": ">=20"
},
"sideEffecs": false,
"scripts": {
"bootstrap": "npm ci && npm run generate",
"generate": "npm run generate:index-files && npm run build:bin && npm run generate:gqm-stuff && npm run generate:setup-migration",
"generate:index-files": "cti create ./src --excludes bin --withoutbackup",
"generate:gqm-stuff": "npx gqm generate",
"generate:setup-migration": "npm run build:bin && npx gqm generate-migration setup 20230912185644",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"deps": "docker-compose up",
"test": "npm run lint && npm run test:all && npm run build",
"test:all": "jest tests --no-cache --no-watchman --setupFiles dotenv/config",
"test:unit": "jest tests/unit --no-cache --no-watchman --setupFiles dotenv/config",
"test:api": "jest tests/api --no-cache --no-watchman --setupFiles dotenv/config",
"clean": "del-cli dist/**",
"prebuild": "npm run clean",
"build": "npm run build:esm && npm run build:cjs && npm run build:bin",
"build:esm": "tsc",
"build:cjs": "esbuild src/index.ts --bundle --platform=node --outdir=dist/cjs --out-extension:.js=.cjs --format=cjs --packages=external",
"build:bin": "esbuild src/bin/gqm/gqm.ts --bundle --platform=node --outdir=dist/bin --out-extension:.js=.cjs --format=cjs --packages=external"
},
"bin": {
"gqm": "dist/bin/gqm.cjs"
},
"overrides": {
"graphql": "$graphql",
"rollup": "3.29.5"
},
"browserslist": "> 0.25%, not dead",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@apollo/server": "^4.0.0",
"@graphql-codegen/add": "^5.0.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-compatibility": "^2.1.5",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typescript-resolvers": "^4.0.1",
"code-block-writer": "^12.0.0",
"commander": "^11.0.0",
"dayjs": "^1.11.10",
"dotenv": "^16.3.1",
"graphql": "^15.8.0",
"inflection": "^2.0.1",
"knex": "^3.0.1",
"knex-schema-inspector": "^3.1.0",
"lodash": "^4.17.21",
"luxon": "^3.4.4",
"pg": "^8.11.3",
"simple-git": "^3.21.0",
"ts-morph": "^19.0.0",
"uuid": "^9.0.0"
},
"peerDependencies": {
"knex": "^3.0.1"
},
"devDependencies": {
"@smartive/eslint-config": "3.3.0",
"@smartive/prettier-config": "3.1.2",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.14",
"@types/luxon": "3.4.2",
"@types/pg": "8.11.11",
"@types/uuid": "9.0.8",
"create-ts-index": "1.14.0",
"del-cli": "5.1.0",
"esbuild": "0.24.2",
"eslint": "8.57.1",
"graphql-request": "6.1.0",
"jest": "29.7.0",
"mock-knex": "0.4.13",
"prettier": "2.8.8",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.5.4"
}
}