-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
29 lines (29 loc) · 1.4 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
{
"name": "food-order",
"version": "1.0.0",
"description": "Food ordering app, made with Go - HTMX - DaisyUI/Tailwind",
"main": "index.js",
"scripts": {
"tl:generate": "npx tailwindcss -i ./src/static/input.css -o ./src/static/main.css",
"tl:generate:dev": "npx tailwindcss -i ./src/static/input.css -o ./src/static/main.css --watch",
"templ:generate": "templ generate",
"templ:generate:dev": "templ generate --watch",
"migrate:create": "migrate create -ext sql -dir database/migrations/ -seq $3",
"migrate:up": "./node_modules/.bin/env-cmd bash -c 'migrate -path database/migrations/ -database \"postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:5432/$POSTGRES_DB_NAME?sslmode=disable\" -verbose up'",
"migrate:down": "./node_modules/.bin/env-cmd bash -c 'migrate -path database/migrations/ -database \"postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:5432/$POSTGRES_DB_NAME?sslmode=disable\" -verbose down'",
"migrate:seed": "go build -o ./tmp/seeder ./database/seeders/*.go && ./tmp/seeder",
"migrate:refresh": "npm run migrate:down && npm run migrate:up && npm run migrate:seed"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"env-cmd": "^10.1.0",
"tailwindcss": "^3.4.1"
},
"dependencies": {
"@shoelace-style/shoelace": "^2.12.0",
"htmx.org": "^1.9.10"
}
}