npm-publish-helper-oh

1.4.0-beta3 • Public • Published

npm-publish-helper

追求友好的 npm publish,让你发布的包支持低版本 node 的运行环境

Usage 🐾

firstly, install global by npm:

npm install npm-publish-helper-oh -g

then, go to the package root directory, (same as npm publish)

nph publish

Based on babel

{
    "presets": [
        "@babel/preset-env"
    ],
    "plugins": [
        ["@babel/plugin-proposal-decorators", { "legacy": true }],
        ["@babel/plugin-proposal-class-properties", { "loose": true }],
        "@babel/plugin-transform-runtime"
    ]
}

Issues

有任何意见或建议都欢迎提 issue

License

MIT

Package Sidebar

Install

npm i npm-publish-helper-oh

Weekly Downloads

2

Version

1.4.0-beta3

License

MIT

Unpacked Size

9.45 kB

Total Files

6

Last publish

Collaborators

  • hxtao