Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ Please make sure to update tests as appropriate.
4. To import dependencies, **run**: ```go mod tidy```.
5. To run tests, **run**: ```go test ./...```.

### CSS (Tailwind) contributing

1. Run `npm install`
2. After modifying tailwind files (e.g. tailwind.config.js), run `npm run build-css`

If the Mac-only dependency of tailwind (fsevents) silently fails (unlikely), you will get an error
like `fsevents.watch is not a function`

Then run `npm install fsevents --no-save` and proceed based on NPM's error output.
## Dependencies

* Development environments optimized for **GoLand**
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"build-css": "npx tailwindcss -o public/stylesheets/styles.css --watch --minify"
},
"dependencies": {
"fsevents": "^2.3.3",
"live-server": "^1.2.0"
},
"devDependencies": {
"tailwindcss": "^3.4.4"
},
"optionalDependencies": {
"fsevents": "^2.3.3"
}
}