|
| 1 | +{ |
| 2 | + "name": "@use-hooks/axios", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "Custom React Hooks for Axios.js", |
| 5 | + "main": "dist/index.js", |
| 6 | + "files": [ |
| 7 | + "dist" |
| 8 | + ], |
| 9 | + "scripts": { |
| 10 | + "start": "webpack-dev-server --progress --color --config ./webpack.config.dev.js", |
| 11 | + "build": "webpack --config ./webpack.config.prod.js", |
| 12 | + "lint": "eslint src", |
| 13 | + "lint:fix": "eslint src --fix", |
| 14 | + "prepublishOnly": "npm run build" |
| 15 | + }, |
| 16 | + "repository": { |
| 17 | + "type": "git", |
| 18 | + "url": "git+https://github.com/use-hooks/react-hooks-axios.git" |
| 19 | + }, |
| 20 | + "keywords": [ |
| 21 | + "reactjs", |
| 22 | + "react-hooks", |
| 23 | + "axios" |
| 24 | + ], |
| 25 | + "author": "Cody Chan <[email protected]>", |
| 26 | + "license": "MIT", |
| 27 | + "bugs": { |
| 28 | + "url": "https://github.com/use-hooks/react-hooks-axios/issues" |
| 29 | + }, |
| 30 | + "homepage": "https://github.com/use-hooks/react-hooks-axios#readme", |
| 31 | + "devDependencies": { |
| 32 | + "@babel/core": "^7.2.0", |
| 33 | + "@babel/preset-env": "^7.2.0", |
| 34 | + "@babel/preset-react": "^7.0.0", |
| 35 | + "babel-eslint": "^10.0.1", |
| 36 | + "babel-loader": "^8.0.4", |
| 37 | + "eslint": "^5.10.0", |
| 38 | + "eslint-plugin-react": "^7.11.1", |
| 39 | + "eslint-plugin-react-hooks": "^0.0.0", |
| 40 | + "html-webpack-plugin": "^3.2.0", |
| 41 | + "husky": "^1.2.0", |
| 42 | + "lint-staged": "^8.1.0", |
| 43 | + "webpack": "^4.27.1", |
| 44 | + "webpack-cli": "^3.1.2", |
| 45 | + "webpack-dev-server": "^3.1.10" |
| 46 | + }, |
| 47 | + "husky": { |
| 48 | + "hooks": { |
| 49 | + "pre-commit": "lint-staged" |
| 50 | + } |
| 51 | + }, |
| 52 | + "lint-staged": { |
| 53 | + "*.js": [ |
| 54 | + "eslint --fix", |
| 55 | + "git add" |
| 56 | + ] |
| 57 | + }, |
| 58 | + "dependencies": { |
| 59 | + "axios": "^0.18.0", |
| 60 | + "react": "^16.7.0-alpha.2", |
| 61 | + "react-dom": "^16.7.0-alpha.2" |
| 62 | + } |
| 63 | +} |
0 commit comments