{ "name": "insomnia", "private": true, "version": "1.0.0", "description": "Insomnia App", "main": "main.js", "licence": "GNU AGPLv3", "homepage": "http://insomnia.rest", "repository": { "type": "git", "url": "https://github.com/gschier/insomnia" }, "scripts": { "test:noisy": "jest", "test:coverage": "jest --coverage --silent && open ./coverage/lcov-report/index.html", "test:watch": "jest --silent --watch", "test": "jest --silent", "start-hot": "cross-env HOT=1 INSOMNIA_ENV=development electron -r babel-register ./app/main.development.js", "hot-server": "babel-node ./webpack/server.js", "dev": "concurrently --kill-others \"npm run hot-server\" \"npm run start-hot\"", "build:clean": "rm -rf ./build && rm -rf ./dist && mkdir ./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", "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", "sentry": "bash scripts/sentry-release.sh" }, "babel": { "presets": [ "es2015", "react" ], "plugins": [ "transform-object-rest-spread", "transform-class-properties", "add-module-exports", "transform-regenerator", "transform-runtime" ], "env": { "development": { "presets": [ "react-hmre" ] } } }, "jest": { "rootDir": "app", "verbose": false, "collectCoverage": false, "collectCoverageFrom": [ "**/*.js", "!**/main.development.js", "!**/static/**", "!**/ui/**", "!**/__fixtures__/**", "!**/__tests__/**", "!**/__mocks__/**", "!**/node_modules/**" ] }, "build": { "appId": "com.insomnia.app", "category": "public.app-category.developer-tools", "compression": "normal", "win": { "iconUrl": "https://insomnia.rest/images/icon.png", "remoteReleases": "https://s3.amazonaws.com/downloads.insomnia.rest/win", "target": "squirrel", "msi": false }, "linux": { "synopsis": "A simple, beautiful, and free REST API client", "category": "Development", "target": [ "AppImage", "deb" ] } }, "directories": { "app": "build", "output": "dist" }, "dependencies": { "analytics-node": "^2.1.0", "classnames": "^2.2.3", "codemirror": "^5.22.0", "electron-context-menu": "^0.4.0", "electron-cookies": "^1.1.0", "electron-squirrel-startup": "^1.0.0", "hkdf": "0.0.2", "httpsnippet": "git@github.com:getinsomnia/httpsnippet.git#a3a2c0a0167fa844bf92df52a1442fa1d68a9053", "insomnia-importers": "^1.2.8", "json-lint": "^0.1.0", "jsonpath-plus": "^0.15.0", "mime-types": "^2.1.12", "mkdirp": "^0.5.1", "mousetrap": "^1.6.0", "nedb": "^1.8.0", "node-forge": "^0.6.46", "nunjucks": "^3.0.0", "raven": "^0.12.1", "react": "^15.3.1", "react-dnd": "^2.1.4", "react-dnd-html5-backend": "^2.1.2", "react-dom": "^15.1.0", "react-redux": "^4.4.1", "react-tabs": "^0.7.0", "redux": "^3.3.1", "redux-logger": "^2.6.1", "redux-thunk": "^2.0.1", "request": "^2.74.0", "reselect": "^2.5.4", "srp": "git@github.com:getinsomnia/srp-js.git#6ebd8c3acfbcf69645e4c6e6f8f6b55138ff22c3", "tough-cookie": "^2.3.1", "traverse": "^0.6.6", "uuid": "^3.0.0", "vkbeautify": "^0.99.1", "xmldom": "^0.1.22", "xpath": "^0.0.23" }, "devDependencies": { "babel-cli": "^6.11.4", "babel-core": "^6.7.2", "babel-jest": "^15.0.0", "babel-loader": "^6.2.4", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-class-properties": "^6.19.0", "babel-plugin-transform-object-rest-spread": "^6.6.5", "babel-plugin-transform-regenerator": "^6.16.1", "babel-plugin-transform-runtime": "^6.15.0", "babel-polyfill": "^6.13.0", "babel-preset-es2015": "^6.6.0", "babel-preset-react": "^6.5.0", "babel-preset-react-hmre": "^1.1.1", "babel-runtime": "^6.11.6", "concurrently": "^2.0.0", "cross-env": "^2.0.0", "css-loader": "^0.23.1", "electron": "^1.4.10", "electron-builder": "^10.5.0", "express": "^4.14.0", "file-loader": "^0.9.0", "jest": "^17.0.0", "json-loader": "^0.5.4", "less": "^2.7.1", "less-loader": "^2.2.3", "nock": "^9.0.2", "react-addons-perf": "^15.3.0", "react-addons-test-utils": "^15.1.0", "react-hot-loader": "^1.3.0", "redux-mock-store": "^1.0.2", "style-loader": "^0.13.0", "url-loader": "^0.5.7", "webpack": "^1.13.3", "webpack-dev-middleware": "1.7.0", "webpack-dev-server": "^1.14.1", "webpack-hot-middleware": "^2.10.0", "webpack-target-electron-renderer": "^0.4.0" }, "devEngines": { "node": "6.x", "npm": "2.x || 3.x" } }