mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
* Merge mocha config file * Simplify scripts, remove coverage path fixing Codecov is able to fix the coverage paths on its own * Readd coveragePathFixing script * Fix coverage path fix script
46 lines
1.3 KiB
JSON
46 lines
1.3 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 src --out-dir dist",
|
|
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
|
"release-build": "yarn build && yarn build:type",
|
|
"check": "biome check --write",
|
|
"test:unit": "c8 -r lcov mocha 'tests/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js utils",
|
|
"test:deno-unit": "deno -A npm:mocha 'tests/**/*.spec.ts'",
|
|
"test:bun-unit": "bun --bun mocha 'tests/**/*.spec.ts'",
|
|
"test:test-type": "tsc --project tests/tsconfig.json",
|
|
"test:type": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@discordeno/types": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.3.11",
|
|
"@swc/cli": "^0.7.9",
|
|
"@swc/core": "^1.15.8",
|
|
"@types/chai": "^5.2.3",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "^25.0.3",
|
|
"@types/sinon": "^21.0.0",
|
|
"c8": "^10.1.3",
|
|
"chai": "^6.2.2",
|
|
"mocha": "^11.7.5",
|
|
"sinon": "^21.0.1",
|
|
"ts-node": "^10.9.2",
|
|
"tsconfig": "*",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|