|
63 | 63 | "bench": "tsx bench.mts", |
64 | 64 | "build": "tsc -b && tsx build.mts", |
65 | 65 | "change": "changeset add", |
66 | | - "ci:test": "nyc npm run mocha -- --forbid-only", |
| 66 | + "ci:test": "nyc npm test -- --forbid-only", |
67 | 67 | "format": "npm run lint:eslint -- --fix && npm run lint:prettier -- --write && (fixpack || true)", |
68 | 68 | "lint": "tsc -b && npm run lint:eslint && npm run lint:prettier -- -l && fixpack", |
69 | 69 | "lint:eslint": "eslint -f visualstudio .", |
70 | 70 | "lint:prettier": "prettier \"./**/*{.ts,.js,.json,.md,.yml,rc}\"", |
71 | | - "mocha": "cross-env NODE_ENV=test mocha \"./src/**/__tests__/*.test.ts\"", |
72 | 71 | "prepare": "husky", |
73 | 72 | "release": "npm run build && changeset publish", |
74 | 73 | "report": "open ./coverage/lcov-report/index.html", |
75 | | - "test": "npm run mocha -- --watch", |
76 | | - "test:inspect": "npm test -- --inspect", |
77 | | - "test:update": "npm run mocha -- --update", |
| 74 | + "test": "cross-env NODE_ENV=test mocha \"./src/**/__tests__/*.test.ts\"", |
| 75 | + "test:update": "npm test -- --update", |
78 | 76 | "version": "changeset version && npm i --package-lock-only" |
79 | 77 | }, |
80 | 78 | "types": "dist/index.d.ts" |
|
0 commit comments