cypress-localstorage-commands
Version:
Extends Cypress' cy commands with localStorage methods. Allows preserving localStorage between tests
60 lines (59 loc) • 1.58 kB
JSON
{
"name": "cypress-localstorage-commands",
"version": "1.1.4",
"description": "Extends Cypress' cy commands with localStorage methods. Allows preserving localStorage between tests",
"keywords": [
"cypress",
"local-storage",
"localstorage",
"methods",
"utilities",
"commands",
"testing-tools",
"testing",
"persistence"
],
"author": "Javier Brea",
"license": "MIT",
"repository": "https://github.com/javierbrea/cypress-localstorage-commands",
"files": [
"src"
],
"main": "index.js",
"scripts": {
"coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "eslint src test test-e2e/react-app/src test-e2e/react-app/cypress",
"lint-staged": "lint-staged",
"test": "jest",
"test-e2e": "cd test-e2e/react-app && npm run test:ci",
"test-e2e:ci": "cd test-e2e/react-app && npm i && npm run test:ci"
},
"peerDependencies": {
"cypress": "^2.1.0 || ^3.0.0"
},
"dependencies": {},
"devDependencies": {
"babel-eslint": "10.0.3",
"coveralls": "3.0.9",
"eslint": "6.8.0",
"eslint-config-prettier": "6.9.0",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.17.0",
"husky": "4.0.7",
"jest": "24.9.0",
"lint-staged": "9.5.0",
"prettier": "1.19.1",
"sinon": "8.0.4"
},
"lint-staged": {
"src/**/*.js": "eslint",
"test/**/*.js": "eslint",
"test-e2e/react-app/src/**/*.js": "eslint",
"test-e2e/react-app/cypress/**/*.js": "eslint"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
}
}