react-hooks-use-previous
Version:
Strongly typed and well tested React Hooks to store and retrieve previous values from any component property.
82 lines (81 loc) • 2.92 kB
JSON
{
"name": "react-hooks-use-previous",
"version": "1.1.1",
"description": "Strongly typed and well tested React Hooks to store and retrieve previous values from any component property.",
"keywords": [
"hooks",
"nodejs",
"react",
"react-hooks",
"react-native",
"typescript"
],
"homepage": "https://github.com/MichaelHettmer/react-hooks-use-previous#readme",
"bugs": {
"url": "https://github.com/MichaelHettmer/react-hooks-use-previous/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MichaelHettmer/react-hooks-use-previous.git"
},
"license": "MIT",
"author": "Michael Hettmer",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"commitlint": "commitlint",
"commitlint:ci": "commitlint-circle",
"lint": "eslint . --ext '.js,.jsx,.ts,.tsx,.json,.jsonc'",
"lint:ci": "npm run lint -- --format junit --output-file ./reports/eslint/results.xml",
"lint:circleci": "docker run -w /data --rm -v $(pwd):/data circleci/circleci-cli:0.1.6949-alpine config validate",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"test:ci": "CI=true JEST_JUNIT_OUTPUT_DIR=./reports/jest JEST_JUNIT_OUTPUT_NAME=results.xml npm run test:coverage --runInBand --reporters=\"default\" --reporters=\"jest-junit\"",
"test:coverage": "npm run test -- --coverage --watchAll=false",
"validate": "npm-run-all lint test build"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@testing-library/react-hooks": "3.2.1",
"@types/jest": "25.2.1",
"@types/react": "16.9.34",
"@typescript-eslint/eslint-plugin": "2.28.0",
"@typescript-eslint/parser": "2.28.0",
"chokidar-cli": "2.1.0",
"commitlint-circle": "1.0.0",
"dot-json": "1.2.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.1",
"eslint-plugin-json": "2.1.1",
"eslint-plugin-prettier": "3.1.3",
"eslint-plugin-react-hooks": "3.0.0",
"husky": "4.2.5",
"jest": "25.3.0",
"jest-junit": "10.0.0",
"jest-mock-console": "1.0.0",
"lint-staged": "10.1.3",
"nodegit": "0.26.5",
"npm-run-all": "4.1.5",
"prettier": "2.0.4",
"react": "16.13.1",
"react-test-renderer": "16.13.1",
"semantic-release": "17.0.4",
"shelljs": "0.8.3",
"ts-jest": "25.3.1",
"typescript": "3.8.3"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"engines": {
"node": ">=8.0.0"
}
}