-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 1.14 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
27
28
29
30
{
"name": "react-template-tailwindcss",
"version": "1.0.0",
"description": "React TailwindCSS Template",
"main": "index.js",
"scripts": {
"build:esbuild": "esbuild src/js/index.js --bundle --minify --loader:.js=jsx --format=cjs --outfile=public/dist/bundle.js",
"watch:esbuild": "esbuild src/js/index.js --bundle --loader:.js=jsx --format=cjs --outfile=public/dist/bundle.js --watch",
"build:css": "npx tailwindcss -i src/css/style.css -o public/dist/bundle.css --minify",
"watch:css": "npx tailwindcss -i src/css/style.css -o public/dist/bundle.css --watch",
"serve": "serve public/",
"open": "opener http://localhost:3000",
"build": "concurrently --kill-others-on-fail npm:build:esbuild npm:build:css",
"watch": "concurrently --kill-others-on-fail npm:watch:esbuild npm:watch:css npm:serve npm:open"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"concurrently": "^8.2.2",
"esbuild": "0.21.4",
"opener": "^1.5.2",
"serve": "^14.2.3"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.3"
}
}