-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.13 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.13 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
{
"name": "@drawbotics/urql-computed-exchange",
"version": "2.1.0",
"description": "URQL exchange to allow computed properties in GraphQL queries.",
"keywords": ["urql", "exchange", "graphql", "computed", "resolvers"],
"license": "UNLICENSED",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/cjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/esm/index.d.ts",
"default": "./lib/esm/index.js"
},
"require": {
"types": "./lib/cjs/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"files": [
"lib/"
],
"sideEffects": false,
"engines": {
"node": ">=16"
},
"repository": {
"type": "git",
"url": "https://github.com/Drawbotics/urql-computed-exchange"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"scripts": {
"clean": "rimraf lib/",
"build": "tsc && tsc -p tsconfig.esm.json && echo '{\"type\":\"module\"}' > lib/esm/package.json",
"build:watch": "tsc -w",
"test": "jest",
"test:watch": "jest --watch",
"test:integration": "jest --config ./jest.integration.config.js",
"test:integration:watch": "jest --config ./jest.integration.config.js --watch",
"test:all": "jest && jest --config ./jest.integration.config.js",
"prepublishOnly": "npm run clean && npm run build",
"prepare": "husky"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --max-warnings=0"
},
"peerDependencies": {
"graphql": "^15.0.0 || ^16.0.0",
"urql": "^3.0.0 || ^4.0.0 || ^5.0.0",
"wonka": "^5.0.0 || ^6.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jest": "^29.5.14",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"eslint": "^10.0.3",
"eslint-plugin-jest": "^29.15.0",
"graphql": "^16.13.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.6",
"typescript": "^5.9.3",
"urql": "^5.0.1",
"wonka": "^6.3.5"
}
}