insomnia/packages/insomnia-smoke-test/package.json
2020-09-15 08:55:18 +12:00

27 lines
1.1 KiB
JSON

{
"private": true,
"name": "insomnia-smoke-test",
"version": "2.2.22",
"scripts": {
"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",
"start:prism": "prism mock prism/petstore.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",
"jest": "^26.4.2",
"spectron": "^11.1.0",
"spectron-keys": "0.0.1",
"xvfb-maybe": "^0.2.1"
}
}