insomnia/packages/insomnia-inso/package.json
James Gatz eb21506d40
️vite/esbuild (#4329)
* ️ vite

* replace webpack with esbuild in build script

* move build sr to esbuild

* esbuild send-request shim

* remove main externals

* fix lint

* remove webpack from insomnia-testing

* removes more webpack stuff

TODO after this PR: make debugging work again

* pin swagger-ui-react to version before esm change

* restore prepare script to build in bootstrap

* use default tsconfig for eslint and apply fixes

* bundle insomnia-components as cjs/esm

* makes ca_certs.ts pass linting

* builds types for insomnia-components

* improve build script for production

* skip typechecking insomnia-components

* separate package from build

* add electron to externals

* add preload bundling and fix build output

* exclude grpc/proto-loader from the bundle

* move node packages to commonjs

* don't bundle grpc since it's a node module

* fix content security error

* use vite lib mode for insomnia-components

* tidy up vite config and tsconfig options

* update package-locks

* use process.env. for static build time variables

* fix vscode debugging

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-04-18 17:27:39 +02:00

97 lines
3.2 KiB
JSON

{
"name": "insomnia-inso",
"version": "2.12.0-beta.0",
"homepage": "https://insomnia.rest",
"description": "A CLI for Insomnia - The Collaborative API Design Tool",
"author": "Kong <office@konghq.com>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/Kong/insomnia.git",
"directory": "packages/insomnia-inso"
},
"bugs": {
"url": "https://github.com/kong/insomnia/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"inso": "bin/inso"
},
"scripts": {
"bootstrap": "npm run build",
"lint": "eslint . --ext .js,.ts,.tsx --cache",
"lint:fix": "npm run lint -- --fix",
"clean": "tsc --build tsconfig.build.json --clean",
"postclean": "rimraf dist && rimraf binaries && rimraf compressed && rimraf artifacts",
"test": "jest --runInBand",
"test:watch": "npm run test -- --watch",
"test:snapshots": "npm run build && npm run test -- -u",
"prebuild": "npm run clean",
"build": "webpack --config webpack/webpack.config.development.js",
"prebuild:production": "npm run clean",
"build:production": "webpack --config webpack/webpack.config.production.js --display errors-only",
"start": "npm run build -- --watch",
"prepackage": "npm run build:production",
"package": "ts-node src/scripts/pkg.ts",
"pkg": "pkg .",
"postpackage": "ts-node src/scripts/verify-pkg.ts",
"artifacts": "ts-node src/scripts/artifacts.ts"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/preset-env": "^7.10.2",
"@types/babel__core": "^7.1.12",
"@types/babel__preset-env": "^7.9.1",
"@types/mkdirp": "^1.0.1",
"@types/nedb": "^1.8.11",
"@types/node": "^17.0.21",
"@types/ramda": "^0.27.44",
"@types/rimraf": "^3.0.0",
"@types/webpack-node-externals": "^2.5.0",
"@types/yaml": "^1.9.7",
"execa": "^5.0.0",
"get-bin-path": "^5.1.0",
"jest": "^26.6.3",
"node-loader": "1.0.2",
"pkg": "^5.3.2",
"rimraf": "^3.0.2",
"ts-loader": "^8.2.0",
"ts-node": "^9.1.1",
"webpack": "4.44.1",
"webpack-cli": "^3.3.12",
"webpack-merge": "^5.0.7",
"webpack-node-externals": "^1.7.2"
},
"dependencies": {
"@stoplight/spectral": "^5.9.0",
"axios": "^0.21.2",
"commander": "^5.1.0",
"consola": "^2.15.0",
"cosmiconfig": "^6.0.0",
"enquirer": "^2.3.6",
"insomnia-plugin-base64": "2.12.0-beta.0",
"insomnia-plugin-cookie-jar": "2.12.0-beta.0",
"insomnia-plugin-core-themes": "2.12.0-beta.0",
"insomnia-plugin-file": "2.12.0-beta.0",
"insomnia-plugin-hash": "2.12.0-beta.0",
"insomnia-plugin-jsonpath": "2.12.0-beta.0",
"insomnia-plugin-now": "2.12.0-beta.0",
"insomnia-plugin-os": "2.12.0-beta.0",
"insomnia-plugin-prompt": "2.12.0-beta.0",
"insomnia-plugin-request": "2.12.0-beta.0",
"insomnia-plugin-response": "2.12.0-beta.0",
"insomnia-plugin-uuid": "2.12.0-beta.0",
"insomnia-send-request": "2.12.0-beta.0",
"insomnia-testing": "2.12.0-beta.0",
"mkdirp": "^1.0.4",
"nedb": "^1.8.0",
"openapi-2-kong": "2.12.0-beta.0",
"ramda": "^0.27.1",
"ramda-adjunct": "^2.33.0",
"string-argv": "^0.3.1",
"yaml": "^1.10.0"
}
}