2020-08-20 20:08:47 +00:00
|
|
|
{
|
2020-08-24 22:13:29 +00:00
|
|
|
"private": true,
|
2020-08-20 20:08:47 +00:00
|
|
|
"name": "insomnia-smoke-test",
|
2020-11-26 03:12:14 +00:00
|
|
|
"version": "2.2.26",
|
2020-08-20 20:08:47 +00:00
|
|
|
"scripts": {
|
2020-10-08 02:48:20 +00:00
|
|
|
"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",
|
2020-09-17 18:05:53 +00:00
|
|
|
"start:prism": "prism mock prism/oas3.yaml",
|
2020-08-24 22:13:29 +00:00
|
|
|
"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\""
|
2020-08-20 20:08:47 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-08-24 22:13:29 +00:00
|
|
|
"@stoplight/prism-cli": "^3.3.6",
|
|
|
|
"concurrently": "^5.3.0",
|
2020-08-20 20:08:47 +00:00
|
|
|
"cross-env": "^7.0.2",
|
2020-09-23 22:49:25 +00:00
|
|
|
"faker": "^5.1.0",
|
2020-08-24 20:40:40 +00:00
|
|
|
"jest": "^26.4.2",
|
2020-08-20 20:08:47 +00:00
|
|
|
"spectron": "^11.1.0",
|
2020-08-24 20:40:40 +00:00
|
|
|
"spectron-keys": "0.0.1",
|
|
|
|
"xvfb-maybe": "^0.2.1"
|
2020-08-20 20:08:47 +00:00
|
|
|
}
|
|
|
|
}
|