Skip to content

Commit eea2729

Browse files
committed
add to README setup
1 parent a9affeb commit eea2729

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

lib/build/readme.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ function generateReadme(data, packageJson) {
3939
'',
4040
'## Setup',
4141
'',
42+
'* create a new directory',
43+
'',
44+
' `mkdir ' + packageJson.name + '`',
45+
'',
46+
'* create a "package.json" file',
47+
'',
48+
' `npm init --y`',
49+
'',
4250
'* install the tutorial package',
4351
'',
4452
' `npm install --save ' + packageJson.name + '`',

src/build/readme.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ function generateReadme(data: CR.Output, packageJson: PackageJson): string {
4545
'',
4646
'## Setup',
4747
'',
48+
'* create a new directory',
49+
'',
50+
' `mkdir ' + packageJson.name + '`',
51+
'',
52+
'* create a "package.json" file',
53+
'',
54+
' `npm init --y`',
55+
'',
4856
'* install the tutorial package',
4957
'',
5058
' `npm install --save ' + packageJson.name + '`',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy