{"_id":"7niu-webpack-plugin","_rev":"2-c9c1b0d0ca96d69aa8155cf42c28da08","name":"7niu-webpack-plugin","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"7niu-webpack-plugin","version":"0.1.0","description":"基于 webpack 3.x 以上版本开发的七牛上传插件","main":"index.js","scripts":{"lint":"eslint \"index.js\"","cz":"git-cz","preversion":"npm run lint","postversion":"npm run changelog && git commit -am \"generate changelog\" && git push --follow-tags origin master","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["npm run lint -- --fix","git add"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"dependencies":{"qiniu":"^7.2.1","slash":"^2.0.0","is_js":"^0.9.0","ora":"^2.1.0"},"devDependencies":{"commitizen":"^2.10.1","conventional-changelog-cli":"^2.0.1","cz-conventional-changelog":"^2.1.0","eslint":"^5.5.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-standard":"^4.0.0","husky":"^1.0.0-rc.12","lint-staged":"^7.2.0"},"keywords":["qiniu","webpack4"],"engines":{"node":">=6.0"},"bugs":{"url":"https://github.com/zhengxs2018/7niu-webpack-plugin/issues"},"repository":{"type":"git","url":"git+https://github.com/zhengxs2018/7niu-webpack-plugin.git"},"author":{"name":"郑贤森","email":"zhengxs2018@foxmail.com"},"license":"MIT","gitHead":"3fe8d8ef0be1e11a00318329013fcac0337767b7","homepage":"https://github.com/zhengxs2018/7niu-webpack-plugin#readme","_id":"7niu-webpack-plugin@0.1.0","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"zhengxs","email":"zhengxs2018@foxmail.com"},"dist":{"integrity":"sha512-7oUXNqzI+18gYJItjWn0EATGV0qSWFzd+yeHak7L1sAC72vaEwJdb/zbM7obw8RmwmQGfF1PzYu5axoM2BzuoQ==","shasum":"05c6b98665e6f742fff0abeb06cba5a338789f08","tarball":"https://registry.npmjs.org/7niu-webpack-plugin/-/7niu-webpack-plugin-0.1.0.tgz","fileCount":5,"unpackedSize":7336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl/rrCRA9TVsSAnZWagAABO0P/A9Jtg2hWPDxb5d/unnG\nybrV3MXVCx9ekuMble6aFj3LsnXSrOV8Hk3IZLELk4NALwnTa2bKKPhKx7HK\nlpPpjazXrUCia0T3pmfrBh/1WNlBCVeWHrCTm4yJXX0HQKgyU59YSpJ1UJiq\nApcQqcRHjikXVnYhBdtjF+ldCjR8TJ9JKDxltm2zod+8Lt8kVK20wwdd+UuC\nX4QxegmKidda0nkr1UfJ0KQlEXZLuwv9WL3UlcfTHIJv7DD/oS3spvOG0oGQ\nERgIwi5MxKqYjC1y0p2nuDzo7n6DStZoeJsiBlYgdfoJUmgaqeX78O3qGGTi\nxZ1JBCxSCx7U9z4BWeH1L+sv0J0fsBrhvh2XQcig+N+bfT5XnA/sT/2RVWKv\nqXsm4kX4e0BTjiMyq+J2idTGYz0Mck9zQcGKHGOBazFVrovE0k/RcwjFORvo\nD5RW5ImY7+5+UxLeFrSl/e5wC8z3qf8CFQktfRc/LQGRIDswUte5cbf5bzXU\nlVicqR2v1aNJE+hT0joIjQpn4v6Ke1t3pF/MBQ1jvOYn4P+rOhLyDUgjYaQ3\nvL+v1QJ6sPRdPtx+vZ6+XJA5/ExZH03QL4eWMKVmppRDDhUg4+n+SmE2BCGK\nFrDdsZ6qTYFocCEiICA/iNwBllErHNvjIaijlMGCNLVYdeRlxlNng0UZxFBw\nYK08\r\n=C37G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+8CQ9A8sZNYacMdvCukfLy5Yxe4OjzV7/zbewSPZ75AIgUi0N8kAJ0gg9EloVSAX6co77GwBj1f4xOtRBOkPKbHU="}]},"maintainers":[{"name":"zhengxs","email":"zhengxs2018@foxmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/7niu-webpack-plugin_0.1.0_1536686826703_0.31804564218962295"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2018-09-11T17:27:06.702Z","0.1.0":"2018-09-11T17:27:06.877Z","modified":"2023-12-04T13:52:42.322Z"},"maintainers":[{"name":"zhengxs","email":"zhengxs2018@foxmail.com"}],"description":"基于 webpack 3.x 以上版本开发的七牛上传插件","homepage":"https://github.com/zhengxs2018/7niu-webpack-plugin#readme","keywords":["qiniu","webpack4"],"repository":{"type":"git","url":"git+https://github.com/zhengxs2018/7niu-webpack-plugin.git"},"author":{"name":"郑贤森","email":"zhengxs2018@foxmail.com"},"bugs":{"url":"https://github.com/zhengxs2018/7niu-webpack-plugin/issues"},"license":"MIT","readme":"# 七牛上传插件\r\n\r\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\r\n[![License](https://img.shields.io/npm/l/7niu-webpack-plugin.svg)](https://www.npmjs.com/package/7niu-webpack-plugin)\r\n[![Downloads](https://img.shields.io/npm/dm/7niu-webpack-plugin.svg)](https://www.npmjs.com/package/7niu-webpack-plugin)\r\n\r\n基于 webpack 3.x 新版 API 制作的七牛静态资源上传插件\r\n\r\n## 环境要求\r\n\r\n* node > 6.x\r\n* webpack > 3.x\r\n\r\n## 使用\r\n\r\n```javascript\r\nconst Qiniu = require('7niu-webpack-plugin')\r\n\r\nmodule.exports = {\r\n   output:{\r\n    // 用来和七牛的静态资源绑定的域名 \r\n    publicPath:\"https://attach.example.com/\"\r\n },\r\n  plugins: [\r\n    new Qiniu({\r\n      // 与七牛云设置一致\r\n      accessKey: '<your access key>',\r\n      secretKey: '<your secret key>',\r\n      bucket: '<your bucket name>',\r\n      // 存储的路径\r\n      path: '<custom store path>',\r\n      // 上传过滤用的属性，仅支持正则匹配\r\n      include: /\\.js/\r\n      exclude: /\\.html$/\r\n    })\r\n  ]\r\n}\r\n```\r\n\r\n## 版权声明\r\n\r\n`Qiniu` 是上海七牛信息技术有限公司的注册商标， `7niu-webpack-plugin` 是参考网上存在的相关插件修改的，非官方版 `webpack` 插件。\r\n\r\n## 授权协议\r\n\r\nMIT\r\n\r\n[qiniu-webpack-plugin]: https://github.com/longtian/qiniu-webpack-plugin\r\n","readmeFilename":"README.md"}