UNPKG

@kcuf/canvas-marking-react

Version:
69 lines 2.2 kB
{ "name": "@kcuf/canvas-marking-react", "version": "0.4.4", "description": "The React wrapping of @kcuf/canvas-marking.", "keywords": [ "canvas", "marking", "react" ], "license": "MIT", "sideEffects": false, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/justnewbee/kcuf.git" }, "homepage": "https://github.com/justnewbee/kcuf/tree/master/packages-canvas/canvas-marking-react", "bugs": "https://github.com/justnewbee/kcuf/issues", "author": { "name": "Jianchun Wang", "email": "justnewbee@gmail.com" }, "publishConfig": { "access": "public" }, "devDependencies": { "@babel/cli": "^7.28.0", "@babel/core": "^7.28.0", "@babel/plugin-transform-react-jsx": "^7.27.1", "@babel/plugin-transform-runtime": "^7.28.0", "@babel/preset-env": "^7.28.0", "@babel/preset-react": "^7.27.1", "@babel/preset-typescript": "^7.27.1", "@chromatic-com/storybook": "^4.0.1", "@storybook/addon-docs": "^9.1.0", "@storybook/addon-links": "^9.1.0", "@storybook/react-vite": "^9.1.0", "@types/react": "^18.3.23", "babel-plugin-styled-components": "^2.1.4", "immer": "^10.1.1", "react": "^18.3.1", "rimraf": "^6.0.1", "storybook": "^9.1.0", "styled-components": "^6.1.19", "typescript": "^5.9.2", "@kcuf/ts-config": "^0.0.1", "@kcuf/demo-rc": "^0.4.9" }, "peerDependencies": { "@babel/runtime": "^7.x", "react": "^18.x", "styled-components": "^6.x" }, "dependencies": { "@kcuf/canvas-marking-react-headless": "^0.4.4" }, "scripts": { "start": "storybook dev -p 6006", "build:clean": "rimraf dist", "build:esm": "ESM=1 babel src -d dist/esm --extensions .ts,.tsx --source-maps", "build:cjs": "ESM=0 babel src -d dist/cjs --extensions .ts,.tsx", "build:types": "tsc -rootDir src --outDir dist/types --declaration --noEmit false --emitDeclarationOnly --isolatedModules false", "build:sb": "storybook build", "build": "pnpm build:esm && pnpm build:cjs && pnpm build:types", "watch": "pnpm build:esm -w" } }