UNPKG

use-basin

Version:

A simple React hook for handling Basin AJAX forms.

61 lines (60 loc) 1.53 kB
{ "name": "use-basin", "version": "1.0.3", "description": "A simple React hook for handling Basin AJAX forms.", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/**/*" ], "scripts": { "test": "jest --config jestconfig.json", "build": "tsc", "format": "prettier --write \"src/**/*.ts\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "keywords": [ "react", "hook", "form", "basin" ], "author": "Ryan Hartman", "license": "MIT", "devDependencies": { "@babel/core": "^7.17.4", "@babel/preset-env": "^7.16.11", "@babel/preset-react": "^7.16.7", "@types/jest": "^27.4.0", "@types/react": "^17.0.39", "babel-jest": "^27.5.1", "enzyme": "^3.11.0", "jest": "^27.5.1", "prettier": "^2.5.1", "react": "^17.0.2", "react-test-renderer": "^17.0.2", "ts-jest": "^27.1.3", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.5.5" }, "peerDependencies": { "react": "^16.8.3 || ^17" }, "repository": { "type": "git", "url": "git+https://github.com/rjhartman/use-basin.git" }, "bugs": { "url": "https://github.com/rjhartman/use-basin/issues" }, "homepage": "https://github.com/rjhartman/use-basin#readme", "directories": { "lib": "lib" } }