Files
discordeno/packages/utils/package.json
2025-09-11 17:26:22 +05:30

48 lines
1.6 KiB
JSON

{
"name": "@discordeno/utils",
"version": "22.0.0-beta.1",
"exports": "./dist/index.js",
"type": "module",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/discordeno/discordeno.git"
},
"files": [
"dist/**",
"!dist/.tsbuildinfo"
],
"scripts": {
"build": "swc src --strip-leading-paths --delete-dir-on-start src --out-dir dist",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build:type",
"check": "biome check --write",
"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 utils",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
"test:deno-unit": "deno -A ../../node_modules/mocha/bin/mocha.js --config ../../.mocharc.base.cjs 'tests/**/*.spec.ts'",
"test:bun-unit": "bun ../../node_modules/mocha/bin/mocha.js --config ../../.mocharc.base.cjs 'tests/**/*.spec.ts'",
"test:type": "tsc --noEmit",
"test:test-type": "tsc --project tests/tsconfig.json"
},
"dependencies": {
"@discordeno/types": "workspace:^"
},
"devDependencies": {
"@biomejs/biome": "2.2.2",
"@swc/cli": "^0.7.8",
"@swc/core": "^1.13.5",
"@types/chai": "^5.2.2",
"@types/mocha": "^10.0.10",
"@types/node": "^24.3.0",
"@types/sinon": "^17.0.4",
"c8": "^10.1.3",
"chai": "^6.0.1",
"mocha": "^11.7.2",
"sinon": "^21.0.0",
"ts-node": "^10.9.2",
"tsconfig": "*",
"typescript": "^5.9.2"
}
}