insomnia/packages/insomnia-app/package.json
Opender Singh 7b3ae5bfd8 Enable and disable plugins! (#1855)
* Add PluginConfig type

* Update plugin loader to find PluginConfig

* Only extend with active plugins

* Toggle checkbox UI

* Show checkbox

* WIP

* WIP - add separate checkbox component

* add react-switch

* Remove toggle-switch less files

* Rename

* Move dependency to app package

* Can't bootstrap or run after moving node module to insomnia-app package hmmm

* Update packages

* Add toggle switch story

* Remove unnecessary prop

* Update story

* Renames

* Update dependencies...

* Update flow-types

* Hmmm

* Fix import?

* Update

* Update to regular component

* Fix css + remove _mounted from toggle-switch

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
2020-01-23 13:43:04 -05:00

220 lines
6.4 KiB
JSON

{
"private": true,
"version": "2.1.5",
"name": "insomnia-app",
"app": {
"name": "insomnia",
"executableName": "insomnia",
"appId": "com.insomnia.app",
"productName": "Insomnia",
"longName": "Insomnia REST Client",
"synopsis": "A simple, beautiful, and free REST API client",
"icon": "https://github.com/kong/insomnia/blob/master/packages/insomnia-app/app/icons/icon.ico?raw=true",
"theme": "default",
"version": "7.0.6",
"main": "main.min.js",
"plugins": [
"insomnia-plugin-base64",
"insomnia-plugin-hash",
"insomnia-plugin-file",
"insomnia-plugin-now",
"insomnia-plugin-uuid",
"insomnia-plugin-prompt",
"insomnia-plugin-request",
"insomnia-plugin-response",
"insomnia-plugin-jsonpath",
"insomnia-plugin-cookie-jar",
"insomnia-plugin-core-themes"
]
},
"licence": "MIT",
"homepage": "https://insomnia.rest/",
"description": "Debug APIs like a human, not a robot",
"author": "Insomnia <support@insomnia.rest>",
"main": "app/main.min.js",
"appveyorCacheBreaker": 2,
"repository": {
"type": "git",
"url": "https://github.com/kong/insomnia"
},
"scripts": {
"test": "flow check && npm run test:jest",
"test:jest": "cross-env NODE_ENV=test jest --silent",
"test-appveyor": "npm run test -- --maxWorkers 1",
"start:electron": "cross-env NODE_ENV=development webpack --config ./webpack/webpack.config.electron.babel.js && electron .",
"start:dev-server": "webpack-dev-server --config ./webpack/webpack.config.development.babel.js",
"start": "concurrently --kill-others \"npm run start:dev-server\" \"npm run start:electron\"",
"storybook": "start-storybook --port 3222",
"build": "node ./scripts/build.js",
"package": "node ./scripts/package.js",
"release": "node ./scripts/release.js",
"bootstrap": "rimraf node_modules/fsevents && rimraf node_modules/graphql-language-service-interface/dist/*.flow && electron-rebuild -f -w insomnia-libcurl"
},
"dev": {
"dev-server-port": 3333
},
"jest": {
"setupFiles": [
"./__jest__/setup.js"
],
"moduleNameMapper": {
"\\.(css|less|png)$": "<rootDir>/__mocks__/dummy.js",
"^worker-loader!": "<rootDir>/__mocks__/dummy.js",
"react-dom": "@hot-loader/react-dom"
},
"testMatch": [
"**/__tests__/**/*.test.js?(x)"
],
"rootDir": "app",
"verbose": false,
"resetMocks": true,
"resetModules": true,
"collectCoverage": false,
"collectCoverageFrom": [
"**/*.js",
"!**/*.min.js",
"!**/main.development.js",
"!**/static/**",
"!**/ui/components/**",
"!**/__fixtures__/**",
"!**/__tests__/**",
"!**/__jest__/**",
"!**/__mocks__/**",
"!**/node_modules/**"
]
},
"packedDependencies": [
"autobind-decorator",
"classnames",
"codemirror",
"codemirror-graphql",
"fuzzysort",
"graphql",
"insomnia-cookies",
"insomnia-importers",
"insomnia-prettify",
"insomnia-url",
"insomnia-xpath",
"highlight.js",
"json-order",
"jwt-authentication",
"moment",
"nunjucks",
"pdfjs-dist",
"prop-types",
"react",
"react-dnd",
"react-dnd-html5-backend",
"@hot-loader/react-dom",
"react-redux",
"react-sortable-hoc",
"react-switch",
"react-tabs",
"redux",
"redux-thunk",
"reselect",
"srp-js",
"vkbeautify",
"zprint-clj"
],
"dependencies": {
"@hot-loader/react-dom": "^16.8.6",
"autobind-decorator": "^2.4.0",
"aws4": "^1.9.0",
"classnames": "^2.2.5",
"clone": "^2.1.0",
"codemirror": "^5.50.0",
"codemirror-graphql": "^0.11.3",
"deep-equal": "^1.0.1",
"electron-context-menu": "^0.10.0",
"font-scanner": "^0.1.1",
"fs-extra": "^5.0.0",
"fuzzysort": "^1.1.1",
"graphql": "^14.5.8",
"hawk": "^6.0.2",
"highlight.js": "^9.12.0",
"hkdf": "^0.0.2",
"html-entities": "^1.2.0",
"httpsnippet": "^1.19.1",
"iconv-lite": "^0.4.15",
"insomnia-components": "^2.1.5",
"insomnia-cookies": "^2.1.4",
"insomnia-importers": "^2.1.4",
"insomnia-libcurl": "^2.1.4",
"insomnia-plugin-base64": "^2.1.4",
"insomnia-plugin-cookie-jar": "^2.1.4",
"insomnia-plugin-core-themes": "^2.1.4",
"insomnia-plugin-file": "^2.1.4",
"insomnia-plugin-hash": "^2.1.4",
"insomnia-plugin-jsonpath": "^2.1.4",
"insomnia-plugin-now": "^2.1.4",
"insomnia-plugin-prompt": "^2.1.4",
"insomnia-plugin-request": "^2.1.4",
"insomnia-plugin-response": "^2.1.4",
"insomnia-plugin-uuid": "^2.1.4",
"insomnia-prettify": "^2.1.4",
"insomnia-url": "^2.1.4",
"insomnia-xpath": "^2.1.4",
"json-order": "^1.0.12",
"jsonlint": "^1.6.3",
"jsonpath": "^1.0.2",
"jwt-authentication": "^0.4.0",
"marked": "^0.3.9",
"mime-types": "^2.1.18",
"mkdirp": "^0.5.1",
"moment": "^2.21.0",
"multiparty": "^4.2.1",
"nedb": "^1.8.0",
"node-forge": "^0.8.2",
"nunjucks": "^3.2.0",
"oauth-1.0a": "^2.2.2",
"papaparse": "^4.3.6",
"pdfjs-dist": "^2.2.228",
"prop-types": "^15.6.1",
"react": "^16.8.6",
"react-dnd": "^7.4.5",
"react-dnd-html5-backend": "^7.4.4",
"react-redux": "^7.0.1",
"react-sortable-hoc": "^0.8.3",
"react-switch": "^5.0.1",
"react-tabs": "^2.2.2",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"srp-js": "^0.2.1",
"tough-cookie": "^2.3.1",
"uuid": "^3.0.0",
"vkbeautify": "^0.99.1",
"whatwg-fetch": "^2.0.1",
"yaml": "^1.5.0",
"zprint-clj": "0.2.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@octokit/rest": "^16.33.0",
"@storybook/addon-info": "^5.2.8",
"@storybook/react": "^5.2.6",
"concurrently": "^3.5.0",
"cross-env": "^2.0.0",
"css-loader": "^2.1.1",
"electron": "^3.0.4",
"electron-builder": "^21.2.0",
"electron-builder-squirrel-windows": "^21.2.0",
"electron-notarize": "^0.1.1",
"electron-rebuild": "^1.8.8",
"fast-glob": "^3.1.0",
"file-loader": "^3.0.1",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"ncp": "^2.0.0",
"react-hot-loader": "^4.8.3",
"style-loader": "^0.23.1",
"url-loader": "^1.1.2",
"webpack": "^4.20.2",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.3.1",
"webpack-target-electron-renderer": "^0.4.0",
"worker-loader": "^2.0.0"
}
}