UNPKG

@float-toolkit/react

Version:

A React hook wrapper for Float Toolkit

72 lines (71 loc) 1.97 kB
{ "name": "@float-toolkit/react", "version": "2.0.4", "description": "A React hook wrapper for Float Toolkit", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./typings/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs", "types": "./typings/index.d.ts" } }, "scripts": { "build": "rm -rf dist typings && npm test && node scripts/esbuild.mjs", "test": "vitest run", "test:watch": "npm run pretest && vitest --coverage=false", "pretest": "rm -rf coverage && npm run format && tsc --noEmit", "format": "prettier --write . && eslint --ext .js,.ts,.tsx --fix ." }, "repository": { "type": "git", "url": "git://github.com/float-toolkit/react.git" }, "keywords": [ "float", "floating-point", "number", "round", "math", "react" ], "author": "LuisFerLCC", "license": "Apache-2.0", "bugs": { "url": "https://github.com/float-toolkit/react/issues" }, "homepage": "https://github.com/float-toolkit/react#readme", "peerDependencies": { "react": "^18.2.0" }, "devDependencies": { "@testing-library/react": "^13.4.0", "@types/eslint": "^8.4.10", "@types/react": "^18.0.26", "@typescript-eslint/eslint-plugin": "^5.48.0", "@typescript-eslint/parser": "^5.48.0", "@vitejs/plugin-react": "^3.0.1", "@vitest/coverage-c8": "^0.25.8", "@vitest/ui": "^0.25.8", "c8": "^7.12.0", "esbuild": "^0.14.54", "esbuild-plugin-d-ts-path-alias": "^2.0.0", "eslint": "^8.31.0", "eslint-config-google": "^0.14.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.11", "eslint-plugin-react-hooks": "^4.6.0", "jsdom": "^20.0.3", "prettier": "^2.8.1", "tslib": "^2.4.1", "typescript": "<4.8", "vitest": "^0.25.8" }, "dependencies": { "@float-toolkit/core": "^2.1.0" } }