-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.46 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.46 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
{
"name": "mochi-plugin",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "wp-build",
"dev": "wp-build --watch",
"start": "pnpm run build && wp-env start",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"env:cli": "wp-env run cli wp",
"test": "pnpm test:ts && pnpm test:php",
"test:ts": "vitest run",
"test:coverage": "vitest run --coverage.enabled --coverage.provider=v8 --coverage.reporter=text --coverage.reporter=html --coverage.reporter=json-summary --coverage.include='packages/*/src/**/*.{ts,tsx}' --coverage.exclude='**/*.test.{ts,tsx}'",
"test:php": "php tests/php/state-test.php",
"typecheck": "tsc --noEmit",
"lint:php": "find mochi.php includes tests/php -name '*.php' -print0 | xargs -0 -n1 php -l"
},
"wpPlugin": {
"name": "mochiPlugin",
"scriptGlobal": "mochiPlugin",
"packageNamespace": "mochi",
"handlePrefix": "mochi"
},
"devDependencies": {
"@mochi/state": "workspace:*",
"@types/react": "^19.2.14",
"@vitest/coverage-v8": "^3",
"@wordpress/api-fetch": "^7.43.0",
"@wordpress/build": "^0.11.0",
"@wordpress/element": "^6.43.0",
"@wordpress/env": "^11.3.0",
"typescript": "^6.0.2",
"vitest": "^3"
},
"volta": {
"node": "22.22.2"
},
"packageManager": "pnpm@10.0.0",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"@parcel/watcher",
"fs-ext-extra-prebuilt"
]
}
}