add new chinese translations
This commit is contained in:
16
pages.zh/common/npm-init.md
Normal file
16
pages.zh/common/npm-init.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# npm init
|
||||
|
||||
> 创建一个 `package.json` 文件。
|
||||
> 更多信息:<https://docs.npmjs.com/cli/commands/npm-init>。
|
||||
|
||||
- 使用提示初始化一个新包:
|
||||
|
||||
`npm init`
|
||||
|
||||
- 使用默认值初始化一个新包:
|
||||
|
||||
`npm init -y`
|
||||
|
||||
- 使用特定的初始化工具初始化一个新包:
|
||||
|
||||
`npm init {{create-react-app}} {{my-app}}`
|
Reference in New Issue
Block a user