UNPKG

react-localstorage-ts

Version:

A small library to wrap browser's localstorage in a functional fashion.

89 lines (88 loc) 2.47 kB
{ "name": "react-localstorage-ts", "version": "2.3.2", "description": "A small library to wrap browser's localstorage in a functional fashion.", "main": "index.js", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/fido-id/react-localstorage-ts.git" }, "author": "fes300", "license": "MIT", "private": false, "tags": [ "typescript", "react" ], "keywords": [ "typescript", "react", "local-storage", "functional-programming" ], "dependencies": { "fp-ts": "^2.9.5", "localvalue-ts": "^2.2.1" }, "devDependencies": { "@commitlint/cli": "^12.0.0", "@commitlint/config-conventional": "^12.0.0", "@semantic-release/changelog": "^5.0.1", "@semantic-release/git": "^9.0.0", "@semantic-release/npm": "^7.0.10", "@semantic-release/release-notes-generator": "^9.0.1", "@testing-library/react": "^11.2.5", "@testing-library/react-hooks": "^5.0.3", "@types/jest": "^26.0.20", "@types/react": "^17.0.2", "cz-conventional-changelog": "3.3.0", "dts-jest": "^23.3.0", "husky": "^5.1.1", "io-ts": "^2.2.20", "io-ts-types": "^0.5.15", "is-ci": "^3.0.0", "jest": "^26.6.3", "lint-staged": "^10.5.4", "monocle-ts": "^2.3.13", "newtype-ts": "^0.3.5", "pinst": "^2.1.6", "prettier": "^2.2.1", "react": "^17.0.1", "react-dom": "^17.0.1", "react-test-renderer": "^17.0.1", "semantic-release": "^17.3.9", "ts-jest": "^26.5.1", "typescript": "^4.1.5" }, "scripts": { "build": "rm -rf ./dist && tsc && cp package.json README.md ./dist", "lint": "prettier -w src/", "lint:check": "prettier -c src/", "lint:staged": "lint-staged", "_postinstall": "is-ci || husky install", "postpublish": "pinst --enable", "postversion": "cp -r package.json ..", "prepublishOnly": "pinst --disable", "release-dry": "yarn build && semantic-release -d --no-ci --debug", "test": "yarn test:type && yarn test:runtime", "test:runtime": "jest --config=jest.config.js --passWithNoTests", "test:type": "jest --config=jest.typetests-config.js --passWithNoTests", "commit": "cz" }, "lint-staged": { "src/*.{ts,tsx,js,jsx}": [ "prettier --write" ], "src/*.{json,md}": [ "prettier --write" ] }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }