We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
yarn prepare
1 parent af672ba commit 2de1aacCopy full SHA for 2de1aac
README.md
@@ -25,7 +25,7 @@ Populate environment variables:
25
Build the bot:
26
27
```bash
28
-yarn build
+yarn prepare
29
```
30
31
Start the bot:
package.json
@@ -40,8 +40,9 @@
40
"typescript": "^4.8.3"
41
},
42
"scripts": {
43
- "prebuild": "rm -rf ./dist",
44
- "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",
45
+ "prepare": "./node_modules/.bin/ttsc",
46
"start": "node ./dist/src/main.js"
47
48
"prettier": {
0 commit comments