UNPKG

react-currency-input-field

Version:

React <input/> component for formatting currency and numbers.

115 lines (114 loc) 3.5 kB
{ "name": "react-currency-input-field", "version": "4.0.5", "description": "React <input/> component for formatting currency and numbers.", "sideEffects": false, "files": [ "dist/**/*", "src/components/**/*.ts", "src/components/**/*.tsx", "!src/components/**/__tests__/**", "src/index.ts" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } }, "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "dist/index.d.ts", "homepage": "https://github.com/cchanxzy/react-currency-input-field", "scripts": { "build:types": "tsc", "build:js": "node esbuild.mjs", "build": "rm -rf dist && pnpm build:js && pnpm build:types", "start": "parcel src/examples/index.html --target app --open", "test": "LANG=en_GB jest", "test-ci": "LANG=en_GB.UTF-8 cross-env NODE_ICU_DATA=node_modules/full-icu jest", "typecheck": "tsc && tsc --project tsconfig.test.json", "lint": "eslint ./ --max-warnings=0", "gh-predeploy": "parcel build src/examples/index.html --target app", "gh-deploy": "pnpm gh-predeploy && gh-pages -d demo/examples", "ci": "pnpm && pnpm build", "semantic-release": "semantic-release" }, "repository": { "type": "git", "url": "https://github.com/cchanxzy/react-currency-input-field" }, "bugs": { "email": "cchan.xzy@gmail.com", "url": "https://github.com/cchanxzy/react-currency-input-field/issues" }, "keywords": [ "react", "component", "currency", "form", "field", "number", "input", "intl", "locale" ], "author": "cchanxzy", "license": "MIT", "devDependencies": { "@commitlint/cli": "^18.4.3", "@commitlint/config-conventional": "^18.4.3", "@playwright/test": "^1.50.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/npm": "^13.1.5", "@testing-library/dom": "^9.3.3", "@testing-library/jest-dom": "^6.1.6", "@testing-library/react": "^14.1.2", "@testing-library/user-event": "^13.1.9", "@types/jest": "^29.5.7", "@types/node": "^20.10.5", "@types/react": "^18.2.45", "@types/react-dom": "^18.2.18", "@typescript-eslint/eslint-plugin": "^6.16.0", "@typescript-eslint/parser": "^6.16.0", "cross-env": "^7.0.3", "esbuild": "^0.25.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.2", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "gh-pages": "^5.0.0", "glob": "^11.0.0", "husky": "^8.0.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^11.0.0", "parcel": "^2.16.4", "prettier": "^3.1.1", "process": "^0.11.10", "react": "^18.2.0", "react-dom": "18.2.0", "semantic-release": "^25.0.3", "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "tslib": "^2.3.0", "typescript": "^5.3.3" }, "peerDependencies": { "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "targets": { "main": false, "module": false, "types": false, "app": { "distDir": "demo/examples", "publicUrl": "./" } }, "minimumReleaseAge": 4320, "packageManager": "pnpm@10.16.1+sha512.0e155aa2629db8672b49e8475da6226aa4bdea85fdcdfdc15350874946d4f3c91faaf64cbdc4a5d1ab8002f473d5c3fcedcd197989cf0390f9badd3c04678706" }