mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +09:00
In https://github.com/webstudio-is/webstudio-designer/pull/646 I checked with build. Now found more issues with typescript. Also forgot to migrate to jest/globals "project" package.
90 lines
2.8 KiB
JSON
90 lines
2.8 KiB
JSON
{
|
|
"name": "@webstudio-is/react-sdk",
|
|
"version": "0.17.0",
|
|
"description": "Webstudio JavaScript / TypeScript API",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "build-package --watch",
|
|
"build": "build-package",
|
|
"build:args": "generate-arg-types './src/components/*.tsx !./src/**/*.stories.tsx !./src/**/*.ws.tsx' && prettier --write \"**/*.props.json\"",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
"lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",
|
|
"checks": "yarn typecheck && yarn lint && yarn test",
|
|
"prepublishOnly": "yarn checks && yarn build",
|
|
"storybook:run": "start-storybook -p 6006",
|
|
"storybook:build": "build-storybook",
|
|
"publish-to-npm": "bash ../../bin/publish-to-npm.sh"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.2",
|
|
"@esbuild-kit/esm-loader": "^2.4.2",
|
|
"@jest/globals": "^29.3.1",
|
|
"@remix-run/node": "^1.6.4",
|
|
"@remix-run/react": "^1.2.3",
|
|
"@remix-run/server-runtime": "^1.2.3",
|
|
"@storybook/addon-actions": "^6.5.6",
|
|
"@storybook/addon-essentials": "^6.5.6",
|
|
"@storybook/addon-interactions": "^6.5.6",
|
|
"@storybook/addon-links": "^6.5.6",
|
|
"@storybook/builder-webpack4": "^6.5.6",
|
|
"@storybook/manager-webpack4": "^6.5.6",
|
|
"@storybook/react": "^6.5.6",
|
|
"@storybook/testing-library": "^0.0.11",
|
|
"@types/node": "^17.0.21",
|
|
"@types/react": "^17.0.24",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@webstudio-is/generate-arg-types": "*",
|
|
"@webstudio-is/jest-config": "*",
|
|
"@webstudio-is/scripts": "*",
|
|
"@webstudio-is/tsconfig": "*",
|
|
"babel-loader": "^8.2.5",
|
|
"esbuild": "^0.14.25",
|
|
"esbuild-node-externals": "^1.4.1",
|
|
"jest": "^29.3.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"remix-utils": "^4.1.0",
|
|
"tsx": "^3.9.0",
|
|
"typescript": "4.7.4",
|
|
"zod": "^3.19.1"
|
|
},
|
|
"peerDependencies": {
|
|
"@remix-run/react": "^1.2.3",
|
|
"@remix-run/server-runtime": "^1.2.3",
|
|
"@storybook/react": "^6.5.6",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"remix-utils": "^4.1.0",
|
|
"zod": "^3.19.1"
|
|
},
|
|
"dependencies": {
|
|
"@webstudio-is/asset-uploader": "^*",
|
|
"@webstudio-is/css-data": "*",
|
|
"@webstudio-is/design-tokens": "*",
|
|
"@webstudio-is/icons": "*",
|
|
"@webstudio-is/image": "*",
|
|
"@webstudio-is/prisma-client": "*",
|
|
"detect-font": "^0.1.5",
|
|
"immer": "^9.0.12",
|
|
"mitt": "^3.0.0",
|
|
"react-nano-state": "^0.4.0",
|
|
"warn-once": "^0.1.1"
|
|
},
|
|
"exports": {
|
|
"import": "./lib/index.js",
|
|
"require": "./lib/cjs/index.cjs"
|
|
},
|
|
"types": "src/index.ts",
|
|
"files": [
|
|
"lib/*",
|
|
"src/*",
|
|
"!*.test.*"
|
|
],
|
|
"license": "MIT",
|
|
"private": false,
|
|
"sideEffects": false
|
|
}
|