UNPKG

encrypt-storage

Version:

Wrapper for encrypted localStorage and sessionStorage in browser

128 lines (127 loc) 4.29 kB
{ "name": "encrypt-storage", "version": "2.14.06", "description": "Wrapper for encrypted localStorage and sessionStorage in browser", "main": "dist/index.js", "types": "dist/index.d.ts", "homepage": "https://github.com/michelonsouza/encrypt-storage#readme", "repository": { "type": "git", "url": "https://github.com/michelonsouza/encrypt-storage.git" }, "funding": { "type": "individual", "url": "https://github.com/sponsors/michelonsouza" }, "scripts": { "clean": "shx rm -rf _bundles lib lib-esm", "build": "tsc --declaration", "build:minified": "webpack", "lint": "eslint 'src/**'", "test": "jest --passWithNoTests --no-cache --runInBand", "test:watch": "yarn test -- --watch", "test:staged": "yarn test -- --find-relatedTests", "test:ci": "jest --no-cache --runInBand --coverage --watchAll=false", "test:coveralls": "yarn test:ci && coveralls < coverage/lcov.info", "check": "npx npm-check -u -s", "pre-commit": "lint-staged", "prepare": "husky install", "prepublish": "node ./prepublish.js && yarn prettier -c -w ./package.json", "postpublish": "node ./postpublish.js && yarn prettier -c -w ./package.json", "update:dev-dependencies": "yarn add -D @commitlint/cli @commitlint/config-conventional @types/crypto-js @types/jest @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser assert buffer copy-webpack-plugin coveralls eslint eslint-config-airbnb-base eslint-config-prettier git-commit-msg-linter https-browserify husky jest jest-environment-jsdom jest-environment-node jest-localstorage-mock lint-staged node-polyfill-webpack-plugin os-browserify path-browserify prettier process stream-browserify stream-http ts-jest ts-loader webpack webpack-cli typescript url eslint-import-resolver-typescript webpack webpack-cli" }, "keywords": [ "localStorage", "sessionStorage", "safeStorage", "encryptStorage", "encrypted storage", "encrypted data", "security", "browser storage", "browser localStorage", "browser sessionStorage", "encrypt persist", "lgpd", "LGPD", "GDPR", "gdpr", "aws-amplify", "encrypt amplify localStorage", "amplify", "cognito", "encrypt cognito localStorage", "encrypt react localStorage", "encrypt vue localStorage", "encrypt angular localStorage", "vuex", "redux", "reactjs", "vuejs", "vue-2", "vue-3", "angular", "vuex-persist", "redux-persist", "pinia-plugin-persist", "pinia", "persistors", "webpack5", "webpack 5", "webpack", "state management persist" ], "author": { "email": "michelon.souza@gmail.com", "name": "Michelon Souza", "url": "https://github.com/michelonsouza" }, "license": "MIT", "devDependencies": { "@commitlint/cli": "^19.4.0", "@commitlint/config-conventional": "^19.2.2", "@types/crypto-js": "^4.2.2", "@types/faker": "^5.5.9", "@types/jest": "^29.5.12", "@types/node": "^22.3.0", "@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/parser": "^8.1.0", "assert": "^2.1.0", "buffer": "^6.0.3", "copy-webpack-plugin": "^12.0.2", "coveralls": "^3.1.1", "eslint": "8.57.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-prettier": "^5.0.1", "faker": "^5.5.3", "git-commit-msg-linter": "^5.0.8", "https-browserify": "^1.0.0", "husky": "^9.1.4", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-environment-node": "^29.7.0", "jest-localstorage-mock": "^2.4.26", "lint-staged": "^15.2.9", "node-polyfill-webpack-plugin": "^4.0.0", "os-browserify": "^0.3.0", "path-browserify": "^1.0.1", "prettier": "^3.3.3", "process": "^0.11.10", "shx": "^0.3.4", "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "ts-jest": "^29.2.4", "ts-loader": "^9.5.1", "typescript": "^5.5.4", "url": "^0.11.4", "webpack": "^5.93.0", "webpack-cli": "^5.1.4" }, "dependencies": { "crypto-browserify": "^3.12.0", "crypto-js": "^4.2.0" } }