insomnia/packages/insomnia-testing/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

40 lines
1.0 KiB
JSON

{
"private": false,
"name": "insomnia-testing",
"license": "Apache-2.0",
"version": "2.12.0-beta.0",
"author": "Kong <office@konghq.com>",
"repository": {
"type": "git",
"url": "https://github.com/Kong/insomnia.git",
"directory": "packages/insomnia-testing"
},
"bugs": {
"url": "https://github.com/Kong/insomnia/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"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",
"test": "jest",
"build": "tsc --build tsconfig.build.json",
"watch": "npm run build -- --watch",
"prepublish": "npm run build"
},
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/mkdirp": "^1.0.1",
"@types/mocha": "^8.2.1",
"typescript": "^4.5.5"
},
"dependencies": {
"chai": "^4.3.4",
"mkdirp": "^1.0.4",
"mocha": "^8.3.2"
}
}