Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.77 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (45 loc) · 1.77 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
{
"name": "millicache",
"private": true,
"author": "Philipp Wellmer <hello@millipress.com>",
"license": "GPL-2.0-or-later",
"devDependencies": {
"@playwright/test": "^1.63.0",
"@types/node": "^20.17.10",
"@wordpress/e2e-test-utils-playwright": "2.1.0",
"@wordpress/env": "^11.16.0",
"@wordpress/scripts": "^36.0.0",
"dotenv": "^18.0.4"
},
"dependencies": {
"@wordpress/api-fetch": "^7.56.0",
"@wordpress/commands": "^1.56.0",
"@wordpress/components": "^41.0.0",
"@wordpress/data": "^10.52.0",
"@wordpress/element": "^8.0.1",
"@wordpress/hooks": "^4.52.0",
"@wordpress/i18n": "^6.11.0",
"@wordpress/icons": "^17.0.0",
"@wordpress/primitives": "^4.52.0"
},
"scripts": {
"build": "wp-scripts build",
"start": "wp-scripts start",
"lint": "npm run lint:js && npm run lint:style",
"fix": "npm run fix:js && npm run fix:style",
"lint:js": "wp-scripts lint-js assets/js",
"fix:js": "wp-scripts lint-js assets/js --fix",
"lint:style": "wp-scripts lint-style assets/css/**/*.scss",
"fix:style": "wp-scripts lint-style assets/css/**/*.scss --fix",
"translate": "wp i18n make-pot . assets/lang/millicache.pot --domain=millicache",
"env:start": "wp-env start",
"env:stop": "docker compose -f tests/wp-env/docker-compose.custom.yml down; wp-env stop",
"env:reset": "wp-env reset all",
"env:destroy": "wp-env destroy",
"env:cli": "wp-env run cli",
"env:redis-cli": "wp-env run cli bash -c 'redis-cli -h ${1:-redis}'",
"env:e2e": "playwright install chromium && npx playwright test step --workers=1",
"env:e2e:performance": "playwright install chromium && npx playwright test performance --workers=1",
"env:e2e:performance:results": "node tests/e2e/performance/results.js"
}
}