mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
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.
49 lines
1.2 KiB
JSON
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"
|
|
}
|
|
}
|