Can npm i -g install package.json globally?

  node.js, question
bracket
 "name": "gulpe",
 "version": "1.0.0",
 "author": "ning",
 "description": "One-click installation of gulp packaging environment",
 "dependencies": {},
 "devDependencies": {
 "browser-sync": "^2.11.0",
 "clean-css": "^3.4.9",
 "csso": "^1.4.4",
 "del": "^2.2.0",
 "gulp": "^3.9.0",
 "gulp-autoprefixer": "^3.1.0",
 "gulp-cleancss": "^0.2.2",
 "gulp-css-spriter": "^0.3.3",
 "gulp-cssnano": "^2.0.0",
 "gulp-htmlmin": "^1.3.0",
 "gulp-if": "^2.0.0",
 "gulp-imagemin": "^2.4.0",
 "gulp-minify-css": "^1.2.3",
 "gulp-rev": "^6.0.1",
 "gulp-rev-collector": "^1.0.2",
 "gulp-sequence": "^0.4.4",
 "gulp-uglify": "^1.5.1",
 "gulp-uncss": "^1.0.4",
 "gulp-useref": "^3.0.4"
 },
 "license": "MIT",
 "homepage": "https://ningning.pw"
 bracket

Json has always been installed in the project directory (npm i -save-dev), and as package.json gets bigger and bigger. I want to install to the global, but npm i -g will not install the dependent components to the global when installing, but will move my project folder under npm\node_modules.

Window environment

http://www.kafan.cn/edu/80246226.html
It may be helpful to look at this link.

As if someone had asked before, I don’t know much about this question either.
Let’s find a link for you.

http://segmentfault.com/q/1010000000396247