generated from mizdra/npm-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
102 lines (102 loc) · 2.71 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
92
93
94
95
96
97
98
99
100
101
102
{
"name": "@mizdra/graphql-codegen-typescript-fabbrica",
"description": "GraphQL Code Generator Plugin to define mock data factory.",
"version": "0.6.1",
"type": "module",
"sideEffects": false,
"repository": "https://github.com/mizdra/graphql-codegen-typescript-fabbrica.git",
"author": "mizdra <[email protected]>",
"license": "MIT",
"private": false,
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./helper": {
"import": {
"types": "./dist/esm/helper/index.d.ts",
"default": "./dist/esm/helper/index.js"
},
"require": {
"types": "./dist/cjs/helper/index.d.cts",
"default": "./dist/cjs/helper/index.cjs"
}
}
},
"workspaces": [
"e2e/01-esm",
"e2e/02-cjs",
"e2e/03-browser"
],
"scripts": {
"build": "run-s -c build:*",
"build:esm": "tsc -p tsconfig.build.json",
"build:cjs": "tsup",
"lint": "run-s -c lint:*",
"lint:tsc": "tsc",
"lint:eslint": "eslint .",
"lint:prettier": "prettier --check .",
"test": "vitest",
"e2e": "run-s -c setup-playwright build e2e:*",
"e2e:esm": "npm -w e2e/01-esm run start",
"e2e:cjs": "npm -w e2e/02-cjs run start",
"e2e:browser": "npm -w e2e/03-browser run start",
"e2e:composite": "npm --prefix e2e/04-composite run start",
"setup-playwright": "npx playwright install --with-deps chromium"
},
"prettier": "@mizdra/prettier-config-mizdra",
"devDependencies": {
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/typescript": "^4.0.9",
"@mizdra/eslint-config-mizdra": "^6.0.0",
"@mizdra/prettier-config-mizdra": "^2.0.0",
"@tsconfig/node18": "^18.2.4",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^22.5.5",
"@vitest/browser": "^2.1.1",
"eslint": "^9.10.0",
"graphql": "^16.9.0",
"npm-run-all": "^4.1.5",
"playwright": "^1.47.1",
"prettier": "^3.3.3",
"tsup": "^8.2.4",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
},
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"testing",
"mock",
"graphql",
"graphql-code-generator"
],
"files": [
"src",
"!src/test",
"!src/**/*.test.ts",
"!src/**/__snapshots__",
"dist"
],
"peerDependencies": {
"graphql": "^16.0.0"
},
"dependencies": {
"@graphql-codegen/plugin-helpers": "^5.0.1",
"@graphql-codegen/visitor-plugin-common": "^4.0.1",
"graphql-relay": "^0.10.2"
}
}