UNPKG

react-currency-masked-input

Version:

A currency input for React

76 lines (75 loc) 1.74 kB
{ "name": "react-currency-masked-input", "version": "2.5.0", "description": "A currency input for React", "main": "react-currency-masked-input.js", "files": [ "react-currency-masked-input.js" ], "scripts": { "ci": "yarn test:ci", "test": "yarn _test --watch", "test:ci": "yarn _test --coverage", "_test": "NODE_ENV=development jest", "bundle": "NODE_ENV=production rollup -c", "prepublish": "yarn bundle" }, "repository": { "type": "git", "url": "github.com/ianmcnally/react-currency-masked-input" }, "keywords": [ "react", "currency", "money", "masking", "input" ], "author": "Ian McNally <ianmcnally@gmail.com>", "license": "MIT", "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.4.4", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", "@babel/preset-env": "^7.4.4", "@babel/preset-react": "^7.0.0", "babel": "^6.5.2", "babel-jest": "^24.7.1", "jest": "^24.7.1", "react-dom": "^16.8.6", "render-shallow": "^2.0.0", "rollup": "^1.10.1", "rollup-plugin-babel": "^4.3.2" }, "jest": { "collectCoverageFrom": [ "src/**/*.js" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } }, "setupFiles": [ "./lib/test-helpers/index.js" ] }, "dependencies": { "prop-types": "^15.7.2", "react": "^16.8.6" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }