|
31 | 31 | "@types/debug": "^4.1.7",
|
32 | 32 | "@types/estree": "^1.0.0",
|
33 | 33 | "@types/fs-extra": "^11.0.4",
|
34 |
| - "@types/mocha": "^9.0.0", |
35 | 34 | "@types/node": "^18.8.4",
|
36 | 35 | "@types/semver": "^7.3.12",
|
37 | 36 | "@typescript-eslint/eslint-plugin": "^8.22.0",
|
|
48 | 47 | "eslint-plugin-unicorn": "^57.0.0",
|
49 | 48 | "fs-extra": "^10.0.0",
|
50 | 49 | "jsonc-eslint-parser": "^2.0.3",
|
51 |
| - "mocha": "^9.1.3", |
52 | 50 | "npm-run-all": "^4.1.5",
|
53 | 51 | "nyc": "^15.1.0",
|
54 | 52 | "opener": "^1.5.2",
|
|
67 | 65 | "scripts": {
|
68 | 66 | "prebuild": "npm run -s clean",
|
69 | 67 | "build": "tsc --module es2015 && rollup -c -o index.js && dts-bundle --name vue-eslint-parser --main .temp/index.d.ts --out ../index.d.ts",
|
70 |
| - "clean": "rimraf .nyc_output .temp coverage index.*", |
| 68 | + "clean": "rimraf .temp index.*", |
71 | 69 | "coverage": "opener ./coverage/lcov-report/index.html",
|
72 | 70 | "lint": "eslint src test package.json",
|
73 | 71 | "pretest": "run-s build lint",
|
74 |
| - "test": "npm run -s test:mocha", |
75 |
| - "test:vitest": "vitest", |
| 72 | + "test": "vitest", |
76 | 73 | "test:cover": "vitest --coverage",
|
77 | 74 | "update-fixtures": "ts-node --transpile-only scripts/update-fixtures-ast.js && ts-node --transpile-only scripts/update-fixtures-document-fragment.js",
|
78 | 75 | "preversion": "npm test",
|
|
82 | 79 | "watch": "run-p watch:*",
|
83 | 80 | "watch:tsc": "tsc --module es2015 --watch",
|
84 | 81 | "watch:rollup": "wait-on .temp/index.js && rollup -c -o index.js --watch",
|
85 |
| - "watch:test": "wait-on index.js && warun index.js \"test/*.js\" \"test/fixtures/ast/*/*.json\" \"test/fixtures/*\" --debounce 1000 --no-initial -- nyc mocha \"test/*.js\" --reporter dot --timeout 10000", |
86 | 82 | "watch:update-ast": "wait-on index.js && warun index.js \"test/fixtures/ast/*/*.vue\" -- ts-node scripts/update-fixtures-ast.js",
|
87 | 83 | "watch:coverage-report": "wait-on coverage/lcov-report/index.html && opener coverage/lcov-report/index.html"
|
88 | 84 | },
|
|
0 commit comments