|
2 | 2 | "name": "@packages/electron",
|
3 | 3 | "version": "0.0.0-development",
|
4 | 4 | "private": true,
|
5 |
| - "main": "dist/src/index.js", |
| 5 | + "main": "dist/index.js", |
6 | 6 | "scripts": {
|
7 | 7 | "build": "rimraf dist && yarn build:esm && yarn build:cjs",
|
8 | 8 | "build-binary": "node ./bin/cypress-electron --install",
|
|
12 | 12 | "postinstall": "echo '@packages/electron needs: yarn build'",
|
13 | 13 | "lint": "eslint",
|
14 | 14 | "start": "./bin/cypress-electron",
|
15 |
| - "test": "yarn test-unit", |
16 |
| - "test-debug": "yarn test-unit --inspect-brk=5566", |
17 |
| - "test-unit": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json", |
18 |
| - "test-watch": "yarn test-unit --watch" |
| 15 | + "test": "yarn vitest" |
19 | 16 | },
|
20 | 17 | "dependencies": {
|
21 | 18 | "@packages/icons": "0.0.0-development",
|
|
29 | 26 | "devDependencies": {
|
30 | 27 | "@electron/fuses": "1.8.0",
|
31 | 28 | "@electron/packager": "18.3.6",
|
| 29 | + "@vitest/coverage-v8": "^3.2.4", |
| 30 | + "eslint": "^9.31.0", |
32 | 31 | "execa": "4.1.0",
|
33 | 32 | "mocha": "3.5.3",
|
34 |
| - "systeminformation": "^5.27.7" |
| 33 | + "systeminformation": "^5.27.7", |
| 34 | + "vitest": "^3.2.4" |
35 | 35 | },
|
36 | 36 | "files": [
|
37 | 37 | "dist",
|
38 |
| - "lib" |
| 38 | + "bin", |
| 39 | + "app" |
39 | 40 | ],
|
40 | 41 | "bin": {
|
41 | 42 | "cypress-electron": "./bin/cypress-electron"
|
42 | 43 | },
|
43 |
| - "types": "dist/cjs/src/index.d.ts", |
| 44 | + "types": "dist/index.d.ts", |
44 | 45 | "lint-staged": {
|
45 | 46 | "**/*.{js,jsx,ts,tsx}": "eslint --fix"
|
46 | 47 | },
|
|
0 commit comments