numdisplay
Version:
A flexible React component for displaying numbers with smart formatting and type-specific styling
78 lines (77 loc) • 2.21 kB
JSON
{
"name": "numdisplay",
"version": "2.1.0",
"description": "A flexible React component for displaying numbers with smart formatting and type-specific styling",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"type-check": "tsc --noEmit",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm run type-check && npm run test && npm run build"
},
"keywords": [
"react",
"number-formatting",
"typescript",
"component",
"ui",
"display",
"formatting"
],
"author": "Haseeb",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/abdulhaseeb13mar/NumDisplay.git"
},
"bugs": {
"url": "https://github.com/abdulhaseeb13mar/NumDisplay/issues"
},
"homepage": "https://github.com/abdulhaseeb13mar/NumDisplay#readme",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"clsx": "^2.1.0",
"tailwind-merge": "^2.2.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^4.10.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"ts-jest": "^29.1.2",
"tslib": "^2.8.1",
"typescript": "^5.3.3"
}
}