UNPKG

typesafe-storage

Version:

Typesafe Web Storage API wrapper to support objects and arrays

91 lines (90 loc) 2.5 kB
{ "name": "typesafe-storage", "version": "1.0.9", "description": "Typesafe Web Storage API wrapper to support objects and arrays", "main": "dist/index.js", "module": "dist/typesafe-storage.esm.js", "umd:main": "dist/typesafe-storage.umd.production.min.js", "unpkg": "dist/typesafe-storage.umd.production.min.js", "jsdelivr": "dist/typesafe-storage.umd.production.min.js", "jsnext:main": "dist/typesafe-storage.esm.js", "source": "src/index.ts", "types": "dist/index.d.ts", "files": [ "dist", "src" ], "sideEffects": false, "scripts": { "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate", "start": "tsdx watch", "build": "rimraf dist && tsdx build --name TypesafeStorage --format esm,cjs,umd", "test": "tsdx test", "test:watch": "tsdx test --watch", "test:coverage": "tsdx test --coverage", "lint": "tsdx lint '**/*.{js,ts}'", "lint:fix": "yarn lint --fix", "prepare": "yarn build", "release": "semantic-release", "commit": "commit" }, "repository": { "type": "git", "url": "https://github.com/kotarella1110/typesafe-storage.git" }, "keywords": [ "typescript", "typesafe", "storage", "store", "webstorage", "sessionstorage", "localstorage" ], "author": "Kotaro Sugawara <kotarella1110@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/kotarella1110/typesafe-storage/issues" }, "homepage": "https://github.com/kotarella1110/typesafe-storage#readme", "devDependencies": { "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", "@commitlint/prompt-cli": "^13.1.0", "@semantic-release/changelog": "^5.0.0", "@semantic-release/git": "^9.0.0", "@types/jest": "^26.0.24", "all-contributors-cli": "^6.20.0", "eslint-config-airbnb-typescript": "^12.3.1", "husky": "^7.0.1", "jest-localstorage-mock": "^2.4.14", "lint-staged": "^11.1.1", "rimraf": "^3.0.2", "semantic-release": "^17.4.4", "tsdx": "^0.14.1", "tslib": "^2.3.0", "typescript": "^4.3.5" }, "jest": { "setupFiles": [ "jest-localstorage-mock" ] }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,ts}": [ "yarn lint:fix", "git add" ], "*.{md,json}": [ "prettier --write", "git add" ] } }