-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
27 lines (27 loc) · 1.19 KB
/
package.json
File metadata and controls
27 lines (27 loc) · 1.19 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
{
"name": "{{PLUGIN_SLUG}}",
"version": "{{PLUGIN_VERSION}}",
"private": true,
"type": "module",
"scripts": {
"dev": "concurrently \"npm run dev:dashboard\" \"npm run dev:scripts\" \"npm run dev:sass\"",
"dev:dashboard": "vite",
"dev:scripts": "ENTRY=admin vite build -c vite.config.entries.mjs --watch",
"dev:sass": "sass --watch resources/scss/admin.scss:public/css/admin.css resources/scss/frontend.scss:public/css/frontend.css",
"build": "npm run build:dashboard && npm run build:scripts && npm run build:sass",
"build:dashboard": "vite build",
"build:scripts": "ENTRY=admin vite build -c vite.config.entries.mjs && ENTRY=frontend vite build -c vite.config.entries.mjs",
"build:sass": "sass resources/scss/admin.scss:public/css/admin.css resources/scss/frontend.scss:public/css/frontend.css --style=compressed --no-source-map",
"build:pot": "wp i18n make-pot . public/languages/{{PLUGIN_SLUG}}.pot --slug={{PLUGIN_SLUG}} --domain={{PLUGIN_SLUG}}"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.4.0",
"concurrently": "^9.1.0",
"sass": "^1.83.0",
"vite": "^6.2.0"
}
}