mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-28 22:40:19 +00:00
47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
{
|
|
"name": "@discordeno/utils",
|
|
"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 --skipDefaultLibCheck --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 utils",
|
|
"test:deno-unit": "swc tests --delete-dir-on-start -C jsc.minify.mangle=false --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/types": "19.0.0-alpha.1",
|
|
"tweetnacl": "^1.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@swc/cli": "^0.1.57",
|
|
"@swc/core": "^1.3.21",
|
|
"@types/chai": "^4",
|
|
"@types/mocha": "^10",
|
|
"@types/node": "^18.11.15",
|
|
"@types/sinon": "^10.0.13",
|
|
"c8": "^7.12.0",
|
|
"chai": "^4.3.7",
|
|
"eslint": "^8.0.1",
|
|
"eslint-config-discordeno": "*",
|
|
"mocha": "^10.1.0",
|
|
"sinon": "^15.0.0",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig": "*",
|
|
"typescript": "^4.9.3"
|
|
}
|
|
}
|