-
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.3 KB
/
package.json
File metadata and controls
27 lines (27 loc) · 1.3 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": "holonet-frontend-assets",
"private": true,
"version": "0.1.0",
"devDependencies": {
"autoprefixer": "^10.4.20",
"esbuild": "^0.23.0",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.10",
"typescript": "^5.6.2",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"scripts": {
"tailwind:build": "tailwindcss -c frontend/web/tailwind.config.ts -i frontend/web/styles/input.css -o frontend/pkg/assets/static/app.css --minify",
"ts:build:status": "esbuild frontend/web/ts/status.ts --bundle --minify --outfile=frontend/pkg/assets/static/status.js",
"ts:build:app": "esbuild frontend/web/ts/app.tsx --bundle --minify --outfile=frontend/pkg/assets/static/app.js --loader:.tsx=tsx --jsx=automatic",
"copy:public": "mkdir -p frontend/pkg/assets/static && cp -r frontend/web/public/* frontend/pkg/assets/static/",
"build": "npm run tailwind:build && npm run ts:build:status && npm run ts:build:app && npm run copy:public",
"watch:css": "tailwindcss -c frontend/web/tailwind.config.ts -i frontend/web/styles/input.css -o frontend/pkg/assets/static/app.css --watch",
"watch:ts": "esbuild frontend/web/ts/status.ts --bundle --outfile=frontend/pkg/assets/static/status.js --watch"
}
}