insomnia/package.json
Filipe Freire 1160b4a09c
Recurring releases of insomnia app (INS-1429) (#4474)
* Update default electron-builder targetgs

* Allow setting a build ref

Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.

* Adds recurring release workflow

New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.

Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.

Co-Authored-By: David Marby <david@dmarby.se>

* Make recurring flow independent from Test flow

Co-Authored-By: David Marby <david@dmarby.se>

* Use setup-node@v2

Co-Authored-By: David Marby <david@dmarby.se>

* Update .github/workflows/release-recurring.yml

Co-authored-by: David Marby <david@dmarby.se>

* It's always the single quotes 🙏 😚

* Use bash shell

* Disable fail-fast

* Add cancel-in-progress setting to recurring releases

If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.

Co-Authored-By: David Marby <david@dmarby.se>

* Change concurrency setting to workflow level

Co-Authored-By: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2022-02-10 15:32:33 +00:00

91 lines
4.1 KiB
JSON

{
"name": "insomnia",
"private": true,
"version": "1.0.0",
"author": "Kong <office@konghq.com>",
"description": "Insomnia is a cross-platform REST client, built on top of Electron.",
"license": "MIT",
"repository": "https://github.com/kong/insomnia",
"bugs": {
"url": "https://github.com/kong/insomnia/issues"
},
"homepage": "https://github.com/kong/insomnia#readme",
"scripts": {
"build": "lerna run build --parallel",
"lint": "lerna run lint --stream --no-bail",
"lint:markdown": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\"",
"lint:fix": "lerna run lint:fix --stream --no-bail",
"bootstrap": "npm install && lerna bootstrap && lerna run --stream bootstrap",
"bootstrap:electron-builder": "lerna bootstrap --no-ci -- --production --no-optional",
"version": "lerna version --exact --preid beta",
"version:all": "npm run version -- --force-publish",
"version:dry": "npm run version -- --no-git-tag-version",
"release": "lerna publish from-git --pre-dist-tag beta --no-verify-access --yes",
"clean": "lerna run clean --parallel --stream && lerna clean --yes && rimraf node_modules",
"test": "lerna run --stream --parallel test",
"inso-start": "npm start --prefix packages/insomnia-inso",
"inso-package": "npm run build:sr --prefix packages/insomnia-app && npm run package --prefix packages/insomnia-inso",
"inso-package:artifacts": "npm run artifacts --prefix packages/insomnia-inso",
"app-start-playwright": "npm run build:main.min.js --prefix packages/insomnia-app && npm run start:dev-server --prefix packages/insomnia-app",
"app-start": "npm start --prefix packages/insomnia-app",
"app-build": "npm run build --prefix packages/insomnia-app",
"app-package": "npm run package --prefix packages/insomnia-app",
"app-release": "npm run release --prefix packages/insomnia-app",
"storybook-start": "npm run storybook --prefix packages/insomnia-components",
"storybook-legacy-start": "npm run storybook --prefix packages/insomnia-app",
"preinstall": "node ./scripts/check-version.js",
"app-build:smoke": "cross-env npm run app-build",
"app-package:smoke": "cross-env npm run app-package",
"test:smoke:dev": "npm run test:dev --prefix packages/insomnia-smoke-test",
"test:smoke:build": "npm run test:build --prefix packages/insomnia-smoke-test",
"test:smoke:package": "npm run test:package --prefix packages/insomnia-smoke-test",
"test:smoke:cli": "npm run test:cli --prefix packages/insomnia-smoke-test",
"hard-reset": "npm run clean && npm run bootstrap && npm run app-start",
"type-check": "lerna run type-check"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/preset-env": "^7.4.3",
"@babel/preset-flow": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@jest/types": "^26.6.2",
"@types/chai": "^4.2.15",
"@types/eslint": "8.4.1",
"@types/jest": "^26.0.23",
"@types/node": "^14.14.32",
"@types/rimraf": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"babel-loader": "^8.0.5",
"babel-plugin-inline-react-svg": "^1.1.0",
"babel-plugin-styled-components": "^1.12.0",
"cross-env": "^7.0.2",
"eslint": "^8.8.0",
"eslint-config-helpers": "^1.1.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-standard": "^5.0.0",
"jest": "^26.6.3",
"lerna": "^4.0.0",
"markdownlint-cli2": "^0.2.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.6",
"type-fest": "^1.0.2",
"typescript": "^4.5.5"
},
"dependencies": {
"immer": "^9.0.6"
}
}