-
-
Notifications
You must be signed in to change notification settings - Fork 548
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.56 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.56 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
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
103
104
105
{
"name": "graphql-voyager",
"version": "2.1.0",
"description": "GraphQL introspection viewer",
"author": "IvanGoncharov <ivan.goncharov.ua@gmail.com>",
"license": "MIT",
"homepage": "https://apis.guru/graphql-voyager",
"repository": {
"type": "git",
"url": "git+https://github.com/APIs-guru/graphql-voyager.git"
},
"funding": "https://github.com/APIs-guru/graphql-voyager?sponsor=1",
"bugs": {
"url": "https://github.com/APIs-guru/graphql-voyager/issues"
},
"engines": {
"node": ">=25.2.0"
},
"type": "module",
"exports": {
".": {
"import": "./dist/voyager.lib.js",
"browser": "./dist/voyager.lib.js",
"types": "./dist/index.d.ts"
},
"./*": {
"import": "./dist/*",
"browser": "./dist/*",
"types": "./dist/*"
},
"./middleware": {
"import": "./dist/middleware/index.js",
"types": "./dist/middleware/index.d.ts"
}
},
"scripts": {
"preversion": "npm ci --ignore-scripts && npm test",
"changelog": "node scripts/gen-changelog.ts",
"test": "npm run lint && npm run check && npm run testonly && npm run prettier:check && npm run check:spell",
"start": "webpack serve --mode=development",
"serve": "node ./scripts/serve-directory.ts -p 9090 demo-dist/graphql-voyager",
"bundle": "rm -rf dist && webpack --mode=production",
"build:ts": "tsc --project tsconfig.build.json",
"build:release": "npm run bundle && npm run build:ts",
"build:demo": "npm run build:release && rm -rf demo-dist && mkdir demo-dist && cp -R demo/ demo-dist/graphql-voyager/ && cp dist/voyager.css* dist/voyager.standalone.js* demo-dist/graphql-voyager/",
"stats": "NODE_ENV=production webpack --json --mode=production > stats.json",
"lint": "eslint --cache --max-warnings 0 .",
"check": "tsc",
"prettier": "prettier --write --list-different . **/*.svg",
"prettier:check": "prettier --check . **/*.svg",
"check:spell": "cspell --cache --no-progress '**/*'",
"testonly": "npm run build:demo && npm pack && playwright test",
"update-snapshots": "npm run build:demo && npm pack && playwright test --update-snapshots",
"deploy": "wrangler deploy"
},
"peerDependencies": {
"graphql": ">=16.5.0",
"react": ">=18.0.0"
},
"dependencies": {
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@mui/icons-material": "7.1.1",
"@mui/lab": "7.0.0-beta.13",
"@mui/material": "7.1.1",
"commonmark": "0.31.2",
"dotviz": "0.0.7",
"svg-pan-zoom": "3.6.2"
},
"devDependencies": {
"@svgr/webpack": "8.1.0",
"@types/commonmark": "0.27.9",
"@types/node": "24.0.1",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "8.16.0",
"cspell": "9.4.0",
"css-loader": "7.1.2",
"eslint": "8.57.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-playwright": "1.6.2",
"eslint-plugin-react": "7.37.1",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-simple-import-sort": "12.1.1",
"graphql": "16.11.0",
"mini-css-extract-plugin": "2.9.2",
"playwright": "1.53.0",
"postcss-cssnext": "3.1.1",
"postcss-import": "16.1.0",
"postcss-loader": "8.1.1",
"postcss-variables-loader": "6.0.0",
"prettier": "3.5.3",
"react": "19.1.0",
"react-dom": "19.1.0",
"style-loader": "4.0.0",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"typescript": "5.7.3",
"webpack": "5.103.0",
"webpack-cli": "6.0.1",
"webpack-dev-server": "5.2.2",
"wrangler": "4.33.1"
}
}