-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 3.94 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 3.94 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
{
"name": "studio",
"author": "Automattic Inc.",
"private": true,
"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/*"
],
"scripts": {
"start": "npm -w studio-app run start",
"start:new": "node scripts/start-new-ui.mjs",
"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/cli/patches && patch-package --patch-dir apps/studio/patches && node ./scripts/remove-fs-ext-other-platform-binaries.mjs && ts-node ./scripts/download-wp-server-files.ts && node ./scripts/download-available-site-translations.mjs && ts-node ./scripts/download-agent-skills.ts && ts-node ./scripts/download-php-binary.ts",
"package": "ts-node ./scripts/package-in-isolation.ts package",
"make": "ts-node ./scripts/package-in-isolation.ts make",
"make:windows-x64": "ts-node ./scripts/package-in-isolation.ts make:windows-x64",
"make:windows-arm64": "ts-node ./scripts/package-in-isolation.ts make:windows-arm64",
"make:macos-x64": "ts-node ./scripts/package-in-isolation.ts make:macos-x64",
"make:macos-arm64": "ts-node ./scripts/package-in-isolation.ts make:macos-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: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: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": "eslint {apps/cli,apps/studio/src,apps/studio/e2e,apps/ui/src,tools/common}",
"typecheck": "npm run typecheck --workspaces --if-present && tsc -p scripts/tsconfig.json --noEmit",
"format": "npm run lint -- --fix",
"test": "vitest run",
"test:watch": "vitest",
"e2e": "npx playwright install && npx playwright test",
"test:metrics": "npx playwright test --config=./tools/metrics/playwright.metrics.config.ts",
"download-language-packs": "ts-node ./scripts/download-language-packs.ts",
"download-agent-skills": "ts-node ./scripts/download-agent-skills.ts",
"download:php-binary": "ts-node ./scripts/download-php-binary.ts",
"eval": "npm run cli:build --silent && npx promptfoo@0.121.4 eval -c eval/promptfoo.config.yaml",
"eval:view": "npx promptfoo@0.121.4 view"
},
"devDependencies": {
"@automattic/wp-babel-makepot": "^1.2.0",
"@eslint/js": "^9.39.2",
"@playwright/test": "^1.58.2",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/fs-extra": "^11.0.4",
"@vitest/ui": "^4.1.0",
"@yao-pkg/pkg": "^6.13.1",
"electron-playwright-helpers": "^2.1.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^9.1.2",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import-x": "^4.15.2",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-studio": "file:tools/eslint-plugin-studio",
"fs-extra": "^11.3.3",
"glob": "^13.0.6",
"isomorphic-fetch": "^3.0.0",
"jsdom": "^24.0.0",
"memfs": "^4.57.1",
"nock": "^13.5.6",
"patch-package": "^8.0.1",
"prettier": "npm:wp-prettier@3.0.3",
"ts-node": "^10.9.2",
"typescript": "~5.9.3",
"typescript-eslint": "^8.57.1",
"vitest": "^4.0.18",
"web-streams-polyfill": "^4.2.0"
}
}