@jpedro002/react-body-highlighter
Version:
React.js component for highlighting muscles on a body model
79 lines (78 loc) • 2.03 kB
JSON
{
"version": "2.0.6",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=18"
},
"scripts": {
"start": "tsup src/index.ts --watch --format cjs,esm --dts --sourcemap",
"build": "tsup src/index.ts --format cjs,esm --dts --sourcemap --clean --external react,react-dom",
"dev": "cd example && pnpm dev",
"example": "cd example && pnpm dev",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"lint": "biome check ./src",
"format": "biome format --write ./src",
"lint:fix": "biome check --write ./src",
"type-check": "tsc --noEmit",
"prepare": "pnpm build",
"prepublishOnly": "pnpm test && pnpm build"
},
"peerDependencies": {
"react": ">=18"
},
"name": "@jpedro002/react-body-highlighter",
"author": "GV79",
"description": "React.js component for highlighting muscles on a body model",
"repository": {
"type": "git",
"url": "https://github.com/jpedro002/react-body-highlighter"
},
"homepage": "https://github.com/jpedro002/react-body-highlighter",
"keywords": [
"react",
"muscle",
"muscles",
"body",
"model",
"highlighter",
"highlight",
"color",
"svg",
"fitness",
"exercise",
"workout"
],
"module": "dist/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitest/ui": "^2.1.8",
"happy-dom": "^15.11.6",
"lefthook": "^1.8.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}