mock-webstorage
Version:
A mock WebStorage class for mocking localStorage and sessionStorage objects in tests.
58 lines (57 loc) • 1.57 kB
JSON
{
"name": "mock-webstorage",
"version": "1.1.0",
"description": "A mock WebStorage class for mocking localStorage and sessionStorage objects in tests.",
"main": "js/index.js",
"sideEffects": false,
"scripts": {
"prepare": "rimraf js/ && babel -s inline -d js/ src/ && flow-copy-source -v src js",
"test": "yarn run lint && yarn run flow_check && mocha && tsc",
"flow_check": "flow check",
"lint": "eslint .",
"lint-fix": "eslint . --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Macil/mock-webstorage.git"
},
"keywords": [
"mock",
"test",
"WebStorage",
"localStorage",
"sessionStorage"
],
"author": "Chris Cowan <agentme49@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Macil/mock-webstorage/issues"
},
"homepage": "https://github.com/Macil/mock-webstorage#readme",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.0",
"babel-plugin-add-module-exports": "^1.0.0",
"eslint": "^5.6.0",
"flow-bin": "^0.81.0",
"flow-copy-source": "^2.0.0",
"mocha": "^5.2.0",
"rimraf": "^2.6.2",
"sinon": "^6.0.0",
"typescript": "^3.0.3"
},
"dependencies": {
"@babel/runtime": "^7.0.0"
},
"greenkeeper": {
"ignore": [
"flow-bin"
]
}
}