This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.27 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
89
90
91
{
"name": "soyuz",
"version": "0.0.0-development",
"description": "Fast, minimal, streaming GraphQL client.",
"keywords": [],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"author": "Christian Stewart <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/rgraphql/soyuz.git"
},
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"lint": "eslint -c .eslintrc.js --ext .ts ./src",
"prebuild": "rimraf dist",
"build": "esbuild ./src/index.ts --outdir=./dist --format=cjs --bundle && tsc --emitDeclarationOnly --declaration --project tsconfig.json && typedoc --out docs --theme default src",
"format": "prettier --write './!(vendor|dist|docs)/**/(*.ts|*.tsx|*.html|*.css)'",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"precommit": "lint-staged",
"semantic-release": "semantic-release"
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"testPathIgnorePatterns": [
"/dist/"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverage": false
},
"prettier": {
"semi": false,
"singleQuote": true
},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/node": "^20.10.3",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"semantic-release": "^22.0.8",
"ts-jest": "^29.1.1",
"typedoc": "^0.25.4",
"typescript": "^5.3.2"
},
"dependencies": {
"esbuild": "^0.19.8",
"graphql": "^16.8.1",
"lru_map": "^0.4.1",
"rgraphql": "^1.1.2"
}
}