andre@DESKTOP-E9PVRAO D:\Projects\JS\Timur\project1
$ git clone
https://github.com/lsnull/project1Cloning into 'project1'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
andre@DESKTOP-E9PVRAO D:\Projects\JS\Timur\project1
$ 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>
afterwards to install a package and
save it as a dependency in the package.json file.
Press ^C at any time to quit.
package name: (project1)
version: (1.0.0)
description: blablabla
entry point: (index.js) main.js
test command: eslint .
git repository:
https://github.com/lsnull/project1keywords:
author: AndrewUa
license: (ISC) MIT
About to write to D:\Projects\JS\Timur\project1\package.json:
{
"name": "project1",
"version": "1.0.0",
"description": "blablabla",
"main": "main.js",
"scripts": {
"test": "eslint ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/lsnull/project1.git"
},
"author": "AndrewUa",
"license": "MIT",
"bugs": {
"url": "
https://github.com/lsnull/project1/issues"
},
"homepage": "
https://github.com/lsnull/project1#readme"
}
Is this OK? (yes) yes
andre@DESKTOP-E9PVRAO D:\Projects\JS\Timur\project1
$ git status
fatal: not a git repository (or any of the parent directories): .git