headless-currency-input
Version:
Headless Currency Input is a component to format currency input in an elegant way.
121 lines (120 loc) • 3.04 kB
JSON
{
"name": "headless-currency-input",
"version": "1.3.1",
"description": "Headless Currency Input is a component to format currency input in an elegant way.",
"keywords": [
"react",
"currency",
"input",
"mask",
"format",
"number",
"money",
"currency-input",
"currency-mask",
"currency-format",
"currency-number",
"currency-money",
"react-currency-input",
"react-currency-mask",
"react-currency-format",
"react-currency-number",
"react-currency-money"
],
"repository": {
"type": "git",
"url": "https://github.com/danestves/headless-currency-input"
},
"license": "MIT",
"author": {
"name": "Daniel Esteves",
"email": "danestves@gmail.com",
"url": "https://danestves.com"
},
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"main": "dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"commit": "cz",
"dev": "concurrently \"bun run build --watch\" \"bun run test\" ",
"lint": "biome lint .",
"lint:fix": "bun run lint --write && biome format --write .",
"prepare": "husky install",
"test": "vitest run",
"test:ci": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"typecheck": "tsc"
},
"lint-staged": {
"**.js|ts|cjs|mjs|d.cts|d.mts|jsx|tsx": [
"biome check --files-ignore-unknown=true",
"biome check --apply --no-errors-on-unmatched",
"biome check --apply --organize-imports-enabled=false --no-errors-on-unmatched",
"biome check --apply-unsafe --no-errors-on-unmatched",
"biome format --write --no-errors-on-unmatched",
"biome lint --apply --no-errors-on-unmatched"
],
"*": [
"biome check --no-errors-on-unmatched --files-ignore-unknown=true"
]
},
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"resolutions": {
"glob-parent": ">=5.1.2",
"parse-url": ">=8.1.0",
"semver": ">=7.5.2",
"trim": ">=0.0.3",
"trim-newlines": ">=3.0.1",
"yaml": ">=2.2.2"
},
"dependencies": {
"@react-aria/utils": "3.25.3",
"@sumup/intl": "1.6.0",
"react-number-format": "5.4.2"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@ryansonshine/commitizen": "4.2.8",
"@ryansonshine/cz-conventional-changelog": "3.3.4",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.0.1",
"@types/node": "20.11.5",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@vitejs/plugin-react": "4.3.3",
"@vitest/coverage-v8": "2.1.4",
"@vitest/ui": "2.1.4",
"concurrently": "9.1.0",
"husky": "9.1.6",
"jsdom": "25.0.1",
"lint-staged": "15.2.10",
"react": "18.3.1",
"react-dom": "18.3.1",
"tsup": "8.3.5",
"typescript": "5.6.3",
"vitest": "2.1.4"
},
"peerDependencies": {
"react": "^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc",
"react-dom": "^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc"
},
"engines": {
"node": ">=18.0.0"
}
}