2020-04-26 20:33:39 +00:00
|
|
|
{
|
|
|
|
"name": "insomnia-components",
|
2021-07-16 20:35:32 +00:00
|
|
|
"version": "2.3.1-alpha.0",
|
2021-05-12 12:31:07 +00:00
|
|
|
"author": "Kong <office@konghq.com>",
|
2020-04-26 20:33:39 +00:00
|
|
|
"description": "Insomnia UI component library",
|
|
|
|
"license": "MIT",
|
2021-05-13 11:31:33 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/Kong/insomnia.git",
|
|
|
|
"directory": "packages/insomnia-components"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/Kong/insomnia/issues"
|
|
|
|
},
|
2020-04-26 20:33:39 +00:00
|
|
|
"main": "dist/index.js",
|
2021-05-12 06:35:00 +00:00
|
|
|
"types": "dist/index.d.ts",
|
2020-04-26 20:33:39 +00:00
|
|
|
"scripts": {
|
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
|
|
|
"prebuild": "npm run convert-svg",
|
2020-06-16 19:46:13 +00:00
|
|
|
"build": "webpack --config webpack/webpack.prod.js --display errors-only",
|
2020-04-26 20:33:39 +00:00
|
|
|
"build-storybook": "build-storybook --quiet",
|
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": "rimraf dist storybook-static && npm run clean:svg",
|
|
|
|
"clean:svg": "rimraf src/assets/svgr",
|
|
|
|
"clean:svg:index": "rimraf src/assets/svgr/index.tsx",
|
|
|
|
"convert-svg": "npm run clean:svg && svgr --config-file svgr.config.js --out-dir src/assets/svgr src/assets && npm run clean:svg:index",
|
2021-05-12 06:35:00 +00:00
|
|
|
"jest:watch": "jest --watch",
|
|
|
|
"lint": "eslint . --ext .js,.ts,.tsx",
|
|
|
|
"lint:fix": "npm run lint -- --fix",
|
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
|
|
|
"prepare": "npm run build",
|
2020-04-26 20:33:39 +00:00
|
|
|
"storybook": "start-storybook --port 3223",
|
2021-05-12 06:35:00 +00:00
|
|
|
"test": "jest",
|
|
|
|
"watch": "webpack --config webpack/webpack.dev.js --watch"
|
2020-12-14 20:27:11 +00:00
|
|
|
},
|
2020-04-26 20:33:39 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.7.7",
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.8.3",
|
2020-12-14 20:27:11 +00:00
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.12.10",
|
2021-05-12 06:35:00 +00:00
|
|
|
"@storybook/addon-contexts": "^5.3.21",
|
|
|
|
"@storybook/addon-info": "^5.3.21",
|
|
|
|
"@storybook/addon-knobs": "^6.2.9",
|
|
|
|
"@storybook/react": "^6.2.9",
|
|
|
|
"@svgr/cli": "^5.5.0",
|
|
|
|
"@testing-library/dom": "^7.30.4",
|
|
|
|
"@testing-library/jest-dom": "^5.12.0",
|
|
|
|
"@testing-library/react": "^11.2.6",
|
|
|
|
"@testing-library/react-hooks": "^5.1.2",
|
|
|
|
"@types/babel__core": "^7.1.14",
|
|
|
|
"@types/babel__plugin-transform-runtime": "^7.9.1",
|
|
|
|
"@types/md5": "^2.3.0",
|
|
|
|
"@types/prop-types": "^15.7.3",
|
2021-07-22 14:56:14 +00:00
|
|
|
"@types/ramda": "^0.27.44",
|
2021-05-12 06:35:00 +00:00
|
|
|
"@types/react": "^16.14.5",
|
|
|
|
"@types/react-dom": "^16.9.12",
|
|
|
|
"@types/storybook__addon-info": "^5.2.3",
|
|
|
|
"@types/styled-components": "^4.4.3",
|
|
|
|
"@types/testing-library__jest-dom": "^5.9.5",
|
|
|
|
"@types/testing-library__react-hooks": "^4.0.0",
|
|
|
|
"@types/webpack": "^5.28.0",
|
|
|
|
"@types/webpack-merge": "^5.0.0",
|
2020-04-26 20:33:39 +00:00
|
|
|
"babel-plugin-inline-react-svg": "^1.1.1",
|
2020-12-14 20:27:11 +00:00
|
|
|
"jest": "^26.6.3",
|
2021-05-12 06:35:00 +00:00
|
|
|
"react": "^16.8.3",
|
|
|
|
"react-docgen-typescript": "^1.22.0",
|
|
|
|
"react-dom": "^16.8.3",
|
|
|
|
"react-use": "^17.2.4",
|
2020-08-06 14:00:21 +00:00
|
|
|
"storybook-addon-designs": "^5.4.1",
|
2020-08-10 19:12:53 +00:00
|
|
|
"styled-components": "^4.4.1",
|
2021-05-12 06:35:00 +00:00
|
|
|
"ts-loader": "^8.2.0",
|
|
|
|
"type-fest": "^1.0.2",
|
2021-05-12 22:49:58 +00:00
|
|
|
"typescript": "^4.2.3",
|
2021-05-12 06:35:00 +00:00
|
|
|
"typescript-plugin-styled-components": "^1.5.0",
|
2020-08-10 19:12:53 +00:00
|
|
|
"webpack": "^4.44.1",
|
2020-06-16 19:46:13 +00:00
|
|
|
"webpack-cli": "^3.3.11",
|
2021-05-12 06:35:00 +00:00
|
|
|
"webpack-merge": "^5.0.7"
|
2020-04-26 20:33:39 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-02-02 22:23:42 +00:00
|
|
|
"class-autobind-decorator": "^3.0.1",
|
2021-05-12 06:35:00 +00:00
|
|
|
"classnames": "^2.3.1",
|
Storybook Sidebar Provisioning & WIP Implementation (#2125)
* Migrating dimensions, latest SVG, stubbing sidebar
* Revert "Migrating dimensions, latest SVG, stubbing sidebar"
This reverts commit 5014a68f52ac50fc62db5d42d2b49abda28efaea.
* Revert "Revert "Migrating dimensions, latest SVG, stubbing sidebar""
This reverts commit 28c130c8d8b3993f91f072de106d3ff223d6c55b.
* Post merge bootstrap & build
* Linting
* Updating Story Heirarchy
* Migrating legacy tooltip component
* Reverting spacing integration into core dimensions
* Cleaning up comments, tweaking CSS var usage
* Removing static height
* Cleaning up static CSS values, re-organizing sliding panel, fixing search icon
* adding flow def for autobind in new SB instance
* PR feedback, removing new vars/updating markup
* Fixing lint > flow error on type
2020-05-14 18:00:29 +00:00
|
|
|
"framer-motion": "^1.10.3",
|
2020-05-21 03:14:45 +00:00
|
|
|
"fuzzysort": "^1.1.4",
|
2020-06-13 03:31:37 +00:00
|
|
|
"md5": "^2.2.1",
|
2021-07-22 14:56:14 +00:00
|
|
|
"ramda": "^0.27.1",
|
|
|
|
"ramda-adjunct": "^2.33.0",
|
2020-08-10 19:12:53 +00:00
|
|
|
"react-switch": "^5.0.1"
|
2020-04-26 20:33:39 +00:00
|
|
|
},
|
2020-06-13 04:56:15 +00:00
|
|
|
"peerDependencies": {
|
2021-05-12 06:35:00 +00:00
|
|
|
"react": "^16.8.3",
|
|
|
|
"react-dom": "^16.8.3",
|
2021-06-23 16:40:48 +00:00
|
|
|
"react-use": "^17.2.4",
|
2021-05-12 06:35:00 +00:00
|
|
|
"styled-components": "^5.1.1"
|
2020-06-13 04:56:15 +00:00
|
|
|
},
|
2020-07-01 23:28:05 +00:00
|
|
|
"gitHead": "d91e6735a76295166545a42c170328da4ab70dd3"
|
2020-04-26 20:33:39 +00:00
|
|
|
}
|