-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 11.1 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 11.1 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "openstation",
"version": "1.1.11",
"private": true,
"type": "module",
"description": "WordPress admin as a desktop OS — draggable, resizable windows on a desktop with a dock.",
"license": "GPL-2.0-or-later",
"types": "src/public-api.ts",
"exports": {
".": {
"types": "./src/public-api.ts",
"import": "./src/public-api.ts",
"default": "./src/public-api.ts"
},
"./activity": {
"types": "./src/activity.ts",
"import": "./src/activity.ts",
"default": "./src/activity.ts"
},
"./global": {
"types": "./src/global.d.ts"
}
},
"engines": {
"node": "^24.0.0 || ^26.0.0"
},
"devEngines": {
"runtime": {
"name": "node",
"version": "^24.0.0 || ^26.0.0",
"onFail": "error"
}
},
"scripts": {
"build": "npm run vendor:pixi && npm run build:desktop && npm run build:iframe-bridge && npm run build:chromeless-bridge && npm run build:gutenberg-drop-receiver && npm run build:my-wordpress-woocommerce && npm run build:content-graph && npm run build:app-runtime && npm run build:user-profile && npm run build:apps && npm run build:ai-assistant && npm run build:animated-logo-wallpaper && npm run build:living-tree-wallpaper && npm run build:snow-wallpaper && npm run build:shell-overlays && npm run build:file-drop && npm run build:files-overlays && npm run build:notes && npm run build:dock-constellation && npm run build:window-link-visuals && npm run build:components && npm run build:mio && npm run build:window-system && npm run build:mobile && npm run build:item-visibility-menu && npm run build:workspace-wizard && npm run build:release-card && npm run build:deactivation-feedback && npm run build:games && npm run build:game-inkfall && npm run build:game-alphabet-soup && npm run build:widget-heartbeat && npm run build:widget-recent-comments && npm run build:widget-post-stats && npm run build:widget-site-views && npm run build:widget-jazz-quote && npm run build:widget-starter && npm run build:widget-notes && npm run build:widget-focus-timer && npm run build:widget-drafts && npm run build:agent-run-window && npm run build:pwa-sw",
"build:desktop": "vite build --mode development && vite build --mode production",
"build:iframe-bridge": "OPENSTATION_TARGET=iframe-bridge vite build --mode development && OPENSTATION_TARGET=iframe-bridge vite build --mode production",
"build:chromeless-bridge": "OPENSTATION_TARGET=chromeless-bridge vite build --mode development && OPENSTATION_TARGET=chromeless-bridge vite build --mode production",
"build:gutenberg-drop-receiver": "OPENSTATION_TARGET=gutenberg-drop-receiver vite build --mode development && OPENSTATION_TARGET=gutenberg-drop-receiver vite build --mode production",
"build:my-wordpress-woocommerce": "OPENSTATION_TARGET=my-wordpress-woocommerce vite build --mode development && OPENSTATION_TARGET=my-wordpress-woocommerce vite build --mode production",
"build:content-graph": "OPENSTATION_TARGET=content-graph vite build --mode development && OPENSTATION_TARGET=content-graph vite build --mode production",
"build:app-runtime": "OPENSTATION_TARGET=app-runtime vite build --mode development && OPENSTATION_TARGET=app-runtime vite build --mode production",
"build:user-profile": "OPENSTATION_TARGET=user-profile vite build --mode development && OPENSTATION_TARGET=user-profile vite build --mode production",
"build:apps": "node bin/build-apps.mjs",
"build:ai-assistant": "OPENSTATION_TARGET=ai-assistant vite build --mode development && OPENSTATION_TARGET=ai-assistant vite build --mode production",
"build:animated-logo-wallpaper": "OPENSTATION_TARGET=animated-logo-wallpaper vite build --mode development && OPENSTATION_TARGET=animated-logo-wallpaper vite build --mode production",
"build:living-tree-wallpaper": "OPENSTATION_TARGET=living-tree-wallpaper vite build --mode development && OPENSTATION_TARGET=living-tree-wallpaper vite build --mode production",
"build:snow-wallpaper": "OPENSTATION_TARGET=snow-wallpaper vite build --mode development && OPENSTATION_TARGET=snow-wallpaper vite build --mode production",
"build:shell-overlays": "OPENSTATION_TARGET=shell-overlays vite build --mode development && OPENSTATION_TARGET=shell-overlays vite build --mode production",
"build:file-drop": "OPENSTATION_TARGET=file-drop vite build --mode development && OPENSTATION_TARGET=file-drop vite build --mode production",
"build:files-overlays": "OPENSTATION_TARGET=files-overlays vite build --mode development && OPENSTATION_TARGET=files-overlays vite build --mode production",
"build:notes": "OPENSTATION_TARGET=notes vite build --mode development && OPENSTATION_TARGET=notes vite build --mode production",
"build:dock-constellation": "OPENSTATION_TARGET=dock-constellation vite build --mode development && OPENSTATION_TARGET=dock-constellation vite build --mode production",
"build:window-link-visuals": "OPENSTATION_TARGET=window-link-visuals vite build --mode development && OPENSTATION_TARGET=window-link-visuals vite build --mode production",
"build:components": "OPENSTATION_TARGET=components vite build --mode development && OPENSTATION_TARGET=components vite build --mode production",
"build:mio": "OPENSTATION_TARGET=mio vite build --mode development && OPENSTATION_TARGET=mio vite build --mode production",
"build:window-system": "OPENSTATION_TARGET=window-system vite build --mode development && OPENSTATION_TARGET=window-system vite build --mode production",
"build:mobile": "OPENSTATION_TARGET=mobile vite build --mode development && OPENSTATION_TARGET=mobile vite build --mode production",
"build:item-visibility-menu": "OPENSTATION_TARGET=item-visibility-menu vite build --mode development && OPENSTATION_TARGET=item-visibility-menu vite build --mode production",
"build:workspace-wizard": "OPENSTATION_TARGET=workspace-wizard vite build --mode development && OPENSTATION_TARGET=workspace-wizard vite build --mode production",
"build:release-card": "OPENSTATION_TARGET=release-card vite build --mode development && OPENSTATION_TARGET=release-card vite build --mode production",
"build:deactivation-feedback": "OPENSTATION_TARGET=deactivation-feedback vite build --mode development && OPENSTATION_TARGET=deactivation-feedback vite build --mode production",
"build:widget-heartbeat": "OPENSTATION_TARGET=widget-heartbeat vite build --mode development && OPENSTATION_TARGET=widget-heartbeat vite build --mode production",
"build:widget-recent-comments": "OPENSTATION_TARGET=widget-recent-comments vite build --mode development && OPENSTATION_TARGET=widget-recent-comments vite build --mode production",
"build:widget-drafts": "OPENSTATION_TARGET=widget-drafts vite build --mode development && OPENSTATION_TARGET=widget-drafts vite build --mode production",
"build:widget-post-stats": "OPENSTATION_TARGET=widget-post-stats vite build --mode development && OPENSTATION_TARGET=widget-post-stats vite build --mode production",
"build:widget-site-views": "OPENSTATION_TARGET=widget-site-views vite build --mode development && OPENSTATION_TARGET=widget-site-views vite build --mode production",
"build:widget-jazz-quote": "OPENSTATION_TARGET=widget-jazz-quote vite build --mode development && OPENSTATION_TARGET=widget-jazz-quote vite build --mode production",
"build:widget-starter": "OPENSTATION_TARGET=widget-starter vite build --mode development && OPENSTATION_TARGET=widget-starter vite build --mode production",
"build:widget-notes": "OPENSTATION_TARGET=widget-notes vite build --mode development && OPENSTATION_TARGET=widget-notes vite build --mode production",
"build:widget-focus-timer": "OPENSTATION_TARGET=widget-focus-timer vite build --mode development && OPENSTATION_TARGET=widget-focus-timer vite build --mode production",
"build:games": "OPENSTATION_TARGET=games vite build --mode development && OPENSTATION_TARGET=games vite build --mode production",
"build:game-inkfall": "OPENSTATION_TARGET=game-inkfall vite build --mode development && OPENSTATION_TARGET=game-inkfall vite build --mode production",
"build:game-alphabet-soup": "OPENSTATION_TARGET=game-alphabet-soup vite build --mode development && OPENSTATION_TARGET=game-alphabet-soup vite build --mode production",
"build:pwa-sw": "OPENSTATION_TARGET=pwa-sw vite build --mode development && OPENSTATION_TARGET=pwa-sw vite build --mode production",
"build:agent-run-window": "OPENSTATION_TARGET=agent-run-window vite build --mode development && OPENSTATION_TARGET=agent-run-window vite build --mode production",
"dev": "vite build --mode development --watch",
"vendor:pixi": "node -e \"require('fs').cpSync('node_modules/pixi.js/dist/pixi.min.js', 'assets/vendor/pixi.min.js')\"",
"lint": "eslint 'src/**/*.ts' 'apps/**/*.ts' src/chromeless-bridge.js",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"lint:php": "wp-env run --config=.wp-env.tests.json cli --env-cwd=wp-content/plugins/desktop-mode vendor/bin/phpcs -n",
"lint:php:all": "wp-env run --config=.wp-env.tests.json cli --env-cwd=wp-content/plugins/desktop-mode vendor/bin/phpcs",
"lint:unused": "npx --yes knip@5 --no-progress --include files,exports,types",
"lint:css:unused": "bin/unused-css.sh",
"lint:php:fix": "wp-env run --config=.wp-env.tests.json cli --env-cwd=wp-content/plugins/desktop-mode vendor/bin/phpcbf",
"typecheck": "tsc --noEmit",
"package": "bin/package.sh",
"package:dev": "OPENSTATION_BUILD_STAMP=1 bin/package.sh",
"package:beta": "bin/package-beta.sh",
"package:legacy-theme": "bin/package-legacy-theme.sh",
"test": "npm run test:js",
"test:js": "vitest run",
"test:js:watch": "vitest",
"perf:boot-cost": "node bin/boot-cost.mjs",
"env:start": "wp-env start",
"env:start:tests": "wp-env start --config=.wp-env.tests.json",
"env:stop": "wp-env stop",
"env:stop:tests": "wp-env stop --config=.wp-env.tests.json",
"env:start:member": "wp-env start --config=.wp-env.member.json",
"env:stop:member": "wp-env stop --config=.wp-env.member.json",
"env:destroy": "wp-env destroy",
"env:destroy:tests": "wp-env destroy --config=.wp-env.tests.json",
"env:destroy:member": "wp-env destroy --config=.wp-env.member.json",
"test:php:install": "wp-env run --config=.wp-env.tests.json cli --env-cwd=wp-content/plugins/desktop-mode composer install",
"test:php": "wp-env run --config=.wp-env.tests.json cli --env-cwd=wp-content/plugins/desktop-mode vendor/bin/phpunit --configuration tests/phpunit/phpunit.xml.dist",
"test:php:multisite": "wp-env run --config=.wp-env.tests.json cli sh -c 'cd wp-content/plugins/desktop-mode && WP_MULTISITE=1 vendor/bin/phpunit --configuration tests/phpunit/phpunit.xml.dist'",
"check:plugin": "wp-env run cli wp plugin check desktop-mode",
"build:i18n": "bin/build-i18n.sh",
"extract:i18n": "bin/extract-i18n.sh",
"i18n": "npm run extract:i18n && npm run build:i18n"
},
"devDependencies": {
"@automattic/wp-babel-makepot": "^1.2.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/ui": "^4.1.4",
"@wordpress/env": "^11.7.0",
"@wordpress/eslint-plugin": "^21.6.0",
"eslint": "^8.57.1",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-local-rules": "^3.0.2",
"jsdom": "^25.0.1",
"rollup-plugin-visualizer": "^7.0.1",
"typescript": "5.9.3",
"vite": "^5.4.10",
"vitest": "^4.1.4"
},
"dependencies": {
"pixi.js": "^8.18.1"
}
}