UNPKG

react-autonumeric

Version:

AutoNumeric-Powered React Components. AutoNumeric is a powerful library that automatically format numbers and currencies. React-AutoNumeric brings that power to React.

76 lines (75 loc) 2.47 kB
{ "name": "react-autonumeric", "description": "AutoNumeric-Powered React Components. AutoNumeric is a powerful library that automatically format numbers and currencies. React-AutoNumeric brings that power to React.", "version": "2.1.1", "type": "module", "browser": "dist/index.js", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "/dist/*.d.ts", "/dist/*.js" ], "scripts": { "build_demo": "npm run compile && vite build", "clean": "rimraf dist/", "dev": "vite", "compile": "tsc --build . src/lib src/test src/demo", "coverage": "vitest run --coverage --typecheck", "doc": "typedoc && npm run build_demo", "format": "eslint --fix . && prettier . --write", "lint": "eslint . --report-unused-disable-directives --max-warnings 0 && prettier . --check", "prepack": "npm run clean && npm run compile", "preview": "vite preview", "test": "vitest run --typecheck", "test-all": "npm run lint && npm run compile && npm run test-once && npm run doc" }, "repository": { "type": "git", "url": "git+https://github.com/8hobbies/react-autonumeric.git" }, "author": "8 Hobbies, LLC", "license": "Apache-2.0", "bugs": { "url": "https://github.com/8hobbies/react-autonumeric/issues" }, "homepage": "https://react-autonumeric.8hob.io", "keywords": [ "react", "autonumeric" ], "dependencies": { "autonumeric": "^4.10.7" }, "peerDependencies": { "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" }, "devDependencies": { "@8hobbies/eslint-conf-baseline": "^6.0.0", "@8hobbies/eslint-conf-react-baseline": "^3.0.0", "@8hobbies/typedoc-plugin-404": "^3.1.0", "@8hobbies/typedoc-plugin-plausible": "^2.1.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.14", "@types/lodash-es": "^4.17.12", "@types/node": "^22.10.1", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^2.1.6", "bootstrap": "^5.3.3", "jsdom": "^25.0.1", "prettier": "^3.4.2", "rimraf": "^6.0.1", "typedoc": "^0.27.4", "typedoc-plugin-mdn-links": "^4.0.4", "typedoc-plugin-rename-defaults": "^0.7.2", "typescript": "~5.7.2", "typescript-eslint": "^8.17.0", "vite": "^6.0.3", "vitest": "^2.1.6" } }