insomnia/packages/insomnia-smoke-test/package.json
2020-12-08 11:32:18 +13:00

30 lines
1.3 KiB
JSON

{
"private": true,
"name": "insomnia-smoke-test",
"version": "2.2.27",
"type": "module",
"scripts": {
"spectron:core:build": "cross-env BUNDLE=build xvfb-maybe jest --detectOpenHandles --testPathPattern core",
"spectron:designer:build": "cross-env BUNDLE=build xvfb-maybe jest --detectOpenHandles --testPathPattern designer",
"spectron:core:package": "cross-env BUNDLE=package xvfb-maybe jest --detectOpenHandles --testPathPattern core",
"spectron:designer:package": "cross-env BUNDLE=package xvfb-maybe jest --detectOpenHandles --testPathPattern designer",
"serve": "node server/index.js",
"with-mock": "concurrently --names server,spectron --success first --kill-others \"npm run serve\"",
"test:core:build": "npm run with-mock \"npm run spectron:core:build\"",
"test:designer:build": "npm run with-mock \"npm run spectron:designer:build\"",
"test:core:package": "npm run with-mock \"npm run spectron:core:package\"",
"test:designer:package": "npm run with-mock \"npm run spectron:designer:package\""
},
"devDependencies": {
"concurrently": "^5.3.0",
"cross-env": "^7.0.2",
"express": "^4.17.1",
"express-basic-auth": "^1.2.0",
"faker": "^5.1.0",
"jest": "^26.4.2",
"spectron": "^11.1.0",
"spectron-keys": "0.0.1",
"xvfb-maybe": "^0.2.1"
}
}