Skip to content

Commit 3cd2989

Browse files
committed
chore: uninstall mocha
1 parent f3f67de commit 3cd2989

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"@types/debug": "^4.1.7",
3232
"@types/estree": "^1.0.0",
3333
"@types/fs-extra": "^11.0.4",
34-
"@types/mocha": "^9.0.0",
3534
"@types/node": "^18.8.4",
3635
"@types/semver": "^7.3.12",
3736
"@typescript-eslint/eslint-plugin": "^8.22.0",
@@ -48,7 +47,6 @@
4847
"eslint-plugin-unicorn": "^57.0.0",
4948
"fs-extra": "^10.0.0",
5049
"jsonc-eslint-parser": "^2.0.3",
51-
"mocha": "^9.1.3",
5250
"npm-run-all": "^4.1.5",
5351
"nyc": "^15.1.0",
5452
"opener": "^1.5.2",
@@ -67,12 +65,11 @@
6765
"scripts": {
6866
"prebuild": "npm run -s clean",
6967
"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.*",
7169
"coverage": "opener ./coverage/lcov-report/index.html",
7270
"lint": "eslint src test package.json",
7371
"pretest": "run-s build lint",
74-
"test": "npm run -s test:mocha",
75-
"test:vitest": "vitest",
72+
"test": "vitest",
7673
"test:cover": "vitest --coverage",
7774
"update-fixtures": "ts-node --transpile-only scripts/update-fixtures-ast.js && ts-node --transpile-only scripts/update-fixtures-document-fragment.js",
7875
"preversion": "npm test",
@@ -82,7 +79,6 @@
8279
"watch": "run-p watch:*",
8380
"watch:tsc": "tsc --module es2015 --watch",
8481
"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",
8682
"watch:update-ast": "wait-on index.js && warun index.js \"test/fixtures/ast/*/*.vue\" -- ts-node scripts/update-fixtures-ast.js",
8783
"watch:coverage-report": "wait-on coverage/lcov-report/index.html && opener coverage/lcov-report/index.html"
8884
},

0 commit comments

Comments
 (0)