fix esno
This commit is contained in:
parent
37adfacb4f
commit
de2ff62cd5
3 changed files with 6 additions and 8 deletions
|
@ -1,7 +1,5 @@
|
|||
FROM node:17-alpine
|
||||
WORKDIR /app
|
||||
COPY package.json yarn.lock .
|
||||
RUN yarn install --frozen-lockfile
|
||||
COPY . .
|
||||
RUN yarn build
|
||||
CMD [ "node", "dist/index.js" ]
|
||||
RUN yarn install --frozen-lockfile
|
||||
CMD [ "yarn", "start" ]
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "NODE_ENV=development nodemon --ext ts,json --watch src --exec esno src/index.ts",
|
||||
"build": "tsc",
|
||||
"start": "esno src/index.ts",
|
||||
"lint": "eslint **/*.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -10,10 +10,10 @@ import * as BuildConfig from './constants';
|
|||
import { filterMessage } from './filters';
|
||||
import { green, bold, blue, underline, yellow } from 'kleur/colors';
|
||||
import * as parser from 'discord-command-parser';
|
||||
import fs from 'fs';
|
||||
import path, { dirname } from 'path';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { SuccessfulParsedMessage } from 'discord-command-parser';
|
||||
import dotenv from 'dotenv';
|
||||
import * as dotenv from 'dotenv';
|
||||
import { parseLog } from './mclogs';
|
||||
dotenv.config();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue