-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove duplication in scripts
- Loading branch information
1 parent
a5156f7
commit f78b0c5
Showing
2 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
install: | ||
npm ci | ||
bot: | ||
bin/bot.js | ||
dev: | ||
nodemon --env-file=.env src/index.js | ||
dev-bot: | ||
nodemon --env-file=.env bin/bot.js | ||
start: | ||
node --env-file=.env src/index.js | ||
start-bot: | ||
node --env-file=.env bin/bot.js | ||
publish: | ||
npm publish --dry-run | ||
test: | ||
npm run test | ||
dev: | ||
npm run dev | ||
lint: | ||
npx eslint . | ||
lint-fix: | ||
npx eslint . --fix | ||
npx eslint --fix . && prettier --write \"bin/**/*.js\" | ||
test-coverage: | ||
npm test -- --coverage --coverageProvider=v8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters