Files
webstudio/packages/http-client/package.json
T
Bogdan Chadkin 752768abbc Use explicit imports from @jest/globals (#645)
pnpm prevents access to jest and @types/jest from packages so we need to
explicitly install it. Though @types/jest is not officially maintained
and often late for months with new major which bloats node_modules with
two versions of jest transitives.

Here is alternative way to use official types. The only downside is
complains these types has less descriptions.
2022-12-16 16:35:22 +03:00

49 lines
1.2 KiB
JSON

{
"name": "@webstudio-is/http-client",
"version": "0.17.0",
"description": "Webstudio HTTP Client",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"scripts": {
"dev": "tsup --watch",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"build": "rm -fr lib tsconfig.tsbuildinfo && tsc",
"typecheck": "tsc --noEmit",
"lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",
"checks": "yarn typecheck && yarn lint",
"publish-to-npm": "bash ../../bin/publish-to-npm.sh"
},
"devDependencies": {
"@jest/globals": "^29.3.1",
"@types/isomorphic-fetch": "^0.0.36",
"@webstudio-is/jest-config": "*",
"@webstudio-is/prisma-client": "*",
"@webstudio-is/project": "*",
"@webstudio-is/tsconfig": "*",
"jest": "^29.3.1",
"tsup": "^6.1.3",
"typescript": "4.7.4"
},
"peerDependencies": {},
"dependencies": {
"isomorphic-fetch": "^3.0.0"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/*",
"README.md",
"!*.test.*"
],
"license": "MIT",
"private": false,
"sideEffects": false,
"tsup": {
"entry": [
"src/index.ts"
],
"format": "cjs",
"outDir": "lib"
}
}