-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 3.51 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
{
"name": "graphql-intuitive-request",
"version": "0.2.0",
"private": true,
"description": "Intuitive and (more importantly) TS-friendly GraphQL client for queries, mutations and subscriptions",
"keywords": [
"graphql",
"request",
"graphql-client",
"typesafe",
"ts-friendly",
"graphql-ws",
"subscription"
],
"homepage": "https://github.com/Snowfly-T/graphql-intuitive-request",
"repository": {
"type": "git",
"url": "https://github.com/Snowfly-T/graphql-intuitive-request.git"
},
"license": "MIT",
"author": "Snowflyt <[email protected]>",
"type": "module",
"exports": {
".": {
"require": {
"require": "./cjs/index.js",
"types": "./types/index.d.ts"
},
"import": {
"import": "./esm/index.js",
"types": "./types/index.d.ts"
}
},
"./package.json": "./package.json"
},
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./types/index.d.ts",
"scripts": {
"prebuild": "npm run clean",
"build": "cpy ./package.json ./build/ && replace-in-file \" \\\"private\\\": true,\" \"\" ./build/package.json && replace-in-file \" \\\"prepare\\\": \\\"husky\\\",\" \"\" ./build/package.json && prettier --loglevel=silent --print-width 80 --write ./build/package.json && cpy ./docs/ ./build/ && cpy ./README.md ./build/ && cpy ./LICENSE ./build/ && tsc -p tsconfig.esm.json && cpy ./build/types/types/**/*.d.ts ./build/types/ && rimraf ./build/types/types && rimraf ./build/esm/types && tsc -p tsconfig.cjs.json && rimraf ./build/cjs/types && prettier --loglevel=silent --print-width 80 --write ./build/**/*.js && prettier --loglevel=silent --print-width 80 --write ./build/**/*.d.ts && replace-in-file /\\.\\/types\\//g ./ ./build/**/*.d.ts --isRegex && eslint --fix ./build/esm/**/*.js && eslint --fix ./build/**/*.d.ts",
"clean": "rimraf build",
"format": "prettier --write {src,test}/**/*.{js,ts,json} *.{js,cjs,mjs,ts,cts,mts,json,md}",
"lint": "eslint {src,test}/**/*.{js,ts} *.{js,cjs,mjs,ts,cts,mts} --report-unused-disable-directives-severity error --max-warnings 0",
"lint:fix": "eslint --fix {src,test}/**/*.{js,ts} *.{js,cjs,mjs,ts,cts,mts} --report-unused-disable-directives-severity error --max-warnings 0",
"prepare": "husky",
"test": "vitest run",
"test-types": "typroof",
"test:cov": "vitest run --coverage",
"test:ui": "vitest --ui --coverage.enabled=true",
"test:watch": "vitest",
"test:watch-cov": "vitest --coverage"
},
"dependencies": {
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"graphql-ws": "^5.15.0"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@types/lint-staged": "^13.3.0",
"@types/node": "^20.11.30",
"@types/prettier": "^2.7.3",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@vitest/coverage-v8": "^1.4.0",
"@vitest/ui": "^1.4.0",
"cpy-cli": "^5.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^2.8.8",
"prettier-plugin-packagejson": "^2.4.12",
"replace-in-file": "^7.1.0",
"rimraf": "^5.0.5",
"typescript": "^5.4.3",
"typroof": "^0.2.7",
"vitest": "^1.4.0",
"ws": "^8.16.0"
}
}