remove packager dep and refactor jest config

This commit is contained in:
Vishwas Shashidhar 2019-05-22 12:51:49 +05:30
parent cdac0c4b89
commit fa79bde23a
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@
"browserify-preload": "browserify -o lib/src/renderer/_preload-main.js -x electron --insert-global-vars=__filename,__dirname lib/src/renderer/preload-main.js", "browserify-preload": "browserify -o lib/src/renderer/_preload-main.js -x electron --insert-global-vars=__filename,__dirname lib/src/renderer/preload-main.js",
"rebuild": "electron-rebuild -f", "rebuild": "electron-rebuild -f",
"dev": "npm run prebuild && cross-env ELECTRON_DEV=true electron .", "dev": "npm run prebuild && cross-env ELECTRON_DEV=true electron .",
"test": "npm run lint && cross-env ELECTRON_QA=true jest --config jest.unit.config.json --runInBand", "test": "npm run lint && cross-env ELECTRON_QA=true jest --config jest.config.json --runInBand",
"demo-win": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file:///demo/index.html", "demo-win": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file:///demo/index.html",
"demo-mac": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file://$(pwd)/demo/index.html", "demo-mac": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file://$(pwd)/demo/index.html",
"unpacked-mac": "npm run prebuild && npm run test && build --mac --dir", "unpacked-mac": "npm run prebuild && npm run test && build --mac --dir",
@ -93,7 +93,6 @@
"electron": "3.1.9", "electron": "3.1.9",
"electron-builder": "20.38.4", "electron-builder": "20.38.4",
"electron-builder-squirrel-windows": "20.38.3", "electron-builder-squirrel-windows": "20.38.3",
"electron-packager": "13.0.1",
"electron-rebuild": "1.8.2", "electron-rebuild": "1.8.2",
"enzyme": "3.9.0", "enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.10.0", "enzyme-adapter-react-16": "1.10.0",