-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
33 lines (33 loc) · 1.4 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
{
"scripts": {
"build": "npm run build:content && npm run build:wp-plugin && npm run build:background",
"build:content": "wp-scripts build --webpack-src-dir=src/content --output-path=build/content",
"build:wp-plugin": "wp-scripts build --webpack-src-dir=src/wp-plugin --output-path=build/wp-plugin",
"build:background": "wp-scripts build --webpack-src-dir=src/background --output-path=build/background",
"start:content": "wp-scripts start --webpack-src-dir=src/content --output-path=build/content",
"start:wp-plugin": "wp-scripts start --webpack-src-dir=src/wp-plugin --output-path=build/wp-plugin",
"start:background": "wp-scripts start --webpack-src-dir=src/background --output-path=build/background",
"lint:js": "wp-scripts lint-js",
"format": "wp-scripts format",
"test": "jest --config=jest.config.js",
"test:e2e:build": "wp-scripts build src/content/utils/dom.js --output-path=tests/e2e/build",
"test:e2e": "npx playwright test tests/e2e/index.spec.js"
},
"devDependencies": {
"@babel/preset-env": "^7.24.5",
"@playwright/test": "^1.44.1",
"@wordpress/block-library": "^8.35.0",
"@wordpress/blocks": "^12.35.0",
"@wordpress/hooks": "^3.58.0",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^24.1.0",
"linkedom": "^0.18.0",
"mhtml2html": "^3.0.0",
"playwright": "^1.44.1"
},
"dependencies": {
"@wordpress/scripts": "^27.9.0"
}
}