You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An [npm initializer][npm/init] to scaffold a node project and include basic tools like lint, testing, etc.
8
8
@@ -13,7 +13,7 @@ An [npm initializer][npm/init] to scaffold a node project and include basic tool
13
13
## Requirements
14
14
15
15
-`npm >= 6.5`
16
-
-`node >= 10.1.0`
16
+
-`node >= 10.12.0`
17
17
18
18
## Usage
19
19
@@ -22,7 +22,11 @@ An [npm initializer][npm/init] to scaffold a node project and include basic tool
22
22
npm install -g create-nodejs-project
23
23
```
24
24
25
-
2. You will be prompted for your Github information
25
+
2. Run the setup configuration
26
+
```
27
+
npm setup
28
+
```
29
+
You will be prompted for your Github information
26
30
If you do not have the information at the moment, you can keep it empty.
27
31
In order to create projects with Github integration, you will need to add the authentication information later. See [Github Auth](#configure-Github-authentication)
Every time that I start a new project in Node.js, I hate to go to other project folder, copy files like eslintrc, editorconfig; install the same dependencies, create folder structure, etc.
51
54
52
-
I'm not expert with NodeJS, but every time that I start a new project, I hate to go to other project, copy files like eslintrc, editorconfig, install the same dependencies, create folder structure, etc.
55
+
With this in mind, the motivation to build this package started as a **DRY** (Do not repeat yourself) thing.
53
56
54
-
So, the idea is to have an automated way to initialize new NodeJS projects and with this have a new folder with everything ready to work in what really matters.
57
+
This package is intended to automated the initialization of new Node.js projects and with this have a new folder with everything ready to work, basically an scaffolding tool.
55
58
56
59
57
60
## Future features
58
61
59
62
1. Unit testing
60
-
7. Options to create the project with params instead of questionnaire
63
+
7. Options to create the project with parameters instead of questionnaire
61
64
10. A good error handler
62
65
11. Color for the console messages
63
66
12. Improve the template structure (the one that is generated in the new project) to include unit test
64
67
18. Option to questionnaire with all the default values
65
-
2. Logic to handle multiple auth files and multiple github accounts
68
+
2. Logic to handle multiple authentication files and multiple Github accounts
66
69
67
70
## Configure Github Authentication
68
71
@@ -84,20 +87,16 @@ If you are planning to allow this script to create your Github repositories, is
0 commit comments