-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
26 lines (26 loc) · 1.27 KB
/
package.json
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
{
"name": "jsxr-poc",
"version": "0.1",
"scripts": {
"dev:twd": "bun x tailwindcss --watch --input src/client/index.css --output _dev/static/index.css",
"dev:js": "bun build --watch src/client/index.ts --outfile _dev/static/index.js --target browser",
"dev:src": "bun --hot run --inspect src/index.ts",
"dev": "concurrently \"bun dev:twd\" \"bun dev:js\" \"bun dev:src\"",
"clean": "rm -rf dist && rm -rf _dev",
"test": "bun test",
"check": "tsc --noEmit",
"bundle:server": "NODE_ENV=production bun build src/index.ts --outfile ./dist/app.mjs --target node",
"bundle:styles": "bun x tailwindcss --minify --input src/client/index.css --output dist/static/index.css",
"bundle:client": "bun build --minify src/client/index.ts --outfile ./dist/static/index.js --target browser",
"dist:pre": "bun clean && bun check && bun test",
"dist": "bun dist:pre && bun bundle:server && cp -R src/static dist && bun bundle:styles && bun bundle:client",
"preview": "bun dist && cd dist && node app.mjs",
"demo": "cd dist && NODE_ENV=production NODE_HOST=0.0.0.0 NODE_PORT=3333 node app.mjs"
},
"devDependencies": {
"@tailwindcss/cli": "^4.0.0-beta.2",
"@types/bun": "^1.1.12",
"concurrently": "^9.1.0",
"tailwindcss": "^4.0.0-beta.2"
}
}