-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 4.29 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"description": "Designed to streamline project workflows for freelancers and small businesses, ResMon combines time tracking with project management features in a user-friendly platform. Gain insights into productivity and manage projects with ease, all in one place.",
"scripts": {
"build": "npm run build:frontend && npm run build:backend",
"build:backend": "go build -tags 'netgo sqlite_stat4 sqlite_fts5 sqlite_math_functions sqlite_vtable'",
"build:backend_dev": "go build -race -tags 'netgo sqlite_stat4 sqlite_fts5 sqlite_math_functions sqlite_vtable'",
"build:frontend": "npx webpack --config config/webpack.prod.js",
"build:frontend_dev": "npx webpack --config config/webpack.dev.js",
"build_dev": "npm run build:frontend_dev && npm run build:backend_dev",
"cleanup": "npm run cleanup:elm && npm run cleanup:github && npm run cleanup:go && npm run cleanup:gql && npm run cleanup:sass && npm run cleanup:sql && npm run cleanup:web",
"cleanup:elm": "npx elm-format --yes ./src/elm/ ./tests/Elm/ ./review/src/ ./generated/elm/",
"cleanup:github": "npx prettier --write ./.github/",
"cleanup:go": "go mod tidy && go fmt ./...",
"cleanup:gql": "npx prettier --write ./src/gql/",
"cleanup:sass": "npx prettier --write ./src/sass/",
"cleanup:sql": "npx prettier --write ./src/sql/",
"cleanup:web": "npx prettier --write ./web/",
"dev": "npm run build_dev && npx concurrently --kill-others \"npm run dev:frontend\" \"npm run dev:backend\"",
"dev:backend": "go run -race -tags 'netgo sqlite_stat4 sqlite_fts5 sqlite_math_functions sqlite_vtable' main.go --dev",
"dev:frontend": "npx webpack serve --port 8122 --config config/webpack.dev.js",
"fix": "npx elm-review --fix-all",
"generate": "npm run generate:elm && npm run generate:model && npm run generate:graph",
"generate:elm": "npx ts-node --compilerOptions {\\\"strict\\\":false} ./lib/ts/elm-tailwind-modules/cli.ts --tailwind-config ./config/tailwind.config.js --dir ./generated/elm",
"generate:graph": "npm run generate:graph:go && npm run generate:graph:elm",
"generate:graph:elm": "npm run touch:webroot && go run main.go --generate-elm-graphql-schema",
"generate:graph:go": "go run github.com/99designs/gqlgen",
"generate:model": "go run github.com/sqlc-dev/sqlc/cmd/sqlc@latest generate --file ./src/sql/sqlc.yaml",
"prepare": "npx husky",
"review": "npm run review:elm && npm run review:go && npm run review:model",
"review:elm": "npx elm-review",
"review:go": "npm run build:frontend && go vet -tags 'netgo sqlite_stat4 sqlite_fts5 sqlite_math_functions sqlite_vtable'",
"review:model": "go run github.com/sqlc-dev/sqlc/cmd/sqlc@latest vet --file ./src/sql/sqlc.yaml",
"test": "npm run test:elm && npm run review && npm run build && npm run test:go",
"test:elm": "npx elm-verify-examples && npx elm-test --fuzz 250",
"test:go": "npm run build:frontend && go test -race -tags 'netgo sqlite_stat4 sqlite_fts5 sqlite_math_functions sqlite_vtable'",
"touch:webroot": "mkdir -p webroot && touch webroot/empty"
},
"devDependencies": {
"@dillonkearns/elm-graphql": "^4.3.1",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/typography": "^0.5.13",
"@types/color-name": "^1.1.4",
"@types/deep-equal": "^1.0.4",
"@types/lodash": "^4.17.1",
"autoprefixer": "^10.4.19",
"clean-webpack-plugin": "^4.0.0",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.1",
"css-minimizer-webpack-plugin": "^7.0.0",
"daisyui": "^4.11.1",
"elm-format": "^0.8.7",
"elm-reloader": "^1.0.0",
"elm-review": "^2.11.2",
"elm-tailwind-modules": "^0.5.0",
"elm-test": "^0.19.1-revision12",
"elm-verify-examples": "^6.0.3",
"elm-webpack-loader": "^8.0.0",
"graphql-ws": "^5.16.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.0",
"postcss": "^8.4.38",
"postcss-loader": "^8.1.1",
"prettier": "^3.2.5",
"prettier-plugin-sql": "^0.18.0",
"sass": "^1.77.1",
"sass-loader": "^14.2.1",
"style-loader": "^4.0.0",
"tailwindcss": "^3.4.3",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"url-loader": "^4.1.1",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-merge": "^5.10.0"
},
"engines": {
"node": ">=20"
},
"prettier": {
"tabWidth": 4
},
"dependencies": {
"elm": "^0.19.1-6",
"husky": "^9.0.11"
}
}