Skip to content

Commit

Permalink
feat: Add run scripts for bun
Browse files Browse the repository at this point in the history
  • Loading branch information
bn3t authored Nov 17, 2023
1 parent 7d00fba commit 6ad76f1
Show file tree
Hide file tree
Showing 7 changed files with 5,415 additions and 9,185 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
node_modules/
build/
dist/
dist-bun/
coverage/
junit.xml
.vscode/
.vscode/
bun.lockb
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
build
dist
dist-bun
node_modules
package-lock.json
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@
- Npm check update `npm run ncu`
- Conventional commits releasing (experimental)

## Configured scripts

- build:check: check typescript syntax
- build:js: build the nodejs version using tsup
- bun:build:js: build the nodejs version using bun
- bun:build:bun: build the bun version
- bun:build:bun-exe: build an executable (bun)
- build: full build the nodejs version (lint, check, build)
- bun:build: build the bun version (lint, check, build)
- clean: clean all generated files
- dev: run the dev version (ts-node)
- lint: run lint
- lint:fix: run lint fix
- ncu: run npm-check-update dependency management
- start: run the production version
- test:ci: run the tests (ci version)
- test: run the test (interactive version)

## Visual Studio Code configuration

Put this in .vscode/settings.json
Expand Down
Loading

0 comments on commit 6ad76f1

Please sign in to comment.