-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 3.09 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 3.09 KB
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
{
"name": "@smartive/graphql-magic",
"version": "0.0.0-development",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/smartive/graphql-magic"
},
"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/**/*.ts",
"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"
},
"browserslist": "> 0.25%, not dead",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@apollo/server": "^5.2.0",
"@graphql-codegen/add": "^6.0.0",
"@graphql-codegen/cli": "^6.1.1",
"@graphql-codegen/typescript": "^5.0.7",
"@graphql-codegen/typescript-operations": "^5.0.7",
"@graphql-codegen/typescript-resolvers": "^5.1.5",
"@types/node": "^25.0.9",
"code-block-writer": "^13.0.3",
"commander": "^14.0.2",
"dayjs": "^1.11.19",
"dotenv": "^17.2.3",
"graphql": "^16.12.0",
"inflection": "^3.0.2",
"knex": "^3.1.0",
"knex-schema-inspector": "^3.1.0",
"lodash": "^4.17.21",
"luxon": "^3.7.2",
"pg": "^8.17.1",
"simple-git": "^3.30.0",
"ts-morph": "^27.0.2"
},
"peerDependencies": {
"knex": "^3.0.1"
},
"devDependencies": {
"@smartive/eslint-config": "7.0.1",
"eslint-import-resolver-typescript": "4.4.4",
"@smartive/prettier-config": "3.1.2",
"@types/jest": "30.0.0",
"@types/lodash": "4.17.24",
"@types/luxon": "3.7.1",
"@types/pg": "8.20.0",
"conventional-changelog-conventionalcommits": "9.3.1",
"create-ts-index": "1.14.0",
"del-cli": "7.0.0",
"esbuild": "0.27.3",
"eslint": "9.39.4",
"jest": "30.3.0",
"mock-knex": "0.4.13",
"prettier": "3.8.3",
"ts-jest": "29.4.9",
"ts-node": "10.9.2",
"typescript": "5.9.3"
}
}