-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 3.14 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
{
"type": "module",
"scripts": {
"build": "echo 'Please choose a target: build:firefox or build:chrome, or build:production:firefox or build:production:chrome'",
"build:production": "echo 'Please choose a target: build:production:firefox or build:production:chrome'",
"build:production:firefox": "rm -rf build/production/firefox && webpack --env mode=production --env target=firefox",
"build:production:chrome": "rm -rf build/production/chrome && webpack --env mode=production --env target=chrome",
"build:firefox": "rm -rf build/firefox && webpack --env target=firefox",
"build:chrome": "rm -rf build/chrome && webpack --env target=chrome",
"build:schema": "./schema/build.mjs",
"preview:production": "echo 'Please choose a target: preview:production:firefox or preview:production:chrome'",
"preview:production:firefox": "npm run build:production:firefox && web-ext -s build/production/firefox run --target firefox-desktop",
"preview:production:chrome": "npm run build:production:chrome && web-ext -s build/production/chrome run --target chromium --arg='--disable-search-engine-choice-screen'",
"watch": "echo 'Please choose a target: watch:firefox or watch:chrome'",
"watch:firefox": "webpack --watch --env target=firefox",
"watch:chrome": "webpack --watch --env target=chrome",
"start": "echo 'Please choose a target: start:firefox or start:chrome'",
"start:firefox": "npm run build:firefox && concurrently \"npm:watch:firefox\" \"npm:web-ext:run:firefox\"",
"start:chrome": "npm run build:chrome && concurrently \"npm:watch:chrome\" \"npm:web-ext:run:chrome\"",
"start:noreload": "npm run web-ext:run:firefox -- --no-reload",
"web-ext:run": "echo 'Please choose a target: web-ext:run:firefox or web-ext:run:chrome'",
"web-ext:run:firefox": "web-ext -s build/firefox run --target firefox-desktop",
"web-ext:run:chrome": "web-ext -s build/chrome run --target chromium --arg='--disable-search-engine-choice-screen'",
"lint": "npm run lint:js && npm run lint:style",
"lint:js": "wp-scripts lint-js",
"lint:style": "wp-scripts lint-style",
"format": "wp-scripts format",
"web-ext": "web-ext",
"wp-scripts": "wp-scripts",
"prettier": "prettier"
},
"devDependencies": {
"@babel/preset-env": "^7.26.0",
"@types/chrome": "^0.0.281",
"@types/firefox-webext-browser": "^120.0.4",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/wordpress__block-library": "^2.6.3",
"@types/wordpress__blocks": "^12.5.14",
"@wordpress/scripts": "^30.4.0",
"ajv": "^8.17.1",
"concurrently": "^9.1.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint-import-resolver-typescript": "^3.6.3",
"filemanager-webpack-plugin": "^8.0.0",
"mini-css-extract-plugin": "^2.9.2",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.6.3",
"web-ext": "^8.3.0",
"wp-types": "^4.67.0",
"webpack": "^5.96.1"
},
"dependencies": {
"@wordpress/block-library": "^9.12.0",
"@wordpress/blocks": "^13.10.0",
"@wp-playground/client": "^1.0.13",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.28.0",
"webextension-polyfill": "^0.12.0"
}
}