Skip to content

Commit

Permalink
Switch to yarn prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Nov 17, 2023
1 parent af672ba commit 2de1aac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Populate environment variables:
Build the bot:

```bash
yarn build
yarn prepare
```

Start the bot:
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@
"typescript": "^4.8.3"
},
"scripts": {
"prebuild": "rm -rf ./dist",
"build": "./node_modules/.bin/ttsc",
"build": "echo -e '\\033[0;31m`yarn build` is deprecated; use `yarn prepare` instead\\033[0m' >&2 && yarn prepare",
"preprepare": "rm -rf ./dist",
"prepare": "./node_modules/.bin/ttsc",
"start": "node ./dist/src/main.js"
},
"prettier": {
Expand Down

0 comments on commit 2de1aac

Please sign in to comment.