1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
| localhost:Front-end czh$ npm init This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sensible defaults.
See `npm help json` for definitive documentation on these fields and exactly what they do.
Use `npm install <pkg> --save` afterwards to install a package and save it as a dependency in the package.json file.
Press ^C at any time to quit. name: (Front-end) Sorry, name can no longer contain capital letters. name: (Front-end) front-end version: (1.0.0) description: programing前端代码 entry point: (index.js) test command: git repository: (https://github.com/czh55/Front-end.git) keywords: author: czh license: (ISC) About to write to /Users/czh/front-end/Front-end/package.json:
{ "name": "front-end", "version": "1.0.0", "description": "programing前端代码", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/czh55/Front-end.git" }, "author": "czh", "license": "ISC", "bugs": { "url": "https://github.com/czh55/Front-end/issues" }, "homepage": "https://github.com/czh55/Front-end#readme" }
Is this ok? (yes)
|