Files
discordeno/packages/rest/package.json
dependabot[bot] e06f46eb2b build(deps-dev): bump @swc/core from 1.9.2 to 1.10.2 (#4055)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.9.2 to 1.10.2.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/compare/v1.9.2...v1.10.2)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-28 20:39:11 +01:00

56 lines
2.3 KiB
JSON

{
"name": "@discordeno/rest",
"version": "20.0.0",
"main": "./dist/esm/index.js",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs",
"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": "swc src --strip-leading-paths --delete-dir-on-start src --out-dir dist/esm && swc --strip-leading-paths --delete-dir-on-start src --out-dir dist/cjs -C module.type=commonjs && node ../../scripts/fixCjsExtension.js",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist/types",
"release-build": "yarn build && yarn build:type",
"fmt": "biome format --write",
"lint": "biome lint --write",
"test:unit-coverage": "c8 mocha --no-warnings 'tests/unit/**/*.spec.ts'",
"test:unit": "c8 --r lcov mocha --no-warnings 'tests/unit/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js rest",
"test:deno-unit": "swc tests --strip-leading-paths --delete-dir-on-start --out-dir denoTestsDist && node ../../scripts/fixDenoTestExtension.js && deno test -A --import-map ../../denoImportMap.json denoTestsDist/unit",
"test:bun-unit": "node ../../scripts/fixBunTestExtension.js && bun test bunTestsDist/unit",
"test:e2e": "c8 --r lcov mocha --exit --no-warnings --jobs 1 --t 30000 'tests/e2e/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js rest",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/unit/**/*.spec.ts'",
"test:type": "tsc --noEmit",
"test:test-type": "tsc --project tests/tsconfig.json"
},
"dependencies": {
"@discordeno/types": "20.0.0",
"@discordeno/utils": "20.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@swc/cli": "^0.5.1",
"@swc/core": "^1.10.2",
"@types/chai": "^5.0.1",
"@types/chai-as-promised": "^8.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^22.9.1",
"@types/sinon": "^17.0.3",
"c8": "^10.1.2",
"chai": "^5.1.2",
"chai-as-promised": "^8.0.0",
"dotenv": "^16.4.5",
"mocha": "^10.8.2",
"sinon": "^19.0.2",
"ts-node": "^10.9.2",
"tsconfig": "*",
"typescript": "^5.6.3"
}
}