mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
* chore: add yarn interactive-tools * chore(deps): bump swc * chore(deps): bump chai types * chore(deps): bump mocha * chore(deps): bump node types * chore(deps): bump eslint * chore(deps): bump other
49 lines
1.7 KiB
JSON
49 lines
1.7 KiB
JSON
{
|
|
"name": "@discordeno/client",
|
|
"version": "19.0.0-alpha.1",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"type": "module",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/discordeno/discordeno.git"
|
|
},
|
|
"scripts": {
|
|
"build": "swc --delete-dir-on-start src --out-dir dist",
|
|
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
|
"release-build": "yarn build && yarn build:type",
|
|
"fmt": "eslint --fix \"src/**/*.ts*\"",
|
|
"lint": "eslint \"src/**/*.ts*\"",
|
|
"test:unit-coverage": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
|
|
"test:unit": "c8 --r lcov mocha --no-warnings 'tests/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js client",
|
|
"test:deno-unit": "swc tests --delete-dir-on-start --out-dir denoTestsDist && node ../../scripts/fixDenoTestExtension.js && deno test -A --import-map ../../denoImportMap.json denoTestsDist",
|
|
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
|
|
"test:type": "tsc --noEmit",
|
|
"test:test-type": "tsc --project tsconfig.test.json"
|
|
},
|
|
"dependencies": {
|
|
"@discordeno/gateway": "19.0.0-alpha.1",
|
|
"@discordeno/rest": "19.0.0-alpha.1",
|
|
"@discordeno/types": "19.0.0-alpha.1",
|
|
"@discordeno/utils": "19.0.0-alpha.1"
|
|
},
|
|
"devDependencies": {
|
|
"@swc/cli": "^0.1.62",
|
|
"@swc/core": "^1.3.40",
|
|
"@types/chai": "^4.3.4",
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/node": "^18.15.3",
|
|
"@types/sinon": "^10.0.13",
|
|
"c8": "^7.13.0",
|
|
"chai": "^4.3.7",
|
|
"eslint": "^8.36.0",
|
|
"eslint-config-discordeno": "*",
|
|
"mocha": "^10.2.0",
|
|
"sinon": "^15.0.2",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig": "*",
|
|
"typescript": "^4.9.5"
|
|
}
|
|
}
|