react-attractor
Version:
React library to map DOM elements to React components
69 lines • 1.89 kB
JSON
{
"name": "react-attractor",
"version": "0.5.0",
"description": "React library to map DOM elements to React components",
"keywords": [
"react",
"dom",
"component",
"mapping",
"tether",
"typescript"
],
"author": "Kouji Matsui (@kekyo@mi.kekyo.net)",
"repository": {
"type": "git",
"url": "https://github.com/kekyo/react-attractor.git"
},
"homepage": "https://github.com/kekyo/react-attractor#readme",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "npm run lint && vite",
"build": "npm run lint && rv --npm . && vite build",
"preview": "vite preview",
"test": "npm run lint && vitest run",
"test:ui": "npm run lint && vitest --ui",
"lint": "eslint src && tsc --noEmit",
"type-check": "tsc --noEmit"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.5.1",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.1.1",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.6",
"eslint": "^8.53.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"jsdom": "^23.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-dts": "^3.6.3",
"vitest": "^0.34.6"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
}
}