-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.32 KB
/
package.json
File metadata and controls
32 lines (32 loc) · 1.32 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
{
"name": "openapi-conference",
"version": "1.0.0",
"description": "OpenAPI Conference Landing Page",
"type": "module",
"private": true,
"scripts": {
"predev": "mkdir -p dist && node scripts/build-html.js && cp -r public/* dist/",
"dev": "concurrently \"npm:dev:*\" --names \"JS,CSS,HTML,SERVER\" --prefix-colors \"blue,green,magenta,yellow\"",
"dev:js": "node esbuild.config.js --watch",
"dev:css": "npx tailwindcss -i ./src/styles/input.css -o ./dist/output.css --watch",
"dev:html": "nodemon --watch src/index.html --exec \"node scripts/build-html.js\"",
"dev:serve": "serve dist -p 3000 --no-port-switching --no-clipboard",
"build": "npm run build:js && npm run build:css && npm run build:html && npm run build:assets",
"build:js": "node esbuild.config.js",
"build:css": "npx tailwindcss -i ./src/styles/input.css -o ./dist/output.css --minify",
"build:html": "node scripts/build-html.js",
"build:assets": "cp -r public/* dist/ && touch dist/.nojekyll",
"preview": "serve dist -p 4173",
"clean": "rm -rf dist && mkdir -p dist"
},
"devDependencies": {
"@tailwindcss/cli": "^4.1.17",
"concurrently": "^9.1.2",
"esbuild": "^0.24.2",
"nodemon": "^3.1.11",
"postcss": "^8.5.6",
"postcss-import": "^16.1.0",
"serve": "^14.2.4",
"tailwindcss": "^4.1.7"
}
}