Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/myxogastria0808/discordjsv14-mytemplate


https://github.com/myxogastria0808/discordjsv14-mytemplate

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# discord.js v14 のセットアップ

## install

```shell
npm init
npm install -D @types/dotenv @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser dotenv eslint
npm install -D eslint-config-prettier ts-node-dev typescript
npm install discord.js node-cron @types/node-cron
npm tsc --init
npm init @eslint/config
```

## `npm init @eslint/config`

```text
√ How would you like to use ESLint? · problems
√ What type of modules does your project use? · commonjs
√ Which framework does your project use? · none
√ Does your project use TypeScript? · No / Yes
√ Where does your code run? · browser
√ What format do you want your config file to be in? · JavaScript
The config that you've selected requires the following dependencies:

@typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest
√ Would you like to install them now? · No / Yes
√ Which package manager do you want to use? · npm
```

## Docker container の作成と起動

```shell
docker-compose up -d
```