diff --git a/package.json b/package.json index 0bab716..8900198 100644 --- a/package.json +++ b/package.json @@ -2,19 +2,19 @@ "name": "root", "private": true, "scripts": { - "dev": "yarn docs", "build": "node scripts/build-cli.mjs", - "release": "node scripts/release.mjs", + "cov": "yarn test --coverage", + "dev": "yarn docs", "docs": "ERROR_OVERLAY=none dumi dev", "docs:build": "dumi build", "postinstall": "husky install", "lint": "eslint --ext .ts,.tsx .", "lint:fix": "eslint --fix --ext .ts,.tsx .", + "release": "node scripts/release.mjs", "test": "jest", "test:d": "node --inspect-brk node_modules/.bin/jest --runInBand", "test:w": "yarn test --watch", - "test:w:d": "yarn test:d --watch", - "cov": "yarn test --coverage" + "test:w:d": "yarn test:d --watch" }, "lint-staged": { "*.{ts,tsx}": [ @@ -73,6 +73,7 @@ "react-syntax-highlighter": "^15.5.0", "sass": "^1.58.2", "ts-jest": "^29.0.5", + "ts-node": "^10.9.2", "tsc-files": "^1.1.4", "typescript": "^5.1.6" } diff --git a/yarn.lock b/yarn.lock index c1e2c31..0365b4f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14866,7 +14866,7 @@ ts-jest@^29.0.5: semver "^7.6.3" yargs-parser "^21.1.1" -ts-node@^10.8.1: +ts-node@^10.8.1, ts-node@^10.9.2: version "10.9.2" resolved "https://registry.npmmirror.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==