-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.36 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.36 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
{
"name": "@snapwp/query",
"version": "0.4.0",
"license": "AGPL-3.0",
"description": "Internal package for SnapWP",
"author": "rtCamp",
"type": "module",
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0",
"yarn": "please-use-npm"
},
"files": [
"dist"
],
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/types/index.d.ts"
},
"scripts": {
"build": "tsc --build",
"postbuild": "npm run resolve-paths",
"force-build": "tsc --build --force",
"postforce-build": "npm run resolve-paths",
"dev": "tsc-watch -b --onSuccess \"npm run resolve-paths\"",
"resolve-paths": "resolve-tspaths",
"codegen": "graphql-codegen --config codegen.ts",
"codegen:watch": "graphql-codegen --config codegen.ts --watch",
"lint": "eslint . --config ../../.eslintrc.json",
"lint:fix": "eslint . --config ../../.eslintrc.json --fix",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@graphql-typed-document-node/core": "^3.2.0"
},
"peerDependencies": {
"@apollo/client": "^3.11.4",
"@snapwp/core": "^0.4.0",
"graphql": "^16.9.0",
"react": "^19.0.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^6.3.0",
"@parcel/watcher": "^2.5.6",
"@snapwp/codegen-config": "*",
"@snapwp/types": "*",
"@types/react": "*",
"dotenv": "^17.4.2",
"resolve-tspaths": "*",
"tsc-watch": "*",
"typescript": "*"
}
}