{"_id":"@tarojs/plugin-platform-xhs","_rev":"2930737","name":"@tarojs/plugin-platform-xhs","description":"小红书小程序平台插件","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"advancedcat","email":""},{"name":"baosiqing","email":""},{"name":"defaultlee","email":""},{"name":"drchan","email":""},{"name":"kyjo","email":""},{"name":"xuanzebin","email":""},{"name":"yuche","email":""},{"name":"zakary","email":""}],"time":{"modified":"2023-03-14T03:46:09.000Z","created":"2022-04-19T06:45:21.098Z","1.0.0":"2022-08-23T09:16:55.773Z","0.0.7":"2022-08-16T11:58:12.126Z","0.0.6":"2022-08-04T10:00:43.396Z","0.0.5":"2022-07-28T06:18:53.823Z","0.0.4":"2022-07-02T07:19:48.626Z","0.0.3":"2022-04-21T05:45:32.767Z","0.0.2":"2022-04-19T10:05:47.434Z","0.0.1":"2022-04-19T06:45:21.098Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/NervJS/taro-plugin-platform-xhs.git"},"versions":{"1.0.0":{"name":"@tarojs/plugin-platform-xhs","version":"1.0.0","description":"小红书小程序平台插件","contributors":[{"name":"LuMeiLing"},{"name":"HongXin"}],"homepage":"https://github.com/NervJS/taro-plugin-platform-xhs","license":"MIT","main":"index.js","keywords":["taro"],"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/NervJS/taro-plugin-platform-xhs.git"},"scripts":{"build":"rollup -c","dev":"NODE_ENV=development rollup -c -w"},"bugs":{"url":"https://github.com/NervJS/taro-plugin-platform-xhs/issues"},"peerDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0"},"devDependencies":{"@rollup/plugin-json":"^4.1.0","@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0","@types/node":"^18.7.9","rollup":"^2.29.0","rollup-plugin-typescript2":"^0.27.3","typescript":"^4.0.3"},"gitHead":"68c9672931c7f59f571ef9711a5e29918f129444","_id":"@tarojs/plugin-platform-xhs@1.0.0","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"shasum":"e380a873a0457942c88cdca74f6500918f1b766c","size":6533,"noattachment":false,"key":"/@tarojs/plugin-platform-xhs/-/@tarojs/plugin-platform-xhs-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@tarojs/plugin-platform-xhs/download/@tarojs/plugin-platform-xhs-1.0.0.tgz"},"_npmUser":{"name":"advancedcat","email":"wshx1938@163.com"},"directories":{},"maintainers":[{"name":"advancedcat","email":""},{"name":"baosiqing","email":""},{"name":"defaultlee","email":""},{"name":"drchan","email":""},{"name":"kyjo","email":""},{"name":"xuanzebin","email":""},{"name":"yuche","email":""},{"name":"zakary","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-platform-xhs_1.0.0_1661246215608_0.09066928788710427"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-23T09:35:49.054Z","publish_time":1661246215773,"_cnpm_publish_time":1661246215773},"0.0.7":{"name":"@tarojs/plugin-platform-xhs","version":"0.0.7","description":"小红书小程序平台插件","contributors":[{"name":"LuMeiLing"},{"name":"HongXin"}],"homepage":"https://github.com/NervJS/taro-plugin-platform-xhs","license":"MIT","main":"index.js","keywords":["taro"],"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/NervJS/taro-plugin-platform-xhs.git"},"scripts":{"build":"rollup -c","dev":"NODE_ENV=development rollup -c -w"},"bugs":{"url":"https://github.com/NervJS/taro-plugin-platform-xhs/issues"},"peerDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0"},"devDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0","rollup":"^2.29.0","@rollup/plugin-json":"^4.1.0","rollup-plugin-typescript2":"^0.27.3","typescript":"^4.0.3"},"gitHead":"3a2399c7700abd8e112102dbd8e7de77a91cc614","_id":"@tarojs/plugin-platform-xhs@0.0.7","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"shasum":"1e69210f1881a0d8752cd41cb91b5b71f4ac62d9","size":6241,"noattachment":false,"key":"/@tarojs/plugin-platform-xhs/-/@tarojs/plugin-platform-xhs-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@tarojs/plugin-platform-xhs/download/@tarojs/plugin-platform-xhs-0.0.7.tgz"},"_npmUser":{"name":"advancedcat","email":"wshx1938@163.com"},"directories":{},"maintainers":[{"name":"advancedcat","email":""},{"name":"baosiqing","email":""},{"name":"defaultlee","email":""},{"name":"drchan","email":""},{"name":"kyjo","email":""},{"name":"xuanzebin","email":""},{"name":"yuche","email":""},{"name":"zakary","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-platform-xhs_0.0.7_1660651091952_0.5007406477622565"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-16T12:04:14.398Z","publish_time":1660651092126,"_cnpm_publish_time":1660651092126},"0.0.6":{"name":"@tarojs/plugin-platform-xhs","version":"0.0.6","description":"小红书小程序平台插件","contributors":[{"name":"LuMeiLing"},{"name":"HongXin"}],"homepage":"https://github.com/NervJS/taro-plugin-platform-xhs","license":"MIT","main":"index.js","keywords":["taro"],"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/NervJS/taro-plugin-platform-xhs.git"},"scripts":{"build":"rollup -c","dev":"rollup -c -w"},"bugs":{"url":"https://github.com/NervJS/taro-plugin-platform-xhs/issues"},"peerDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0"},"devDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0","rollup":"^2.29.0","@rollup/plugin-json":"^4.1.0","rollup-plugin-typescript2":"^0.27.3","typescript":"^4.0.3"},"gitHead":"da852b2a1de4a1a19815c64339a59040a989cf7f","_id":"@tarojs/plugin-platform-xhs@0.0.6","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"shasum":"4b091c44d4d0efc468082de990931fe1cb453a0a","size":6016,"noattachment":false,"key":"/@tarojs/plugin-platform-xhs/-/@tarojs/plugin-platform-xhs-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@tarojs/plugin-platform-xhs/download/@tarojs/plugin-platform-xhs-0.0.6.tgz"},"_npmUser":{"name":"advancedcat","email":"wshx1938@163.com"},"directories":{},"maintainers":[{"name":"advancedcat","email":""},{"name":"baosiqing","email":""},{"name":"defaultlee","email":""},{"name":"drchan","email":""},{"name":"kyjo","email":""},{"name":"xuanzebin","email":""},{"name":"yuche","email":""},{"name":"zakary","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-platform-xhs_0.0.6_1659607243258_0.513954886539181"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-04T10:23:44.154Z","publish_time":1659607243396,"_cnpm_publish_time":1659607243396},"0.0.5":{"name":"@tarojs/plugin-platform-xhs","version":"0.0.5","description":"小红书小程序平台插件","contributors":[{"name":"LuMeiLing"},{"name":"HongXin"}],"homepage":"https://github.com/NervJS/taro-plugin-platform-xhs","license":"MIT","main":"index.js","keywords":["taro"],"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/NervJS/taro-plugin-platform-xhs.git"},"scripts":{"build":"rollup -c","dev":"rollup -c -w"},"bugs":{"url":"https://github.com/NervJS/taro-plugin-platform-xhs/issues"},"peerDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0"},"devDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0","rollup":"^2.29.0","@rollup/plugin-json":"^4.1.0","rollup-plugin-typescript2":"^0.27.3","typescript":"^4.0.3"},"gitHead":"e0072916f7eb06b793a989946f4c845f0e06f0a2","_id":"@tarojs/plugin-platform-xhs@0.0.5","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"shasum":"240d0893c398711fb147ec5979940228456736fc","size":5478,"noattachment":false,"key":"/@tarojs/plugin-platform-xhs/-/@tarojs/plugin-platform-xhs-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@tarojs/plugin-platform-xhs/download/@tarojs/plugin-platform-xhs-0.0.5.tgz"},"_npmUser":{"name":"advancedcat","email":"wshx1938@163.com"},"directories":{},"maintainers":[{"name":"advancedcat","email":""},{"name":"baosiqing","email":""},{"name":"defaultlee","email":""},{"name":"drchan","email":""},{"name":"kyjo","email":""},{"name":"xuanzebin","email":""},{"name":"yuche","email":""},{"name":"zakary","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-platform-xhs_0.0.5_1658989133615_0.1079242239198166"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-28T06:37:46.610Z","publish_time":1658989133823,"_cnpm_publish_time":1658989133823},"0.0.4":{"name":"@tarojs/plugin-platform-xhs","version":"0.0.4","description":"小红书小程序平台插件","contributors":[{"name":"LuMeiLing"},{"name":"HongXin"}],"homepage":"https://github.com/NervJS/taro-plugin-platform-xhs","license":"MIT","main":"index.js","keywords":["taro"],"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/NervJS/taro-plugin-platform-xhs.git"},"scripts":{"build":"rollup -c","dev":"rollup -c -w"},"bugs":{"url":"https://github.com/NervJS/taro-plugin-platform-xhs/issues"},"peerDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0"},"devDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0","rollup":"^2.29.0","@rollup/plugin-json":"^4.1.0","rollup-plugin-typescript2":"^0.27.3","typescript":"^4.0.3"},"gitHead":"2acea8e9148d5779ebb52b68e354352fdcc66577","_id":"@tarojs/plugin-platform-xhs@0.0.4","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"shasum":"72cd9c1511ac62dcb2e1738a702c64bfe9d6ccb0","size":5289,"noattachment":false,"key":"/@tarojs/plugin-platform-xhs/-/@tarojs/plugin-platform-xhs-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@tarojs/plugin-platform-xhs/download/@tarojs/plugin-platform-xhs-0.0.4.tgz"},"_npmUser":{"name":"advancedcat","email":"wshx1938@163.com"},"directories":{},"maintainers":[{"name":"advancedcat","email":""},{"name":"baosiqing","email":""},{"name":"defaultlee","email":""},{"name":"drchan","email":""},{"name":"kyjo","email":""},{"name":"xuanzebin","email":""},{"name":"yuche","email":""},{"name":"zakary","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-platform-xhs_0.0.4_1656746388448_0.7143541896567882"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-02T21:38:56.540Z","publish_time":1656746388626,"_cnpm_publish_time":1656746388626},"0.0.3":{"name":"@tarojs/plugin-platform-xhs","version":"0.0.3","description":"小红书小程序平台插件","contributors":[{"name":"LuMeiLing"},{"name":"HongXin"}],"homepage":"https://github.com/NervJS/taro-plugin-platform-xhs","license":"MIT","main":"index.js","keywords":["taro"],"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/NervJS/taro-plugin-platform-xhs.git"},"scripts":{"build":"rollup -c","dev":"rollup -c -w"},"bugs":{"url":"https://github.com/NervJS/taro-plugin-platform-xhs/issues"},"peerDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0"},"devDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0","rollup":"^2.29.0","@rollup/plugin-json":"^4.1.0","rollup-plugin-typescript2":"^0.27.3","typescript":"^4.0.3"},"gitHead":"5d56dcd4212461dd6809dd2f966c1f7ff57b99e4","_id":"@tarojs/plugin-platform-xhs@0.0.3","_nodeVersion":"14.17.0","_npmVersion":"7.20.5","dist":{"shasum":"bc743a5962654dcb0d046bb824296765badcd21e","size":5169,"noattachment":false,"key":"/@tarojs/plugin-platform-xhs/-/@tarojs/plugin-platform-xhs-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@tarojs/plugin-platform-xhs/download/@tarojs/plugin-platform-xhs-0.0.3.tgz"},"_npmUser":{"name":"advancedcat","email":"wshx1938@163.com"},"directories":{},"maintainers":[{"name":"advancedcat","email":""},{"name":"baosiqing","email":""},{"name":"defaultlee","email":""},{"name":"drchan","email":""},{"name":"kyjo","email":""},{"name":"xuanzebin","email":""},{"name":"yuche","email":""},{"name":"zakary","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-platform-xhs_0.0.3_1650519932619_0.5193965868883657"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-21T05:47:22.571Z","publish_time":1650519932767,"_cnpm_publish_time":1650519932767},"0.0.2":{"name":"@tarojs/plugin-platform-xhs","version":"0.0.2","description":"小红书小程序平台插件","contributors":[{"name":"LuMeiLing"},{"name":"HongXin"}],"homepage":"https://github.com/NervJS/taro-plugin-platform-xhs","license":"MIT","main":"index.js","keywords":["taro"],"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/NervJS/taro-plugin-platform-xhs.git"},"scripts":{"build":"rollup -c","dev":"rollup -c -w"},"bugs":{"url":"https://github.com/NervJS/taro-plugin-platform-xhs/issues"},"peerDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0"},"devDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0","rollup":"^2.29.0","@rollup/plugin-json":"^4.1.0","rollup-plugin-typescript2":"^0.27.3","typescript":"^4.0.3"},"gitHead":"d22334765eab6b23e886ea19da4df6f4b88de291","_id":"@tarojs/plugin-platform-xhs@0.0.2","_nodeVersion":"14.17.0","_npmVersion":"7.20.5","dist":{"shasum":"0d75f23c2718ccab39b6baabb3e1c40a44d7db25","size":5092,"noattachment":false,"key":"/@tarojs/plugin-platform-xhs/-/@tarojs/plugin-platform-xhs-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@tarojs/plugin-platform-xhs/download/@tarojs/plugin-platform-xhs-0.0.2.tgz"},"_npmUser":{"name":"advancedcat","email":"wshx1938@163.com"},"directories":{},"maintainers":[{"name":"advancedcat","email":""},{"name":"baosiqing","email":""},{"name":"defaultlee","email":""},{"name":"drchan","email":""},{"name":"kyjo","email":""},{"name":"xuanzebin","email":""},{"name":"yuche","email":""},{"name":"zakary","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-platform-xhs_0.0.2_1650362747301_0.815693354525328"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-19T10:11:05.700Z","publish_time":1650362747434,"_cnpm_publish_time":1650362747434},"0.0.1":{"name":"@tarojs/plugin-platform-xhs","version":"0.0.1","description":"小红书小程序平台插件","contributors":[{"name":"LuMeiLing"},{"name":"HongXin"}],"homepage":"https://github.com/NervJS/taro-plugin-platform-xhs","license":"MIT","main":"index.js","keywords":["taro"],"types":"types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/NervJS/taro-plugin-platform-xhs.git"},"scripts":{"build":"rollup -c","dev":"rollup -c -w"},"bugs":{"url":"https://github.com/NervJS/taro-plugin-platform-xhs/issues"},"peerDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0"},"devDependencies":{"@tarojs/components":"^3.3.0","@tarojs/service":"^3.3.0","@tarojs/shared":"^3.3.0","rollup":"^2.29.0","@rollup/plugin-json":"^4.1.0","rollup-plugin-typescript2":"^0.27.3","typescript":"^4.0.3"},"gitHead":"621a4100320a2167d92c137a03325e749b466122","_id":"@tarojs/plugin-platform-xhs@0.0.1","_nodeVersion":"14.17.0","_npmVersion":"7.20.5","dist":{"shasum":"1f461f304f59e09d58ac175ef77c928ea042ab4c","size":7791,"noattachment":false,"key":"/@tarojs/plugin-platform-xhs/-/@tarojs/plugin-platform-xhs-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@tarojs/plugin-platform-xhs/download/@tarojs/plugin-platform-xhs-0.0.1.tgz"},"_npmUser":{"name":"advancedcat","email":"wshx1938@163.com"},"directories":{},"maintainers":[{"name":"advancedcat","email":""},{"name":"baosiqing","email":""},{"name":"defaultlee","email":""},{"name":"drchan","email":""},{"name":"kyjo","email":""},{"name":"xuanzebin","email":""},{"name":"yuche","email":""},{"name":"zakary","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-platform-xhs_0.0.1_1650350720935_0.2201436885884387"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-19T06:46:20.155Z","publish_time":1650350721098,"_cnpm_publish_time":1650350721098}},"readme":"# `@tarojs/plugin-platform-xhs`\n\nTaro 插件。用于支持编译为小红书小程序。\n\n## 使用\n\n#### 1. 配置插件\n\n```js\n// Taro 项目配置\nmodule.exports = {\n  // ...\n  plugins: [\n    '@tarojs/plugin-platform-xhs'\n  ]\n}\n```\n\n#### 2. 编译为小红书小程序\n\n```shell\ntaro build --type xhs\ntaro build --type xhs --watch\n```\n\n#### 其它\n\n##### 平台判断\n\n```js\nif (process.env.TARO_ENV === 'xhs') {\n  // ...\n}\n```\n\n## License\n\nMIT License\n\nCopyright (c) O2Team\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_attachments":{},"homepage":"https://github.com/NervJS/taro-plugin-platform-xhs","bugs":{"url":"https://github.com/NervJS/taro-plugin-platform-xhs/issues"},"license":"MIT"}