-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 4.87 KB
/
Copy pathpackage.json
File metadata and controls
109 lines (109 loc) · 4.87 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "studio",
"author": "Automattic Inc.",
"private": true,
"type": "module",
"productName": "Studio",
"description": "Local WordPress development environment using Playgrounds",
"license": "GPL-2.0-or-later",
"packageManager": "npm@11.13.0",
"devEngines": {
"runtime": {
"name": "node",
"version": ">=22.0.0"
},
"packageManager": {
"name": "npm",
"version": ">=11.0.0"
}
},
"repository": {
"type": "git",
"url": "https://github.com/Automattic/studio.git",
"directory": "/"
},
"workspaces": [
"apps/*",
"tools/*",
"packages/*"
],
"scripts": {
"start": "npm -w studio-app run start",
"start:test": "DEV_CONFIG_DIR=/tmp/studio-test npm -w studio-app run start",
"start-wayland": "npm -w studio-app run start-wayland",
"postinstall": "patch-package --patch-dir apps/studio/patches && node ./scripts/remove-fs-ext-other-platform-binaries.mjs && node --experimental-strip-types ./scripts/download-wp-server-files.ts && node ./scripts/download-available-site-translations.mjs && node --experimental-strip-types ./scripts/download-agent-skills.ts && node --experimental-strip-types ./scripts/download-php-binary.ts",
"package": "node --experimental-strip-types ./scripts/package-in-isolation.ts package",
"make": "node --experimental-strip-types ./scripts/package-in-isolation.ts make",
"make:windows-x64": "node --experimental-strip-types ./scripts/package-in-isolation.ts make:windows-x64",
"make:windows-arm64": "node --experimental-strip-types ./scripts/package-in-isolation.ts make:windows-arm64",
"make:macos-x64": "node --experimental-strip-types ./scripts/package-in-isolation.ts make:macos-x64",
"make:macos-arm64": "node --experimental-strip-types ./scripts/package-in-isolation.ts make:macos-arm64",
"make:linux-x64": "node --experimental-strip-types ./scripts/package-in-isolation.ts make:linux-x64",
"make:linux-arm64": "node --experimental-strip-types ./scripts/package-in-isolation.ts make:linux-arm64",
"make:dmg-x64": "FILE_ARCHITECTURE=x64 node ./scripts/make-dmg.mjs",
"make:dmg-arm64": "FILE_ARCHITECTURE=arm64 node ./scripts/make-dmg.mjs",
"publish": "npm -w studio-app run publish",
"cli:build": "npm -w wp-studio run build",
"cli:build:ui": "npm -w @studio/ui run build:local && npm -w wp-studio run build",
"cli:build:prod": "npm -w wp-studio run build:prod",
"cli:build:npm": "npm -w wp-studio run build:npm",
"cli:package": "npm -w wp-studio run package",
"cli:package:standalone": "npm -w wp-studio run package:standalone",
"cli:bundle": "node --experimental-strip-types scripts/create-standalone-bundle.ts",
"cli:watch": "npm -w wp-studio run watch",
"app:install:bundle": "npm -w studio-app run install:bundle",
"compare:perf": "npm -w compare-perf run compare",
"lint": "npm run lint --workspaces --if-present && eslint scripts",
"typecheck": "npm run typecheck --workspaces --if-present && tsc -p scripts/tsconfig.json --noEmit",
"knip": "knip",
"format": "npm run lint --workspaces --if-present -- --fix && eslint scripts --fix",
"test": "vitest run",
"test:watch": "vitest",
"e2e": "npx playwright install && npx playwright test",
"e2e:fixtures": "node --experimental-strip-types ./scripts/prepare-e2e-fixtures.ts",
"test:metrics": "npx playwright test --config=./tools/metrics/playwright.metrics.config.ts",
"download-language-packs": "node --experimental-strip-types ./scripts/download-language-packs.ts",
"download-agent-skills": "node --experimental-strip-types ./scripts/download-agent-skills.ts",
"download:php-binary": "node --experimental-strip-types ./scripts/download-php-binary.ts",
"eval": "npm run cli:build --silent && npx promptfoo@0.121.4 eval -c scripts/eval/promptfoo.config.yaml",
"eval:view": "npx promptfoo@0.121.4 view"
},
"devDependencies": {
"@automattic/wp-babel-makepot": "^1.2.0",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.62.0",
"@testing-library/jest-dom": "^7.0.0",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/fs-extra": "^11.0.4",
"@vitest/ui": "^4.1.10",
"@yao-pkg/pkg": "^6.21.0",
"electron2appx": "2.1.3",
"electron-playwright-helpers": "^2.1.0",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-jest-dom": "^5.6.0",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-studio": "file:tools/eslint-plugin-studio",
"fs-extra": "^11.3.3",
"glob": "^13.0.6",
"globals": "^17.8.0",
"isomorphic-fetch": "^3.0.0",
"jsdom": "^24.0.0",
"knip": "^5.88.1",
"memfs": "^4.57.1",
"nock": "^13.5.6",
"patch-package": "^8.0.1",
"prettier": "npm:wp-prettier@3.0.3",
"typescript": "~6.0.3",
"typescript-eslint": "^8.65.0",
"undici": "^8.3.0",
"vite": "^8.0.16",
"vitest": "^4.1.10",
"web-streams-polyfill": "^4.2.0",
"yargs": "^18.0.0"
}
}