forked from graphql-kit/graphql-voyager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 3.77 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
{
"name": "graphql-voyager",
"version": "1.3.0",
"description": "GraphQL introspection viewer",
"author": "IvanGoncharov <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/graphql-kit/graphql-voyager#readme",
"repository": {
"type": "git",
"url": "https://github.com/graphql-kit/graphql-voyager.git"
},
"funding": "https://github.com/graphql-kit/graphql-voyager?sponsor=1",
"bugs": {
"url": "https://github.com/graphql-kit/graphql-voyager/issues"
},
"main": "dist/voyager.lib.js",
"types": "typings/index.d.ts",
"scripts": {
"preversion": "npm ci --ignore-scripts && npm test",
"changelog": "ts-node scripts/gen-changelog.ts",
"test": "npm run lint && npm run check && npm run testonly && npm run prettier:check && npm run check:spelling",
"start": "npm run build:worker && webpack serve --mode=development --env standalone",
"serve": "ts-node ./scripts/serve-directory.ts -p 9090 demo-dist",
"clean:release": "rm -rf middleware",
"clean:worker": "rm -rf worker-dist",
"bundle:standalone": "webpack --mode=production --env standalone",
"bundle:lib": "webpack --mode=production --env lib",
"bundle": "rm -rf dist && npm run bundle:lib && npm run bundle:standalone",
"compile:middleware": "tsc -d src/middleware/index.ts --outDir middleware --lib ES6,DOM,esnext.asynciterable",
"build:worker": "npm run clean:worker && docker-compose up --abort-on-container-exit --build build-worker",
"build:release": "npm run build:worker && npm run bundle && npm run compile:middleware && npm run declarations",
"build:demo": "npm run build:release && rm -rf demo-dist && cp -R demo/ demo-dist/ && cp dist/voyager.css* dist/voyager.standalone.js* demo-dist/",
"stats": "NODE_ENV=production webpack --json --mode=production > stats.json",
"lint": "eslint --cache --max-warnings 0 .",
"check": "tsc",
"prettier": "prettier --cache --write --list-different . **/*.svg",
"prettier:check": "prettier --cache --check . **/*.svg",
"check:spelling": "cspell --cache --no-progress '**/*'",
"testonly": "npm run build:demo && npm pack && docker-compose up --abort-on-container-exit --build test",
"declarations": "tsc --emitDeclarationOnly -p tsconfig.lib.json"
},
"peerDependencies": {
"graphql": ">=16.5.0",
"react": ">=18.0.0"
},
"dependencies": {
"@emotion/react": "11.10.5",
"@emotion/styled": "11.10.5",
"@mui/icons-material": "5.11.0",
"@mui/lab": "5.0.0-alpha.114",
"@mui/material": "5.11.2",
"commonmark": "0.30.0",
"lodash": "4.17.21",
"svg-pan-zoom": "3.6.1"
},
"devDependencies": {
"@playwright/test": "1.32.0",
"@svgr/webpack": "6.5.1",
"@types/commonmark": "0.27.5",
"@types/lodash": "4.14.182",
"@types/node": "18.15.5",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@typescript-eslint/eslint-plugin": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"cspell": "6.2.3",
"css-loader": "6.7.1",
"eslint": "8.20.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-playwright": "0.12.0",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"graphql": "16.5.0",
"mini-css-extract-plugin": "2.6.0",
"postcss-cssnext": "3.1.1",
"postcss-import": "12.0.1",
"postcss-loader": "3.0.0",
"postcss-variables-loader": "6.0.0",
"prettier": "2.7.1",
"raw-loader": "4.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"style-loader": "0.23.1",
"svg-as-symbol-loader": "1.2.4",
"ts-loader": "5.3.3",
"ts-node": "10.9.1",
"typescript": "4.7.2",
"webpack": "5.77.0",
"webpack-cli": "4.10.0",
"webpack-dev-server": "4.9.1",
"webpack-node-externals": "3.0.0"
}
}