@aacassandra/font-icons 中文文档教程
How to publish a npm package
这是一个关于如何使用最少配置发布自己的 npm 包的快速教程。 这将涵盖基本设置、npm 的工作原理以及如何发布高质量代码。
完整的教程可以在我的 Medium 博客。
您将需要以下软件包:
- @babel/core
- babel-loader
- webpack
- webpack-cli
您可以通过运行安装所有依赖项:
npm i -D @babel/core babel-loader webpack webpack-cli
How to publish a npm package
This is a quick tutorial on how you can publish your own npm package with minimal configuration. This will cover the basic setup, how npm works and how to ship good quality code.
The full tutorial can be found at my Medium blog.
You'll need the following packages:
- @babel/core
- babel-loader
- webpack
- webpack-cli
You can install all the dependencies by running:
npm i -D @babel/core babel-loader webpack webpack-cli