mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
158 lines
5.5 KiB
JSON
158 lines
5.5 KiB
JSON
{
|
|
"name": "insomnia",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"description": "Insomnia App",
|
|
"main": "electron.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": "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 ./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/build-cli.js --publish=never --x64 --mac",
|
|
"package:win": "rm -rf dist/win* && node node_modules/electron-builder/out/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/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"
|
|
},
|
|
"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",
|
|
"dmg": {
|
|
"icon": "build/static/icon.icns"
|
|
},
|
|
"win": {
|
|
"iconUrl": "https://insomnia.rest/images/icon.png",
|
|
"icon": "build/static/icon.ico",
|
|
"loadingGif": "build/install-spinner.gif",
|
|
"remoteReleases": "https://s3.amazonaws.com/downloads.insomnia.rest/win",
|
|
"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.18.2",
|
|
"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",
|
|
"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.43",
|
|
"node-uuid": "^1.4.7",
|
|
"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",
|
|
"sjcl": "^1.0.6",
|
|
"srp": "git@github.com:getinsomnia/srp-js.git#6ebd8c3acfbcf69645e4c6e6f8f6b55138ff22c3",
|
|
"tough-cookie": "^2.3.1",
|
|
"traverse": "^0.6.6",
|
|
"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-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.6",
|
|
"electron-builder": "^6.3.5",
|
|
"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": "^8.0.0",
|
|
"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"
|
|
}
|
|
}
|