2016-03-16 05:49:42 +00:00
|
|
|
{
|
2017-11-26 20:45:40 +00:00
|
|
|
"name": "insomnia",
|
2016-03-20 20:42:27 +00:00
|
|
|
"private": true,
|
2016-07-07 20:10:55 +00:00
|
|
|
"version": "1.0.0",
|
2021-05-12 12:31:07 +00:00
|
|
|
"author": "Kong <office@konghq.com>",
|
2020-08-10 23:46:07 +00:00
|
|
|
"description": "Insomnia is a cross-platform REST client, built on top of Electron.",
|
2021-04-22 20:21:22 +00:00
|
|
|
"license": "MIT",
|
2020-04-26 21:08:50 +00:00
|
|
|
"repository": "https://github.com/kong/insomnia",
|
2017-11-26 20:45:40 +00:00
|
|
|
"bugs": {
|
2020-08-10 23:46:07 +00:00
|
|
|
"url": "https://github.com/kong/insomnia/issues"
|
2016-07-18 19:44:46 +00:00
|
|
|
},
|
2020-08-10 23:46:07 +00:00
|
|
|
"homepage": "https://github.com/kong/insomnia#readme",
|
2016-07-18 19:44:46 +00:00
|
|
|
"scripts": {
|
2021-05-12 06:35:00 +00:00
|
|
|
"build": "lerna run build --parallel",
|
2021-05-26 00:31:39 +00:00
|
|
|
"lint": "lerna run lint --stream --no-bail",
|
2021-08-27 03:44:01 +00:00
|
|
|
"lint:markdown": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\"",
|
2021-05-26 00:31:39 +00:00
|
|
|
"lint:fix": "lerna run lint:fix --stream --no-bail",
|
2021-05-13 03:30:15 +00:00
|
|
|
"bootstrap": "npm install && lerna bootstrap && lerna run --stream bootstrap",
|
2021-12-16 00:08:45 +00:00
|
|
|
"bootstrap:electron-builder": "lerna bootstrap --no-ci -- --production --no-optional",
|
2022-03-09 15:06:53 +00:00
|
|
|
"version": "lerna version --exact --force-publish",
|
|
|
|
"publish": "lerna publish from-git --no-verify-access",
|
Fixes clean scripts (#3400)
* removes (unused and unwanted) husky scripts
might as well, it's only taking up space for nothing in our node_modules
* adds `lerna run clean` to main clean script
we didn't have `clean` scripts in the packages before, but now that we do, it makes sense to.... hahah... _use them_.
Note that it's important that we run the package scripts first, because otherwise after the rimraf (which is now at the end) there's no `lerna` left to call.
* adds missing clean script to insomnia-components
although it looks like there are other changes at first glance, there shouldn't be any behavioral differences now except the fact that build will always generate SVGs (which, was an oversight/bug that it wasn't before). We need this to occur so that when we clean it removes the things that were built, and when we build it replaces those same things.
* adds a postclean script to insomnia-app like every other package
I'll be honest, I'm not entirely sure what the reason is for having `postclean` scripts in every package with (mostly) `rimraf dist` (i.e. instead of just including that in the main clean script at the end), but that's clearly the convention - so for now I'm just following it
* removes references to old build artifact location
well, except for the .gitignore. I guess I could remove it from the .gitignore, commit it, commit deleting it, which would clear it from everyone's projects... but I'll just leave it there for a bit in the .gitignore. hopefully people either start fresh or run `clean` from the root every once in a while, which will clean this up.
After a few weeks or months we can remove these two references (in the package.json.clean and .gitignore) altogether if we feel like it.
* removes unused reference in config to build artifact
I searched high and low for every place I could find that consumes this file and none of them seem to use this field anyway. And even if they did, it's wrong. In fact, it's been wrong for a while I'd guess because (relative to the root, if that's what it was intended to mean).
As far as I can tell this was added https://github.com/Kong/insomnia/commit/c6a7c4d68272b3c4f3d78d4dc9031ae8e49b3f7a#diff-6918d2464ad7fb0f3e985d8587ce0c4218eeba6c6dea60c58642251f4db99ecb
So I even checked out that commit and looked at all usages of that file at that time and it was, there too, unused (so far as I can tell). Appears to be a case of wishful thinking that it'd be useful for something, not sure.
2021-05-19 13:56:10 +00:00
|
|
|
"clean": "lerna run clean --parallel --stream && lerna clean --yes && rimraf node_modules",
|
2021-05-12 06:35:00 +00:00
|
|
|
"test": "lerna run --stream --parallel test",
|
2020-07-01 23:28:05 +00:00
|
|
|
"inso-start": "npm start --prefix packages/insomnia-inso",
|
2021-10-06 22:01:43 +00:00
|
|
|
"inso-package": "npm run build:sr --prefix packages/insomnia-app && npm run package --prefix packages/insomnia-inso",
|
2021-10-12 21:23:25 +00:00
|
|
|
"inso-package:artifacts": "npm run artifacts --prefix packages/insomnia-inso",
|
2022-02-18 12:47:41 +00:00
|
|
|
"watch:app": "npm run build:main.min.js --prefix packages/insomnia-app && npm run start:dev-server --prefix packages/insomnia-app",
|
2020-04-26 20:33:39 +00:00
|
|
|
"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",
|
2022-03-09 15:06:53 +00:00
|
|
|
"app-bump-version": "npm run bump-version --prefix packages/insomnia-app",
|
2020-08-24 20:40:40 +00:00
|
|
|
"preinstall": "node ./scripts/check-version.js",
|
2022-02-10 15:32:33 +00:00
|
|
|
"app-build:smoke": "cross-env npm run app-build",
|
|
|
|
"app-package:smoke": "cross-env npm run app-package",
|
2022-01-19 11:06:28 +00:00
|
|
|
"test:smoke:dev": "npm run test:dev --prefix packages/insomnia-smoke-test",
|
2021-02-02 23:19:22 +00:00
|
|
|
"test:smoke:build": "npm run test:build --prefix packages/insomnia-smoke-test",
|
|
|
|
"test:smoke:package": "npm run test:package --prefix packages/insomnia-smoke-test",
|
2021-06-24 15:22:19 +00:00
|
|
|
"test:smoke:cli": "npm run test:cli --prefix packages/insomnia-smoke-test",
|
2021-11-03 08:06:52 +00:00
|
|
|
"hard-reset": "npm run clean && npm run bootstrap && npm run app-start",
|
|
|
|
"type-check": "lerna run type-check"
|
2020-05-14 22:54:07 +00:00
|
|
|
},
|
2016-03-16 05:49:42 +00:00
|
|
|
"devDependencies": {
|
2020-07-28 05:18:26 +00:00
|
|
|
"@babel/cli": "^7.10.5",
|
2020-01-06 18:33:47 +00:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
2019-04-18 00:50:03 +00:00
|
|
|
"@babel/plugin-proposal-decorators": "^7.4.0",
|
|
|
|
"@babel/preset-env": "^7.4.3",
|
2020-04-09 17:32:19 +00:00
|
|
|
"@babel/preset-flow": "^7.9.0",
|
|
|
|
"@babel/preset-react": "^7.9.4",
|
2021-05-12 06:35:00 +00:00
|
|
|
"@jest/types": "^26.6.2",
|
|
|
|
"@types/chai": "^4.2.15",
|
2022-02-02 16:21:25 +00:00
|
|
|
"@types/eslint": "8.4.1",
|
2021-05-12 06:35:00 +00:00
|
|
|
"@types/jest": "^26.0.23",
|
2022-03-07 13:10:35 +00:00
|
|
|
"@types/node": "^17.0.21",
|
2021-05-12 06:35:00 +00:00
|
|
|
"@types/rimraf": "^3.0.0",
|
2022-02-02 16:21:25 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
|
|
"@typescript-eslint/parser": "^5.10.2",
|
2019-04-18 00:50:03 +00:00
|
|
|
"babel-loader": "^8.0.5",
|
2020-01-06 18:33:47 +00:00
|
|
|
"babel-plugin-inline-react-svg": "^1.1.0",
|
2021-05-12 06:35:00 +00:00
|
|
|
"babel-plugin-styled-components": "^1.12.0",
|
2020-08-24 20:40:40 +00:00
|
|
|
"cross-env": "^7.0.2",
|
2022-02-02 16:21:25 +00:00
|
|
|
"eslint": "^8.8.0",
|
2021-08-12 22:01:54 +00:00
|
|
|
"eslint-config-helpers": "^1.1.0",
|
2021-07-22 23:04:56 +00:00
|
|
|
"eslint-plugin-filenames": "^1.3.2",
|
2022-02-02 16:21:25 +00:00
|
|
|
"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",
|
2021-07-22 23:04:56 +00:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2022-02-02 16:21:25 +00:00
|
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
|
|
"eslint-plugin-react": "^7.28.0",
|
|
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
2021-07-22 23:04:56 +00:00
|
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
|
|
"eslint-plugin-standard": "^5.0.0",
|
2021-05-12 06:35:00 +00:00
|
|
|
"jest": "^26.6.3",
|
2022-02-02 16:21:25 +00:00
|
|
|
"lerna": "^4.0.0",
|
2021-08-27 03:44:01 +00:00
|
|
|
"markdownlint-cli2": "^0.2.0",
|
2021-05-12 06:35:00 +00:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"ts-jest": "^26.5.6",
|
2022-03-08 23:05:21 +00:00
|
|
|
"type-fest": "^2.12.0",
|
2022-02-08 20:19:22 +00:00
|
|
|
"typescript": "^4.5.5"
|
2021-09-29 17:58:34 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"immer": "^9.0.6"
|
Sidebar code mirror interactions (#2433)
* Lifting path clicked up to sidebar root
* Abstracting out path click to story (and app)
* Adding click to scroll, updating sidebar components
* Scroll fix for sidebar
* Cleaning up log
* PR feedback
* PR Feedback, fix schemas & request body rendering
* PR feedback & cleanup
* Prop value checking, selection positioning
* Pulling remote import
* Styled components into insomnia-app, obj destructuring, typing
* Refactoring item path mapping
* Abstracting the mapping of specs for position, bumping down styled components version.
* Directly passing ... rest args initial work
* Pulling logs, removing array concatenation
* Pulling click handler out of render method
* Rolling position mapping into scroll positining method
* Opening up type, could be number/string/array
* Update package-lock.json
* Grabbing height from window, typing API vars, checking path
* Creating scroll method dedicated to design mode
* Moving typing of spec related content to Props def.
* Type checking on sections, invalid section component
2020-08-03 17:57:12 +00:00
|
|
|
}
|
2021-08-25 19:52:08 +00:00
|
|
|
}
|