Files
discordeno/packages/utils/package.json
H01001000 e9feaf42d4 test: add mocha
* chore: add typescript plugin

* test: add mocha

* test: add test to utils
2022-12-02 16:17:46 +08:00

38 lines
1.1 KiB
JSON

{
"name": "@discordeno/utils",
"version": "18.0.0-alpha.1",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"license": "Apache-2.0",
"scripts": {
"build": "swc src --out-dir dist",
"build-types": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
"release-build": "yarn build && yarn build-types",
"fmt": "prettier -w ./src",
"lint": "eslint \"src/**/*.ts*\"",
"test:unit": "mocha --no-warnings 'tests/**/*.spec.ts'",
"test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
"test-types": "tsc --noEmit"
},
"dependencies": {
"chai": "^4.3.7",
"mocha": "^10.1.0",
"sinon": "^15.0.0",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@discordeno/types": "18.0.0-alpha.1",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.21",
"@types/chai": "^4",
"@types/mocha": "^10",
"@types/node": "^18.11.9",
"@types/sinon": "^10.0.13",
"eslint": "^8.0.1",
"eslint-config-discordeno": "*",
"tsconfig": "*",
"typescript": "^4.9.3"
}
}