English | 简体中文
This is a startup development configuration template used to build the JavaScript/Node.js library.
The following templates are provided here:
-
There are two ways to use this template:
-
Open GitHub Repository Website, then Click Use this template Button.
-
Another way, clone to local
git clone https://github.com/wang1212/create-lib-starter.git
-
-
Then, select any template type you want to use, copy the contents of its folder(./templates/*) to the project root directory, and delete the templates/ folder.
-
Modify
package.json
information, such asname
,description
, etc. -
Set the remote address of the github repository to your own:
git remote set-url origin 'your own address'
Adopt community commit format best practices:
# Before
git commit
# Now
npm run commit
This constraint relies on tools commitizen and commitlint provided by the community.
If you want to develop a web application, maybe you can take a look:
Or, other similar things:
MIT.