Files
webstudio/packages/image/package.json
T
Bogdan Chadkin 7364b51210 Run jest with sources (#1930)
Here added custom condition to jest config to make it load source code
instead of build artifacts.

This means we no longer need to rebuild after changing code in other
package
and we may even no need to generate cjs anymore.
2023-07-14 17:30:31 +03:00

54 lines
1.4 KiB
JSON

{
"name": "@webstudio-is/image",
"version": "0.79.0",
"description": "Image optimization",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"checks": "pnpm typecheck && pnpm test",
"dev": "build-package --watch",
"build": "build-package",
"dts": "tsc --project tsconfig.dts.json",
"storybook:dev": "storybook dev -p 6006",
"storybook:build": "storybook build"
},
"dependencies": {
"react": "^18.2.0",
"warn-once": "^0.1.1"
},
"devDependencies": {
"@jest/globals": "^29.6.1",
"@storybook/react": "^7.0.26",
"@types/react": "^18.0.35",
"@webstudio-is/jest-config": "workspace:^",
"@webstudio-is/scripts": "workspace:^",
"@webstudio-is/storybook-config": "workspace:^",
"@webstudio-is/tsconfig": "workspace:^",
"jest": "^29.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "5.1.3"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"exports": {
"source": "./src/index.ts",
"types": "./lib/types/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/cjs/index.js"
},
"files": [
"lib/*",
"src/*",
"!*.test.*"
],
"license": "MIT",
"private": false,
"sideEffects": false
}