-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.88 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
{
"name": "wpgraphql-ide",
"version": "4.0.3",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/wpgraphql/wpgraphql-ide.git"
},
"files": [
"build",
"package.json",
"plugins/*/*.php",
"plugins/*/build",
"plugins/*/README.md",
"README.md",
"readme.txt",
"styles",
"wpgraphql-ide.php"
],
"scripts": {
"build": "npm run build:main && npm run build:zip",
"build:main": "wp-scripts build",
"build:zip": "wp-scripts plugin-zip",
"start": "concurrently --kill-others-on-fail -n 'Main,Plugins' -c 'blue,green' \"wp-scripts start\" \"node bin/start-plugins.js\"",
"test:unit": "jest --config tests/unit/jest.config.js",
"pretest:e2e": "npm run build && npm run wp-env start",
"pretest:e2e:ui": "npm run build && npm run wp-env start",
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.js",
"test:e2e:ui": "wp-scripts test-playwright --config tests/e2e/playwright.config.js --ui",
"lint:js": "wp-scripts lint-js ./src",
"lint:js:fix": "wp-scripts lint-js --fix ./src",
"lint:js:src": "wp-scripts lint-js ./src",
"format": "wp-scripts format",
"format:src": "wp-scripts format ./src",
"check-engines": "wp-scripts check-engines",
"clean": "rimraf node_modules plugins/*/node_modules plugins/*/build build",
"changeset": "changeset",
"version": "changeset version && node bin/version-plugin.js",
"prerelease": "npm run build",
"release": "changeset publish",
"prepare": "husky install",
"wp-env": "wp-env"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@playwright/test": "^1.41.2",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/node": "^20.11.16",
"@wordpress/e2e-test-utils-playwright": "^0.19.0",
"@wordpress/env": "^9.2.0",
"@wordpress/scripts": "^27.9.0",
"babel-jest": "^29.7.0",
"chalk": "^5.3.0",
"clsx": "^2.0.0",
"concurrently": "^8.2.2",
"docker-compose": "^0.24.6",
"dotenv": "^16.4.4",
"husky": "^9.0.11",
"lint-staged": "^15.2.10",
"rimraf": "^5.0.0",
"sort-package-json": "^2.7.0"
},
"dependencies": {
"@graphiql/react": "^0.22.2",
"@graphiql/toolkit": "^0.9.1",
"@wordpress/components": "^27.0.0",
"@wordpress/data": "^9.22.0",
"@wordpress/element": "^5.23.0",
"@wordpress/hooks": "^3.49.0",
"@wordpress/icons": "^9.43.0",
"@wpgraphql-ide/help-panel": "file:plugins/help-panel",
"@wpgraphql-ide/query-composer-panel": "file:plugins/query-composer-panel",
"copy-to-clipboard": "^3.3.3",
"graphiql": "^3.0.10",
"graphql": "^16.8.1",
"graphql-ws": "^5.14.2",
"lz-string": "^1.5.0",
"react": "^18.2.0",
"vaul": "^0.9.0"
},
"lint-staged": {
"package.json": "sort-package-json"
}
}