insomnia/packages/insomnia-smoke-test/package.json

28 lines
1.3 KiB
JSON

{
"private": true,
"name": "insomnia-smoke-test",
"version": "2.2.25",
"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",
"start:prism": "prism mock prism/oas3.yaml",
"with-mock": "concurrently --names prism,spectron --success first --kill-others \"npm run start:prism\"",
"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": {
"@stoplight/prism-cli": "^3.3.6",
"concurrently": "^5.3.0",
"cross-env": "^7.0.2",
"faker": "^5.1.0",
"jest": "^26.4.2",
"spectron": "^11.1.0",
"spectron-keys": "0.0.1",
"xvfb-maybe": "^0.2.1"
}
}