mirror of
https://github.com/pacnpal/markov-discord.git
synced 2025-12-19 18:51:05 -05:00
Stop hardcoding binaries in package.json
This commit is contained in:
10
package.json
10
package.json
@@ -4,14 +4,14 @@
|
||||
"description": "A conversational Markov chain bot for Discord",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"start": "./node_modules/.bin/pm2 start --no-daemon dist/index.js",
|
||||
"start": "pm2 start --no-daemon dist/index.js",
|
||||
"start:ts": "ts-node src/index.ts",
|
||||
"build": "rimraf build && /opt/homebrew/bin/node ./node_modules/.bin/tsc",
|
||||
"lint": "./node-v20.18.1-darwin-x64/bin/node ./node_modules/.bin/tsc --noEmit && ./node-v20.18.1-darwin-x64/bin/node ./node_modules/.bin/eslint .",
|
||||
"build": "rimraf build && tsc",
|
||||
"lint": "tsc --noEmit && eslint .",
|
||||
"docker:build": "docker build . -t charlocharlie/markov-discord:latest --target deploy",
|
||||
"docker:run": "docker run --rm -ti -v $(pwd)/config:/usr/app/config charlocharlie/markov-discord:latest",
|
||||
"typeorm": "./node-v20.18.1-darwin-x64/bin/node --require ts-node/register ./node_modules/typeorm/cli.js",
|
||||
"docs": "./node-v20.18.1-darwin-x64/bin/node ./node_modules/.bin/typedoc --out docs src/config/classes.ts"
|
||||
"typeorm": "npx typeorm-cli",
|
||||
"docs": "typedoc --out docs src/config/classes.ts"
|
||||
},
|
||||
"repository": "https://github.com/claabs/markov-discord.git",
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user