UNPKG

persistent-storage

Version:

Abstracts access to any storage object implementing the webstorage Storage interface, offering optional compression using lz-string and optional encryption using crypto

59 lines (58 loc) 1.71 kB
{ "name": "persistent-storage", "version": "3.0.1", "description": "Abstracts access to any storage object implementing the webstorage Storage interface, offering optional compression using lz-string and optional encryption using crypto", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "precov": "npm run build", "cov": "istanbul cover node_modules/mocha/bin/_mocha -- dist/test", "prebuild": "npm run clean", "build": "tsc && grunt build-tests", "clean": "rm -rf dist", "dts-bundle": "node build-scripts/dts-bundle.js", "pretest": "npm run build", "test": "mocha dist/test && grunt test", "prepublish": "npm run build" }, "repository": { "type": "git", "url": "https://github.com/mnahkies/persistent-storage.git" }, "author": "Michael Nahkies <info@nahkies.co.nz>", "license": "ISC", "bugs": { "url": "https://github.com/mnahkies/persistent-storage/issues" }, "keywords": [ "encryption", "crypto", "compression", "localstorage", "sessionstorage" ], "homepage": "https://github.com/mnahkies/persistent-storage", "devDependencies": { "@types/chance": "^0.7.33", "@types/lodash": "^4.14.64", "@types/lz-string": "^1.3.32", "@types/mocha": "^2.2.41", "@types/node": "^7.0.18", "chance": "^1.0.8", "grunt": "^1.0.1", "grunt-browserify": "^5.0.0", "grunt-cli": "^1.2.0", "grunt-mocha-phantomjs": "^4.0.0", "istanbul": "^0.4.2", "mocha": "^3.3.0", "node-storage-shim": "^1.0.1", "typescript": "^2.3.2" }, "peerDependencies": { "@types/node": "*" }, "dependencies": { "lodash": "^4.1.0", "lz-string": "^1.4.4" } }