react-cookies
Version:
Load and save cookies with React
67 lines (66 loc) • 1.54 kB
JSON
{
"name": "react-cookies",
"version": "0.1.1",
"description": "Load and save cookies with React",
"main": "build/cookie.js",
"repository": "git@github.com:bukinoshita/react-cookies.git",
"author": "Bu Kinoshita <bukinoshita@gmail.com>",
"scripts": {
"lint": "xo --quiet",
"test": "npm run lint && node_modules/.bin/jest",
"watch": "node_modules/.bin/jest --watch",
"build": "node_modules/.bin/babel src -d build --ignore __tests__",
"precommit": "lint-staged"
},
"keywords": [
"react-cookies",
"react-cookie",
"cookie",
"cookies",
"react",
"reactjs",
"jsx"
],
"dependencies": {
"cookie": "^0.3.1",
"object-assign": "^4.1.1"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-jest": "^19.0.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-latest": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-register": "^6.24.1",
"eslint-config-prettier": "^2.2.0",
"husky": "^0.14.1",
"jest": "^19.0.2",
"lint-staged": "^4.0.0",
"prettier": "^1.4.4",
"xo": "^0.18.2"
},
"xo": {
"space": true,
"esnext": true,
"semicolon": false,
"ignores": [
"build/*.js",
"__tests__/*.js"
],
"globals": [
"document"
],
"rules": {
"func-names": 0,
"object-curly-spacing": 0
}
},
"lint-staged": {
"src/*.js": [
"npm run test",
"prettier --semi false --single-quote --write",
"git add"
]
},
"license": "MIT"
}