Skip to content

Commit

Permalink
refactor: no bundling for example-cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler committed Feb 13, 2024
1 parent f784da0 commit e0ad6a3
Show file tree
Hide file tree
Showing 7 changed files with 373 additions and 914 deletions.
20 changes: 7 additions & 13 deletions example-cjs/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,34 @@
{
"name": "wdio-electron-service-example-cjs",
"version": "1.0.0",
"main": "dist/main.bundle.js",
"main": "dist/main.js",
"scripts": {
"build": "pnpm build:bundle && pnpm build:package",
"build:bundle": "tsc && rollup -c rollup.config.mjs",
"build:bundle": "tsc",
"build:package": "cp ./src/index.html ./dist && electron-forge package",
"ci": "pnpm i && pnpm build && pnpm test",
"clean": "pnpm clean:dist && rm -rf ./node_modules pnpm-lock.yaml ./wdio-logs",
"clean": "pnpm clean:dist && rm -rf ./node_modules pnpm-lock.yaml ./wdio-logs ./out",
"clean:dist": "pnpx rimraf ./dist && mkdir -p ./dist",
"test": "wdio run ./wdio.conf.ts"
},
"dependencies": {
"wdio-electron-service": "file:../"
},
"devDependencies": {
"@electron-forge/cli": "^7.2.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.1",
"@types/node": "^20.11.0",
"@wdio/cli": "^8.27.2",
"@wdio/globals": "^8.27.2",
"@wdio/local-runner": "^8.27.2",
"@wdio/mocha-framework": "^8.27.2",
"electron": "^28.0.0",
"global-jsdom": "^9.2.0",
"global-jsdom": "^24.0.0",
"jsdom": "^24.0.0",
"rollup": "^4.9.5",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "^5.3.2",
"wdio-electron-service": "file:../",
"webdriverio": "^8.27.2"
},
"pnpm": {
"overrides": {
"expect-webdriverio": "4.9.3"
}
},
"peerDependencies": {
"typescript": "5.2.2"
}
Expand Down
Loading

0 comments on commit e0ad6a3

Please sign in to comment.