From 9c3cef2cda489501a177c34ebe47951321284463 Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Fri, 1 Nov 2024 10:16:44 -0500 Subject: feat: Add React (#38) * feat: Add React Closes #35 Signed-off-by: Matt Strapp * lint Signed-off-by: Matt Strapp * docs Signed-off-by: Matt Strapp * lint Signed-off-by: Matt Strapp * add keywords Signed-off-by: Matt Strapp --------- Signed-off-by: Matt Strapp --- src/packages/react/package.json | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/packages/react/package.json (limited to 'src/packages/react/package.json') diff --git a/src/packages/react/package.json b/src/packages/react/package.json new file mode 100644 index 0000000..3bab515 --- /dev/null +++ b/src/packages/react/package.json @@ -0,0 +1,58 @@ +{ + "name": "@locusts/react", + "version": "0.0.0", + "description": "A React component that introduces locusts into your website.", + "author": "Matt Strapp (https://mattstrapp.net)", + "bugs": "https://github.com/locusts-r-us/locusts/issues", + "license": "0BSD", + "repository": { + "type": "git", + "url": "git+https://github.com/locusts-r-us/locusts.git", + "directory": "packages/vue" + }, + "files": [ + "dist" + ], + "main": "./dist/locusts.umd.cjs", + "module": "./dist/locusts.js", + "type": "module", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/locusts.js", + "require": "./dist/locusts.umd.cjs" + } + }, + "keywords": [ + "react", + "component", + "why", + "joke" + ], + "types": "./dist/index.d.ts", + "scripts": { + "dev": "vite", + "build": "vite build && tsc --declaration --emitDeclarationOnly && publint", + "format": "prettier --write . && eslint --fix .", + "lint": "prettier --check . && eslint .", + "preview": "vite preview" + }, + "peerDependencies": { + "react": ">=18.0.0" + }, + "devDependencies": { + "@repo/eslint-config": "workspace:*", + "@repo/typescript-config": "workspace:*", + "@types/react": "^18.3.12", + "@types/react-dom": "^18.3.1", + "@vitejs/plugin-react-swc": "^3.5.0", + "eslint-plugin-react": "^7.37.2", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-react-refresh": "^0.4.14", + "globals": "^15.11.0", + "publint": "^0.2.0", + "typescript": "^5.6.2", + "typescript-eslint": "^8.11.0", + "vite": "^5.4.10" + } +} -- cgit v1.2.3