Skip to content

Commit

Permalink
feat(test): add test script, deps
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed Nov 25, 2022
1 parent a8a08dc commit d2f9fcf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/plugin/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,18 @@
"license": "MIT",
"main": "dist/VitePlugin.js",
"typings": "dist/VitePlugin.d.ts",
"scripts": {},
"scripts": {
"test": "xvfb-maybe mocha --config ../../../.mocharc.js test/**/*_spec.ts"
},
"devDependencies": {
"@types/node": "^18.0.3"
"@malept/cross-spawn-promise": "^2.0.0",
"@types/node": "^18.0.3",
"chai": "^4.3.3",
"electron-packager": "^17.1.1",
"fs-extra": "^10.0.0",
"mocha": "^9.0.1",
"which": "^2.0.2",
"xvfb-maybe": "^0.2.1"
},
"engines": {
"node": "^14.18.0 || >=16.0.0"
Expand Down

0 comments on commit d2f9fcf

Please sign in to comment.