UNPKG

sd-formik-validators

Version:
50 lines (49 loc) 1.39 kB
{ "name": "sd-formik-validators", "version": "1.0.10", "description": "Common validators for Formik", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "test": "jest --config jestconfig.json", "build": "tsc", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint && uglifyjs --compress -- lib/index.js", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "files": [ "lib/**/*" ], "repository": { "type": "git", "url": "git+https://github.com/Skidragon/sd-formik-validators.git" }, "keywords": [ "Formik", "Validation", "Validator" ], "author": "Simon Davis", "license": "ISC", "bugs": { "url": "https://github.com/Skidragon/sd-formik-validators/issues" }, "homepage": "https://github.com/Skidragon/sd-formik-validators#readme", "devDependencies": { "@types/jest": "^24.0.18", "jest": "^24.9.0", "prettier": "^1.18.2", "ts-jest": "^24.1.0", "tslint": "^5.20.0", "tslint-config-prettier": "^1.18.0", "typescript": "^3.6.3", "uglify-js": "^3.7.1" }, "dependencies": { "date-fns": "^2.4.1" } }