Files
discordeno/packages/benchmarks/package.json
Fleny 919474069d chore: Migrate ESLint and prettier to Biome (#3634)
* Migrate eslint and prettier to biomejs

This does NOT include examples/bigbot as it has its own formatter

* Update to biome 1.8.0

* Readd dotenv dev dependency to rest

During a merge it got lost
2024-07-13 13:05:02 -05:00

44 lines
1.4 KiB
JSON

{
"name": "benchmarks",
"version": "0.0.0",
"main": "./dist/index.js",
"exports": {
"import": "./dist/index.js",
"types": "./dist/types/index.d.ts"
},
"types": "./dist/types/index.d.ts",
"type": "module",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/discordeno/discordeno.git"
},
"scripts": {
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist/types",
"release-build": "yarn build && yarn build:type",
"fmt": "biome format --write",
"lint": "biome lint --write",
"build": "swc src --strip-leading-paths --delete-dir-on-start --out-dir dist && node ../../scripts/fixBenchExtension.js",
"build-message": "swc src/generateMessage.ts --strip-leading-paths -C sourceMaps=false --out-dir ../../scripts && node ../../scripts/fixBenchExtension.js",
"bench": "node dist/index.js"
},
"dependencies": {
"@discordeno/bot": "19.0.0-beta.1",
"@discordeno/gateway": "19.0.0-alpha.1",
"@discordeno/rest": "19.0.0-alpha.1",
"@discordeno/types": "19.0.0-beta.1",
"@discordeno/utils": "19.0.0-beta.1",
"benchmark": "^2.1.4"
},
"devDependencies": {
"@biomejs/biome": "^1.8.0",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.4.2",
"@types/benchmark": "^2.1.5",
"@types/node": "^20.14.10",
"ts-node": "^10.9.2",
"tsconfig": "*",
"typescript": "^5.5.3"
}
}