UNPKG

vue-save-state

Version:

A Vue mixin to save the state of a component to local storage

55 lines (53 loc) 1.29 kB
{ "name": "vue-save-state", "version": "1.2.0", "description": "A Vue mixin to save the state of a component to local storage", "main": "dist/save-state.js", "jsnext:main": "src/save-state.js", "scripts": { "build": "babel src -d dist", "prepublish": "npm run test; npm run build", "test": "jest", "lint": "eslint --fix src __tests__; exit 0" }, "repository": { "type": "git", "url": "https://github.com/spatie/vue-save-state.git" }, "keywords": [ "spatie", "vue", "state", "save", "restore", "local", "storage" ], "author": "Freek Van der Herten", "license": "MIT", "bugs": { "url": "https://github.com/spatie/vue-save-state/issues" }, "homepage": "https://github.com/spatie/vue-save-state", "dependencies": { "lodash": "^4.0.0" }, "peerDependencies": { "vue": "^2.0.3" }, "devDependencies": { "babel-cli": "^6.9.0", "babel-jest": "^16.0.0", "babel-plugin-transform-async-to-generator": "^6.16.0", "babel-plugin-transform-object-rest-spread": "^6.16.0", "babel-preset-es2015": "^6.9.0", "chai": "^3.5.0", "eslint": "^3.7.1", "eslint-config-spatie": "^1.2.6", "jest": "^16.0.2", "vue": "^2.0.3" }, "jest": { "testRegex": "test.js$" } }