-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 依存関係の更新と ESM, vitest への移行 (#48)
* Migrate into ESM & bump deps * Migrate into ESM * Migrate test into vitest * style: Fix lint error * fix: Fix command name * build: Fix build script
- Loading branch information
1 parent
1994b92
commit e5ca767
Showing
43 changed files
with
1,029 additions
and
3,777 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,51 @@ | ||
{ | ||
"name": "github-secretary", | ||
"version": "1.6.0", | ||
"main": "index.js", | ||
"exports": "./index.js", | ||
"type": "module", | ||
"repository": "https://github.com/approvers/github-secretary", | ||
"author": "MikuroXina <ryosukadnak@gmail.com>", | ||
"license": "Apache-2.0", | ||
"private": true, | ||
"scripts": { | ||
"dev:bot": "ts-node src/bot/apps/release.ts", | ||
"build:bot": "esbuild --outfile=dist/bundle.js --sourcemap --bundle src/bot/apps/release.ts --platform=node --target=es2019 --external:discord.js --external:node-fetch", | ||
"dev:bot": "ts-node --esm src/bot/apps/release.ts", | ||
"build:bot": "esbuild --outfile=dist/bundle.js --format=esm --sourcemap --bundle src/bot/apps/release.ts --platform=node --target=node16 --external:./node_modules/*", | ||
"start:bot": "node dist/bundle.js", | ||
"dev:web": "next ./src/web", | ||
"build:web": "next build ./src/web", | ||
"start:web": "next start ./src/web", | ||
"test": "jest --passWithNoTests", | ||
"test": "vitest run", | ||
"lint": "eslint --ext .ts,.tsx --ignore-path .gitignore --ignore-path .eslintignore ./src/", | ||
"lint:fix": "npm run lint -- --fix" | ||
}, | ||
"dependencies": { | ||
"@babel/core": "^7.18.2", | ||
"discord.js": "^13.7.0", | ||
"dotenv": "^10.0.0", | ||
"faunadb": "^4.5.4", | ||
"@babel/core": "^7.18.5", | ||
"discord.js": "^13.8.0", | ||
"dotenv": "^16.0.1", | ||
"faunadb": "^4.6.0", | ||
"mutex-promise": "^0.1.0", | ||
"next": "^11.1.4", | ||
"node-fetch": "^2.6.7", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"next": "^12.1.6", | ||
"node-fetch": "^3.2.6", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"toml": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@next/eslint-plugin-next": "^12.1.6", | ||
"@types/jest": "^27.5.1", | ||
"@types/node": "^16.11.36", | ||
"@types/node-fetch": "^2.6.1", | ||
"@types/react": "^17.0.45", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"esbuild": "~0.14.42", | ||
"eslint": "^7.32.0", | ||
"eslint-config-next": "^11.1.4", | ||
"@types/node": "^18.0.0", | ||
"@types/node-fetch": "^2.6.2", | ||
"@types/react": "^18.0.14", | ||
"@typescript-eslint/eslint-plugin": "^5.28.0", | ||
"@typescript-eslint/parser": "^5.28.0", | ||
"esbuild": "~0.14.46", | ||
"eslint": "^8.18.0", | ||
"eslint-config-next": "^12.1.6", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^3.4.1", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-react": "^7.30.0", | ||
"jest": "^27.5.1", | ||
"prettier": "^2.6.2", | ||
"ts-jest": "^27.1.5", | ||
"ts-node": "^10.8.0", | ||
"typescript": "<4.5.0" | ||
"prettier": "^2.7.1", | ||
"ts-node": "^10.8.1", | ||
"typescript": "^4.7.4", | ||
"vitest": "^0.15.1" | ||
} | ||
} |
Oops, something went wrong.