{"_id":"funmit","_rev":"29-5eeef9d0da824184ac5299e88acf2845","time":{"1.0.3":"2020-09-07T01:41:55.638Z","created":"2020-09-08T02:23:47.225Z","0.0.1":"2020-09-08T02:23:47.478Z","modified":"2022-05-03T01:14:01.950Z","0.0.2":"2020-09-08T02:50:28.067Z","0.0.3":"2020-09-08T04:01:49.713Z","0.0.4":"2020-09-08T06:08:10.147Z","0.0.5":"2020-09-08T08:03:40.321Z","0.0.6":"2020-09-09T10:42:17.128Z","0.0.12":"2020-09-09T12:16:23.266Z","0.0.13":"2020-09-10T02:16:28.246Z","0.0.15":"2020-09-13T10:23:41.145Z","0.0.16":"2020-09-19T10:01:21.540Z","0.0.17":"2020-12-21T09:05:38.882Z"},"name":"funmit","dist-tags":{"latest":"0.0.17"},"versions":{"0.0.16":{"repository":{"type":"git","url":"git+https://github.com/xiangzhengfeng/InterestingCommit.git"},"bugs":{"url":"https://github.com/xiangzhengfeng/InterestingCommit/issues"},"version":"0.0.16","license":"MIT","name":"funmit","description":"有趣的代码提交","authors":{"name":"牧麟子","email":"qianduanxinlv@163.com"},"keywords":["commit","funny","git","提交","提交代码","有趣的提交","有趣的代码提交"],"engines":{"node":">=10"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"scripts":{"start":"react-scripts start","build:ui":"react-scripts build","build:server":"cd ../commit-build && yarn build:server && yarn copy-json:lib","eject":"react-scripts eject","serve":"node server/app.js","clean":"node publish/clean.js","test":"yarn tsc","tsc":"tsc --incremental --diagnostics -p tsconfig.json","switch":"node publish/index.js","postpublish":"node publish/restore.js && git add . && git commit -m '人生何曾驻旧足，前端处处是新旅'","push:ui":"cd ../commit-ui && git add . && git commit -m '人生何曾驻旧足，前端处处是新旅' && git push origin master","push:server":"cd ../commit-server && git add . && git commit -m '人生何曾驻旧足，前端处处是新旅' && git push origin master"},"husky":{"hooks":{"post-merge":"yarn","pre-commit":"lint-staged && pretty-quick --staged","pre-push":"yarn test"}},"lint-staged":{"*.{ts,tsx}":["eslint --quiet","git add"]},"dependencies":{"antd":"^4.5.2","async":"^3.2.0","axios":"^0.19.0","body-parser":"^1.19.0","child_process":"^1.0.2","colors":"^1.4.0","eosjs":"^20.0.0","express":"^4.17.1","fs":"^0.0.1-security","husky":"^4.2.5","minimist":"^1.2.5","mobx":"^5.15.4","mobx-react":"^6.2.0","moment":"^2.24.0","open":"^7.2.1","path":"^0.12.7","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"3.4.1","styled-components":"^5.0.1","typescript":"3.7.5"},"eslintConfig":{"extends":"react-app"},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"devDependencies":{"@babel/plugin-proposal-decorators":"^7.8.3","@testing-library/react":"^9.3.2","@testing-library/user-event":"^7.1.2","@types/node":"^12.12.31","@types/react":"^16.9.25","@types/react-dom":"^16.9.5","@types/styled-components":"^5.0.1","babel-plugin-import":"^1.13.0","babel-plugin-transform-decorators-legacy":"^1.3.5","lint-staged":"10.2.11","net":"^1.0.2","prettier":"2.1.0","pretty":"^2.0.0","pretty-quick":"^3.0.0"},"peerDependencies":{"babel-eslint":"10.1.0","babel-plugin-import":"^1.13.0","babel-plugin-transform-decorators-legacy":"^1.3.5","eslint":"^6.6.0","webpack":"4.42.0"},"gitHead":"75bc947340ae83a3c3e6c9d474e690aee938aadf","homepage":"https://github.com/xiangzhengfeng/InterestingCommit#readme","_id":"funmit@0.0.16","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-GuQJS/atOyIxH8sg0JJGJeUh4TYn2Rj+Thx8yDmF6914iria7xCwKdsG2d9KXapMZcr9scCJHSlyfJZ+QUSjnQ==","shasum":"9138d63666d14f6be68f3cd058c0ff99fdb03c90","tarball":"https://registry.npmjs.org/funmit/-/funmit-0.0.16.tgz","fileCount":9,"unpackedSize":20044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZdbxCRA9TVsSAnZWagAAJCIP/0ZihtJz2n/FJs6xDpHs\nUXJI2VSfxNj2UYFWH7AzorfA+bHnXLT+dljuEV3z/J6ro9+Vmsm/EnTXaJL6\n3IjCRhAWiHpWw8EUjb4beAkKuq7ppR13RjVWcM82/BGmi+06+NnouY4zQVnT\nLVNT77Xcm/Q0/3iUnFPqWjYYWLm6++QD7oFpOd2LbyNEFExeoviwDElbR5fP\nfs7ZgUBa7sY0HxbAS9lpz4RmJh9Diz4SE3K3hE8ro7cSnG4zlgtTZcIj7JJ0\nUwejcu8CivZMBR+M71rVtqMqMyzNOQGD3BxJZAvvBWwllqD4LnQM83E3YqKa\ns1hlb7F8jyVm7lj6bvrXcXOUA6KLyz/vY9Y5C498rulNVKeyhgmHIfqhjYkC\n9s3f0sOF3PXp3r5pcCCn3Q/tUtk9DL2hUWU49/nJYAefQnNxmG46FW254LGw\nOM/ZjpzbNKJtQUrSF5owYz8mk0n0GGqOC7/C/v8jz4rY/p18/+ur+ixib9IB\nlw9e+woonendRIBMqLjm9kdK78pntZ48hzMcwtJOmxklhWmQOlbuQbTs/uj2\nhCbZ/HUCXa9yKqBrY3gCHN3naktxT3T8WxAh68wClJwvf6nQHo+RZUs5BW9w\ny8dRQTC4vK0vwSTPuVvmbjoYoybmeaDjA3nps44RB0toF1haQvPFUFPlPiiw\n9r4c\r\n=pec0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpmVRCDXW/c9iGIEfXI2DC1c4Sbjm3JmbuJkR74ZtGyQIgNzRo0FHMVGvTKkHCFJfYCWrMM1ykN3T3iVGDquF9Yl0="}]},"maintainers":[{"name":"qianduanxinlv","email":"qianduanxinlv@163.com"}],"_npmUser":{"name":"qianduanxinlv","email":"qianduanxinlv@163.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/funmit_0.0.16_1600509681377_0.9354864427245373"},"_hasShrinkwrap":false},"0.0.17":{"repository":{"type":"git","url":"git+https://github.com/xiangzhengfeng/InterestingCommit.git"},"bugs":{"url":"https://github.com/xiangzhengfeng/InterestingCommit/issues"},"version":"0.0.17","license":"MIT","name":"funmit","description":"有趣的代码提交-已废弃","authors":{"name":"牧麟子","email":"qianduanxinlv@163.com"},"keywords":["commit","funny","git","提交","提交代码","有趣的提交","有趣的代码提交"],"engines":{"node":">=10"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"scripts":{"start":"react-scripts start","build:ui":"react-scripts build","eject":"react-scripts eject","serve":"node server/app.js","clean":"node publish/clean.js","docs":"jsdoc -c docs-src/jsdoc.json","test":"yarn tsc","tsc":"tsc --incremental --diagnostics -p tsconfig.json","switch":"node publish/index.js","postpublish":"node publish/restore.js && git add . && git commit -m '人生何曾驻旧足，前端处处是新旅'","push:ui":"cd ../commit-ui && git add . && git commit -m '人生何曾驻旧足，前端处处是新旅' && git push origin master","push:server":"cd ../commit-server && git add . && git commit -m '人生何曾驻旧足，前端处处是新旅' && git push origin main","push:funmit":"git add . && git commit -m '人生何曾驻旧足，前端处处是新旅' && git push origin master"},"husky":{"hooks":{"post-merge":"yarn","pre-commit":"lint-staged && pretty-quick --staged","pre-push":"yarn test"}},"lint-staged":{"*.{ts,tsx}":["eslint --quiet","git add"]},"dependencies":{"antd":"^4.5.2","async":"^3.2.0","axios":"^0.19.0","body-parser":"^1.19.0","child_process":"^1.0.2","colors":"^1.4.0","eosjs":"^20.0.0","express":"^4.17.1","fs":"^0.0.1-security","husky":"^4.2.5","minimist":"^1.2.5","mobx":"^5.15.4","mobx-react":"^6.2.0","moment":"^2.24.0","open":"^7.2.1","path":"^0.12.7","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"3.4.1","styled-components":"^5.0.1","typescript":"3.7.5"},"eslintConfig":{"extends":"react-app"},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"devDependencies":{"@babel/plugin-proposal-decorators":"^7.8.3","@testing-library/react":"^9.3.2","@testing-library/user-event":"^7.1.2","@types/node":"^12.12.31","@types/react":"^16.9.25","@types/react-dom":"^16.9.5","@types/styled-components":"^5.0.1","babel-plugin-import":"^1.13.0","babel-plugin-transform-decorators-legacy":"^1.3.5","lint-staged":"10.2.11","net":"^1.0.2","prettier":"2.1.0","pretty":"^2.0.0","pretty-quick":"^3.0.0"},"peerDependencies":{"babel-eslint":"10.1.0","babel-plugin-import":"^1.13.0","babel-plugin-transform-decorators-legacy":"^1.3.5","eslint":"^6.6.0","webpack":"4.42.0"},"gitHead":"787d22b8ac02035c2a07c335f445fd095ea6838c","homepage":"https://github.com/xiangzhengfeng/InterestingCommit#readme","_id":"funmit@0.0.17","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-m8oLfC+FVD02OQ5UUzLU+zrZ+Dmjb31O2qa7F3HMaHybIVy7ArFJIU+XKrFGCv1jBLvvFZwptJLGrdt7oEFsEQ==","shasum":"e91d63a977af60e6fcd49cda4076a62ba6bd7723","tarball":"https://registry.npmjs.org/funmit/-/funmit-0.0.17.tgz","fileCount":9,"unpackedSize":559401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4GVjCRA9TVsSAnZWagAAadUQAI95y7fGzCLqWs4uacse\nH6Qo/W4TZA1+si5/6jGIRF+1gEddWeTZrBe/LwKV8q0HPirrYPGJXLkDLUDe\nnMoDR4Cz61DJuO7uaK2TouOkdHFQWdlOX9H3oCwAU3I9Vxm6dhevr/zjZA+d\nSB9GJxsGBA80ub4K8DOwUIIoC4Vp1C6nyN+elJGP8Yyl4jiTVyOoUX75MIp+\ncZj76zpbW4EororVc5bSJkb23iTB/3lyKpue4cc7bueJjtuljrmF7MsNVOhy\n6mFo4TCQmsOdRyECe6OaHyWMO20T1lU5l5SwEZyBpfLJsW0mK3i1+pmdoXNV\neAA7aFy5DEVSSyUFrNLvQT615l9hLvKs/jirm7ZQqKbmh9tCufYOfJyX2FbF\nR2QycagV80ROQg4tYCI4OSwTdfyLQf88zl9xTLq8ktICJgUBM04hbSqmKUnl\ndKyJzqw3hweGO6hCuFKnB6uV+BsjegDFkWuXS2dQnmxqv3lurRk0xWR9n2HP\nU2nLvJQ+OaHsxmJnAOJMjbQ4r2HQWOZJ+GGltRN48bU5WUJQQ0EVx/OOJ7gD\nZEN2c0AnK69DruYeibCBEky8xsRB1c1+9eebO3ogQqNzpYwYYCorJPq0vrpB\nbzQ7V0T6779XI8Q/jIYEccWRQgnjy6Asf5CF7UEMMRFUkKvgXyFg8BVe92Hp\nTUNu\r\n=qzW4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICUnW5W3YLCta7bjktaHMy3NRvOU/gJm1KRGXF1x1Ml4AiBsyKEk4Cal9xeHXTEhZqx6BoSsuaej8uxmWF7ClQuJQw=="}]},"_npmUser":{"name":"qianduanxinlv","email":"qianduanxinlv@163.com"},"directories":{},"maintainers":[{"name":"qianduanxinlv","email":"qianduanxinlv@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/funmit_0.0.17_1608541538688_0.27392574719199514"},"_hasShrinkwrap":false}},"maintainers":[{"name":"qianduanxinlv","email":"qianduanxinlv@163.com"}],"description":"有趣的代码提交-已废弃","homepage":"https://github.com/xiangzhengfeng/InterestingCommit#readme","keywords":["commit","funny","git","提交","提交代码","有趣的提交","有趣的代码提交"],"repository":{"type":"git","url":"git+https://github.com/xiangzhengfeng/InterestingCommit.git"},"bugs":{"url":"https://github.com/xiangzhengfeng/InterestingCommit/issues"},"license":"MIT","readme":"<h1 align=\"center\">Welcome to funmit(已废弃) 👋</h1>\n<p>\n  <a href=\"#\" target=\"_blank\">\n    <img alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" />\n  </a>\n</p>\n\n### 🏠 [Homepage](https://github.com/xiangzhengfeng/InterestingCommit)\n\n## 1. 常见错误解决\n\n#### 1). 版本报错\n\n- 当看到以下相关的问题时，基本上就是版本问题了，主要是用户原本的项目和 funmit 包对于少数几个同样的包的引用依赖的版本不一样导致的。由于作者本人对这个如何处理不是很了解，所以在测试阶段我都是用他提示的这个版本来覆盖原本项目的版本得以解决。即在用户自己的项目里面，将图片中绿色的这个包及其版本号覆盖原本的版本号，如果原本没有，那么直接添加就行了。\n\n  ![](https://gitee.com/qianduanxinlv/commit-server/raw/master/image/version.png)\n\n#### 2). 类型报错\n\n- 当看到以下相关的问题时，基本上就是类型问题了，主要是用户原本的项目没有 ts 类型检验相关的包导致的。按照他提示的相关 type 增加依赖就行了，但是这种太多了就很繁琐。所以直接将项目所依赖的 type 一次性加载完。所以直接在用户自己的项目里执行 funmit:load 脚本命令即可。\n\n  ![](https://gitee.com/qianduanxinlv/commit-server/raw/master/image/type.png)\n\n#### 3). git 相关报错\n\n- 当看到以下相关的问题时，基本上就是 git 的问题了，主要是用户原本的项目是新启动的项目，没有配置相关的 git 等等。所以需要先进行 git init 以及 git push 等全流程的操作后，再进行 funmit 包的启动等。\n\n  ![](https://gitee.com/qianduanxinlv/commit-server/raw/master/image/git.png)\n","readmeFilename":"README.md"}