react-hook-currency
Version:
> This libraries propose to introduce two pseudo hooks, one capable of format currencies and another capable to simulate a cash register.
93 lines (92 loc) • 2 kB
JSON
{
"version": "0.1.0",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "react-hook-currency",
"author": "Elder Kuss",
"homepage": "https://github.com/ElderLK/react-hook-currency",
"keywords": [
"react",
"typescript",
"cash format",
"money format",
"input format",
"number format",
"decimal format",
"currency format",
"cash mask",
"money mask",
"decimal mask",
"currency mask",
"cash input",
"money input",
"currency input",
"cash register input",
"intl currency",
"intl cash",
"intl money"
],
"repository": {
"type": "git",
"url": "https://github.com/ElderLK/react-hook-currency.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"module": "dist/react-hook-currency.esm.js",
"size-limit": [
{
"path": "dist/react-hook-currency.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-hook-currency.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^4.11.0",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.7",
"@types/react": "^17.0.8",
"@types/react-dom": "^17.0.5",
"husky": "^6.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"size-limit": "^4.11.0",
"tsdx": "^0.14.1",
"tslib": "^2.2.0",
"typescript": "^4.3.2"
}
}