diff options
author | Matthew Strapp <matt@mattstrapp.net> | 2024-11-01 10:16:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-01 10:16:44 -0500 |
commit | 9c3cef2cda489501a177c34ebe47951321284463 (patch) | |
tree | a6b45cdef7acde058ee033c386b93fa819e15c36 /src/packages/react/package.json | |
parent | badge bleach (diff) | |
download | locusts-9c3cef2cda489501a177c34ebe47951321284463.tar locusts-9c3cef2cda489501a177c34ebe47951321284463.tar.gz locusts-9c3cef2cda489501a177c34ebe47951321284463.tar.bz2 locusts-9c3cef2cda489501a177c34ebe47951321284463.tar.lz locusts-9c3cef2cda489501a177c34ebe47951321284463.tar.xz locusts-9c3cef2cda489501a177c34ebe47951321284463.tar.zst locusts-9c3cef2cda489501a177c34ebe47951321284463.zip |
feat: Add React (#38)
* feat: Add React
Closes #35
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
* lint
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
* docs
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
* lint
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
* add keywords
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
---------
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'src/packages/react/package.json')
-rw-r--r-- | src/packages/react/package.json | 58 |
1 files changed, 58 insertions, 0 deletions
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 <matt+locusts@mattstrapp.net> (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" + } +} |