mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
## Before requesting a review - [ ] if the PR is WIP - use draft mode - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") - [ ] what kind of review is needed? - [ ] conceptual - [ ] detailed - [ ] with testing ## Test cases - [ ] step by step interaction description and what is expected to happen ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio-designer/blob/main/apps/designer/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `designer/env-check.js` if mandatory
84 lines
2.6 KiB
JSON
84 lines
2.6 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",
|
|
"@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",
|
|
"@webstudio-is/generate-arg-types": "*",
|
|
"@webstudio-is/jest-config": "*",
|
|
"@webstudio-is/scripts": "*",
|
|
"babel-loader": "^8.2.5",
|
|
"esbuild": "^0.14.25",
|
|
"esbuild-node-externals": "^1.4.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
|
|
}
|