Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.4 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.4 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
{
"name": "json-graphql-server",
"version": "3.3.2",
"type": "module",
"main": "./dist/json-graphql-server.cjs",
"module": "./dist/json-graphql-server.js",
"exports": {
".": {
"types": "./dist/client.d.ts",
"import": "./dist/json-graphql-server.js",
"require": "./dist/json-graphql-server.cjs"
},
"./node": {
"types": "./dist/node.d.ts",
"import": "./dist/json-graphql-server-node.js",
"require": "./dist/json-graphql-server-node.cjs"
}
},
"repository": "git@github.com:marmelab/json-graphql-server.git",
"authors": [
"François Zaninotto",
"Gildas Garcia"
],
"files": [
"*.md",
"dist",
"src",
"bin"
],
"license": "MIT",
"scripts": {
"check": "biome check",
"format": "biome format --write src",
"lint": "biome lint --write src",
"precommit": "lint-staged",
"test": "cross-env NODE_ENV=test vitest",
"server": "node ./bin/json-graphql-server.cjs example/data.cjs",
"build": "npm run build-esm-cjs && npm run build-node && npm run build-umd && npm run build-ts",
"build-ts": "tsc",
"build-esm-cjs": "vite build",
"build-node": "vite build -c ./vite.config.node.js",
"build-umd": "vite build -c ./vite.config.umd.js",
"prepublishOnly": "npm run build"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"biome check --write"
]
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/express": "^5.0.6",
"cross-env": "^7.0.3",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"supertest": "^7.0.0",
"typescript": "^5.7.3",
"vite": "^7.0.0",
"vitest": "^4.1.0"
},
"dependencies": {
"@apollo/client": "^3.12.11",
"@graphql-tools/schema": "^10.0.18",
"cors": "^2.8.5",
"express": "^5.2.1",
"graphql": "^16.10.0",
"graphql-http": "^1.22.4",
"graphql-type-json": "^0.3.2",
"inflection": "^3.0.2",
"lodash.merge": "^4.6.2",
"xhr-mock": "^2.5.1"
},
"bin": {
"json-graphql-server": "bin/json-graphql-server.cjs"
},
"allowScripts": {
"@biomejs/biome@1.9.4": true,
"esbuild@0.28.2": true,
"fsevents@2.3.3": true
}
}