mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
d2c677c0fd
* Implements #344 * Multifactor authentication (MFA) not yet supported
202 lines
6.7 KiB
JSON
202 lines
6.7 KiB
JSON
{
|
|
"name": "insomnia",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"description": "Insomnia App",
|
|
"main": "main.js",
|
|
"licence": "GNU AGPLv3",
|
|
"homepage": "https://insomnia.rest",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/getinsomnia/insomnia"
|
|
},
|
|
"scripts": {
|
|
"test:lint": "eslint \"**/*.js\" \"**/*.html\" \"**/*.json\"",
|
|
"test:noisy": "cross-env NODE_ENV=test jest",
|
|
"test:coverage": "cross-env NODE_ENV=test jest --coverage --silent && open ./coverage/lcov-report/index.html",
|
|
"test:watch": "cross-env NODE_ENV=test jest --silent --watch",
|
|
"test": "npm run test:lint && cross-env NODE_ENV=test jest --silent",
|
|
"start-hot": "npm run build-main && cross-env HOT=1 INSOMNIA_ENV=development electron app",
|
|
"build-main": "cross-env NODE_ENV=development webpack --config ./webpack/webpack.config.electron.babel.js",
|
|
"hot-server": "webpack-dev-server --config ./webpack/webpack.config.development.babel.js",
|
|
"dev": "concurrently --kill-others \"npm run hot-server\" \"npm run start-hot\"",
|
|
"build:clean": "rm -rf ./build/* && rm -rf ./dist/* && mkdirp ./build",
|
|
"build:renderer": "cross-env NODE_ENV=production webpack --config ./webpack/webpack.config.production.babel.js",
|
|
"build:main": "cross-env NODE_ENV=production webpack --config ./webpack/webpack.config.electron.babel.js",
|
|
"build:copy": "cp -r ./app/package.json ./app/static ./app/icons/* ./build/",
|
|
"build:install": "cd build && npm install",
|
|
"build": "npm run build:clean && npm run build:renderer && npm run build:main && npm run build:copy && npm run build:install",
|
|
"rebuild": "electron-rebuild -f -w node-libcurl",
|
|
"package:mac": "rm -rf dist/mac && node node_modules/electron-builder/out/cli/build-cli.js --publish=never --x64 --mac",
|
|
"package:win": "rm -rf dist/win* && node node_modules/electron-builder/out/cli/build-cli.js --publish=never --x64 --win",
|
|
"package:linux": "rm -rf dist/linux && rm -f dist/*.AppImage && rm -f dist/*.deb && node node_modules/electron-builder/out/cli/build-cli.js --publish=never --x64 --linux",
|
|
"package": "npm test && rm -rf dist/* && npm run package:mac && npm run package:win && npm run package:linux",
|
|
"build-n-package": "npm run build && npm run package",
|
|
"build-n-package:win": "npm run build && npm run package:win",
|
|
"build-n-package:mac": "npm run build && npm run package:mac",
|
|
"build-n-package:linux": "npm run build && npm run package:linux"
|
|
},
|
|
"jest": {
|
|
"setupFiles": [
|
|
"./__jest__/setup.js"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(css|less|png)$": "<rootDir>/__mocks__/dummy.js"
|
|
},
|
|
"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/**"
|
|
]
|
|
},
|
|
"build": {
|
|
"appId": "com.insomnia.app",
|
|
"category": "public.app-category.developer-tools",
|
|
"protocols": [
|
|
{
|
|
"name": "Insomnia",
|
|
"role": "Viewer",
|
|
"schemes": [
|
|
"insomnia"
|
|
]
|
|
}
|
|
],
|
|
"fileAssociations": [],
|
|
"directories": {
|
|
"app": "build",
|
|
"output": "dist"
|
|
},
|
|
"win": {
|
|
"iconUrl": "https://insomnia.rest/images/icon.png",
|
|
"target": "squirrel",
|
|
"msi": false
|
|
},
|
|
"linux": {
|
|
"executableName": "insomnia",
|
|
"synopsis": "A simple, beautiful, and free REST API client",
|
|
"category": "Development",
|
|
"target": [
|
|
"AppImage",
|
|
"deb"
|
|
]
|
|
},
|
|
"deb": {
|
|
"depends": [
|
|
"gconf2",
|
|
"gconf-service",
|
|
"libnotify4",
|
|
"libappindicator1",
|
|
"libxtst6",
|
|
"libnss3",
|
|
"libcurl3"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"autobind-decorator": "^1.3.4",
|
|
"aws4": "1.6.0",
|
|
"classnames": "^2.2.5",
|
|
"clone": "^2.1.0",
|
|
"codemirror": "^5.24.2",
|
|
"deep-equal": "^1.0.1",
|
|
"electron-context-menu": "^0.9.0",
|
|
"electron-squirrel-startup": "^1.0.0",
|
|
"highlight.js": "^9.12.0",
|
|
"hkdf": "^0.0.2",
|
|
"html-entities": "^1.2.0",
|
|
"httpsnippet": "^1.16.5",
|
|
"iconv-lite": "^0.4.15",
|
|
"insomnia-importers": "^1.3.8",
|
|
"jsonlint": "^1.6.2",
|
|
"jsonpath": "^0.2.11",
|
|
"marked": "^0.3.6",
|
|
"mime-types": "^2.1.14",
|
|
"mkdirp": "^0.5.1",
|
|
"moment": "^2.18.1",
|
|
"nedb": "^1.8.0",
|
|
"node-forge": "^0.7.0",
|
|
"node-libcurl": "git://github.com/getinsomnia/node-libcurl.git#b3968130cbaeef6b432e617a5e835baf0f856880",
|
|
"nunjucks": "^3.0.0",
|
|
"react": "^15.4.2",
|
|
"react-dnd": "^2.2.3",
|
|
"react-dnd-html5-backend": "^2.2.3",
|
|
"react-dom": "^15.4.2",
|
|
"react-redux": "^5.0.3",
|
|
"react-tabs": "^0.8.2",
|
|
"redux": "^3.3.1",
|
|
"redux-thunk": "^2.0.1",
|
|
"reselect": "^2.5.4",
|
|
"simple-react-pdf": "^1.0.8",
|
|
"srp-js": "^0.2.0",
|
|
"tough-cookie": "^2.3.1",
|
|
"uuid": "^3.0.0",
|
|
"vkbeautify": "^0.99.1",
|
|
"whatwg-fetch": "^2.0.1",
|
|
"xmldom": "^0.1.22",
|
|
"xpath": "^0.0.23"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.23.0",
|
|
"babel-core": "^6.23.1",
|
|
"babel-eslint": "^7.1.1",
|
|
"babel-jest": "^19.0.0",
|
|
"babel-loader": "^6.3.2",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
|
"babel-plugin-transform-regenerator": "^6.22.0",
|
|
"babel-plugin-transform-runtime": "^6.15.0",
|
|
"babel-polyfill": "^6.23.0",
|
|
"babel-preset-es2015": "^6.22.0",
|
|
"babel-preset-react": "^6.23.0",
|
|
"babel-preset-react-hmre": "^1.1.1",
|
|
"concurrently": "^2.0.0",
|
|
"cross-env": "^2.0.0",
|
|
"css-loader": "^0.26.2",
|
|
"electron": "^1.6.11",
|
|
"electron-builder": "^10.17.3",
|
|
"electron-rebuild": "^1.5.7",
|
|
"eslint": "^3.16.1",
|
|
"eslint-config-semistandard": "^7.0.0",
|
|
"eslint-config-standard": "^7.0.0",
|
|
"eslint-plugin-filenames": "^1.1.0",
|
|
"eslint-plugin-html": "^2.0.1",
|
|
"eslint-plugin-jest": "^19.0.1",
|
|
"eslint-plugin-json": "^1.2.0",
|
|
"eslint-plugin-promise": "^3.5.0",
|
|
"eslint-plugin-react": "^6.10.0",
|
|
"eslint-plugin-standard": "^2.1.1",
|
|
"file-loader": "^0.10.1",
|
|
"jest": "^19.0.2",
|
|
"less": "^2.7.2",
|
|
"less-loader": "^2.2.3",
|
|
"react-hot-loader": "^3.0.0-beta.6",
|
|
"redux-mock-store": "^1.0.2",
|
|
"style-loader": "^0.13.2",
|
|
"url-loader": "^0.5.8",
|
|
"webpack": "^2.2.1",
|
|
"webpack-dev-middleware": "^1.10.1",
|
|
"webpack-dev-server": "^2.4.1",
|
|
"webpack-hot-middleware": "^2.17.1",
|
|
"webpack-target-electron-renderer": "^0.4.0"
|
|
},
|
|
"devEngines": {
|
|
"node": "6.x",
|
|
"npm": "2.x || 3.x"
|
|
}
|
|
}
|