UNPKG

starchild-widget

Version:

Starchild Widget

123 lines (122 loc) 3.71 kB
{ "name": "starchild-widget", "version": "1.0.0-beta.1", "description": "Starchild Widget", "main": "dist/index.umd.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "unpkg": "dist/index.umd.js", "jsdelivr": "dist/index.umd.js", "sideEffects": false, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "dev": "vite", "dev:dist": "USE_DIST=true vite", "build": "tsc && vite build", "build:watch": "vite build --watch", "preview": "vite preview", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint:fix": "eslint . --ext ts,tsx --fix", "lint:watch": "nodemon --watch src --ext ts,tsx --exec \"eslint . --ext ts,tsx\"", "format": "prettier --write .", "format:check": "prettier --check .", "format:src": "prettier --write src/", "format:staged": "prettier --write --list-different", "type-check": "tsc --noEmit", "type-check:watch": "tsc --noEmit --watch", "clean": "rimraf dist", "prepublishOnly": "yarn clean && yarn build", "size": "size-limit", "analyze": "vite-bundle-analyzer dist", "prepare": "husky install", "precommit": "lint-staged", "publish:patch": "yarn version --patch && yarn publish", "publish:minor": "yarn version --minor && yarn publish", "publish:major": "yarn version --major && yarn publish", "publish:beta": "yarn version --prerelease --preid=beta && yarn publish --tag beta", "extract": "lingui extract", "compile": "lingui compile", "i18n:start": "yarn extract && yarn compile", "release": "yarn clean && yarn type-check && yarn lint && yarn i18n:start && yarn build", "pack:local": "yarn build && yarn pack", "pack:output": "yarn pack --filename starchild-widget-latest.tgz" }, "keywords": [ "react", "widget", "sdk", "chat", "search", "ui" ], "author": "Starchild", "license": "MIT", "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0", "styled-components": ">=6.0.0" }, "dependencies": { "@noble/ed25519": "^3.0.0", "@popperjs/core": "^2.11.8", "bs58": "^6.0.0", "copy-to-clipboard": "^3.3.3", "dayjs": "^1.11.18", "ogl": "^1.0.11", "react-markdown": "^10.1.0", "react-popper": "^2.3.0", "remark-gfm": "^4.0.1" }, "devDependencies": { "@babel/core": "^7.26.3", "@babel/parser": "^7.26.3", "@babel/traverse": "^7.26.3", "@babel/types": "^7.26.3", "@lingui/cli": "^5.5.0", "@lingui/macro": "^5.5.0", "@size-limit/preset-small-lib": "^11.1.7", "@types/babel__traverse": "^7.20.6", "@types/node": "^24.5.1", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "@types/styled-components": "^5.1.34", "@vitejs/plugin-react": "^4.3.4", "babel-plugin-macros": "^3.1.0", "eslint": "^9.21.0", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-refresh": "^0.4.19", "glob": "^11.0.0", "globals": "^15.15.0", "husky": "^9.1.7", "lint-staged": "^15.2.11", "nodemon": "^3.1.9", "prettier": "^3.6.2", "react": "^19.0.0", "react-dom": "^19.0.0", "react-is": "^18.3.1", "rimraf": "^6.0.1", "size-limit": "^11.1.7", "styled-components": "^6.1.19", "terser": "^5.36.0", "tsx": "^4.19.2", "typescript": "~5.7.2", "typescript-eslint": "^8.24.1", "vite": "^6.2.0", "vite-bundle-analyzer": "^1.2.1", "vite-plugin-dts": "^4.4.2", "vite-plugin-svgr": "^4.5.0" }, "lint-staged": { "*.{ts,tsx}": [ "prettier --write", "eslint --fix" ], "*.{json,md,html,css}": [ "prettier --write" ] } }