1.0.1 • Published 2 years ago

npm-template-node v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm-template-node

npm-template-node nodejs blog

这不是一个可用的 npm 包,这是一个与 npm 包开发相关的 git 仓库,只是在 npmjs 上进行展示。

这是一个可用于发布 npm 包的 node 开发工作空间模板。

This is not an available npm package, this is a git repository related to npm package development and is just demonstrated on npmjs.

This is a node development workspace template that can be used to publish npm packages.

Introduction

If you need to quickly build a node development workspace that can be published to npm, you can use the workspace template provided by npm-template-node.

Usage

$ cd [your empty project folder path]
$ git clone git@github.com:SuperYesifang/npm-template-node.git .
$ rm -rf .git

And then

You just need to replace all the npm-template-node in the project with your component name to start your component development.

or

If your linux or macos, you can also use the sedorperl command to complete the replacement.

default Dependences

{
    "devDependencies": {
        "@babel/core": "^7.17.9",
        "@babel/preset-env": "^7.16.11",
        "babel-loader": "^8.2.5",
        "html-webpack-plugin": "^5.5.0",
        "webpack": "^5.72.0",
        "webpack-cli": "^4.9.2",
        "webpack-dev-server": "^4.8.1"
    }
}