-
-
Notifications
You must be signed in to change notification settings - Fork 241
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 4.02 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 4.02 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
{
"name": "query-monitor",
"version": "4.0.6",
"description": "Query Monitor is the developer tools panel for WordPress and WooCommerce",
"license": "GPL-2.0-or-later",
"private": true,
"author": "John Blackbourn",
"repository": {
"type": "git",
"url": "git+https://github.com/johnbillion/query-monitor.git"
},
"engines": {
"node": ">=24"
},
"browserslist": [
"> 1%",
"last 1 Android versions",
"last 1 ChromeAndroid versions",
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions",
"last 2 iOS versions",
"last 2 Edge versions",
"last 2 Opera versions",
"not chrome < 120"
],
"main": "src/index.tsx",
"type": "module",
"devDependencies": {
"@axe-core/playwright": "^4.11.1",
"@eslint/js": "^9.39.2",
"@johnbillion/plugin-infrastructure": "2.9.1",
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@kucrut/vite-for-wp": "^0.12.0",
"@playwright/test": "^1.58.0",
"@preact/preset-vite": "^2.10.3",
"@types/chrome": "^0.1.40",
"@types/node": "^25.0.10",
"@typescript-eslint/eslint-plugin": "^8.50.0",
"@typescript-eslint/parser": "^8.50.0",
"@wordpress/i18n": "^3.12.0",
"browserslist-to-esbuild": "^2.1.1",
"clsx": "^2.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^16.5.0",
"json-schema-to-typescript": "^12",
"preact": "^10",
"prettier": "^3.7.4",
"sharp-cli": "^5.2.0",
"terser": "^5.46.0",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vitepress": "^1.6.4",
"vitepress-plugin-rss": "^0.2.0",
"wp-json-schemas": "^3",
"wp-types": "^3"
},
"scripts": {
"typecheck": "tsc --noEmit",
"lint": "eslint '**/*.{ts,tsx}'",
"lint:fix": "eslint '**/*.{ts,tsx}' --fix",
"format": "prettier --write '**/*.tsx'",
"format:check": "prettier --check '**/*.tsx'",
"build-schemas": "json2ts -i src/schema.json -o output/data-types.ts --style.trailingComma=all --style.useTabs --bannerComment='' && echo '/* eslint-disable */\n\n/**\n * This file is generated by the build-schemas script.\n * Do not edit it manually.\n */\n' > output/tmp.ts && cat src/bannerComment.ts output/data-types.ts >> output/tmp.ts && mv output/tmp.ts output/data-types.ts && node src/generate.mjs",
"bump:patch": "bump patch --commit 'Version %s.' query-monitor.php package.json package-lock.json readme.txt wp-content/db.php extension/manifest.json",
"bump:minor": "bump minor --commit 'Version %s.' query-monitor.php package.json package-lock.json readme.txt wp-content/db.php extension/manifest.json",
"bump:major": "bump major --commit 'Version %s.' query-monitor.php package.json package-lock.json readme.txt wp-content/db.php extension/manifest.json",
"bump": "f() { bump \"$1\" --commit 'Version %s.' query-monitor.php package.json package-lock.json readme.txt wp-content/db.php; }; f",
"icons": "sharp -i .wordpress-org/icon.svg -o .wordpress-org/icon-128x128.png -f png --palette resize 128 128 && sharp -i .wordpress-org/icon.svg -o .wordpress-org/icon-256x256.png -f png --palette resize 256 256 && sharp -i .wordpress-org/icon-light.svg -o docs/public/logo.png -f png --palette resize 256 256 && sharp -i .wordpress-org/icon.svg -o extension/icons/icon-16.png -f png --palette resize 16 16 && sharp -i .wordpress-org/icon.svg -o extension/icons/icon-48.png -f png --palette resize 48 48 && sharp -i .wordpress-org/icon.svg -o extension/icons/icon-128.png -f png --palette resize 128 128",
"watch": "npm run build-schemas && vite",
"build": "npm run build-schemas && vite build",
"build:extension": "npm run build && vite build --config vite.extension.config.js",
"deploy:extension": "npm run build:extension && cd extension/build && zip -r ../../extension.zip . && cd ../.. && bin/deploy-extension.sh",
"version": "npm install # See https://github.com/JS-DevTools/version-bump-prompt/issues/42",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
}
}