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-09-22 22:38:00 +00:00
|
|
|
"version": "2.2.25",
|
2020-08-20 20:08:47 +00:00
|
|
|
"scripts": {
|
2020-08-24 22:49:29 +00:00
|
|
|
"spectron:core:build": "xvfb-maybe jest --testPathPattern core",
|
|
|
|
"spectron:designer:build": "xvfb-maybe jest --testPathPattern designer",
|
|
|
|
"spectron:core:package": "xvfb-maybe jest --testPathPattern core",
|
|
|
|
"spectron:designer:package": "xvfb-maybe jest --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-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
|
|
|
}
|
|
|
|
}
|