secure-timed-storage
Version:
Secure timed storage library for encrypting and managing data in localStorage with expiry
79 lines (78 loc) • 2 kB
JSON
{
"name": "secure-timed-storage",
"version": "1.5.0",
"type": "module",
"description": "Secure timed storage library for encrypting and managing data in localStorage with expiry",
"license": "MIT",
"author": {
"name": "Pratik Darak",
"email": "pratikdarak@gmail.com"
},
"keywords": [
"secure timed storage",
"react local storage",
"react secure storage",
"secure storage",
"local storage",
"secure local storage",
"timed local storage",
"secure timed local storage",
"encrypt storage",
"storage",
"local",
"secure",
"encrypt"
],
"repository": {
"type": "git",
"url": "git+https://github.com/PratikDarak/secure-timed-storage.git"
},
"exports": {
".": {
"import": "./dist/secure-timed-storage.js",
"require": "./dist/secure-timed-storage.cjs"
}
},
"main": "./dist/secure-timed-storage.cjs",
"module": "./dist/secure-timed-storage.js",
"types": "./dist/secure-timed-storage.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"format": "prettier . --ignore-unknown --write",
"format:check": "prettier . --ignore-unknown --check",
"prepare": "husky",
"release": "npm run test && npm run build && npm publish",
"test": "vitest"
},
"dependencies": {
"crypto-js": "^4.2.0"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/crypto-js": "^4.2.2",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.4",
"lint-staged": "^15.2.7",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vite-plugin-dts": "^3.9.1",
"vitest": "^2.0.5"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --ignore-unknown --write"
]
}
}