05 - Using a `package.json` | npm Documentation
December 28, 2015 at 05:12PM http://ift.tt/22vM5ly
seen from Russia

seen from United States
seen from United Kingdom

seen from United States
seen from China
seen from United States

seen from Norway

seen from Türkiye
seen from Mexico
seen from United States

seen from Türkiye

seen from Canada
seen from Türkiye

seen from Netherlands
seen from United States

seen from United States
seen from Kazakhstan
seen from China
seen from United States
seen from Finland
05 - Using a `package.json` | npm Documentation
December 28, 2015 at 05:12PM http://ift.tt/22vM5ly

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
There’s a nice npm module to find newer versions of dependencies than what your package.json has
See https://www.npmjs.com/package/npm-check-updates
Even works with bower.json
Bulk Update NPM Dependencies
Have a `package.json` with a lot of dependencies you’d prefer to update all at once? Check out [npm-check-updates](https://www.npmjs.com/package/npm-check-updates)
```
➜ npm-check-updates -u
```
Validating Package.json
node에서 package.json사용시에 version의 의미..
착각: 작성중인 어플리케이션의 버전을 임의로 적는것..
사실: 사용(호출)하는 npm의 버전
이렇게 추정이 된다.
npm update가 제대로 작동되지 않으면서 발견한 내용

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
package.json cheatsheet
{
"name": "http-server",
"preferGlobal": "true",
"version": "0.3.0",
"author": "Nodejitsu <[email protected]>",
"description": "a simple zero-configuration command-line http server",
"contributors": [
{
"name": "Marak Squires",
"email": "[email protected]"
}
],
"bin": {
"http-server": "./bin/http-server"
},
"scripts": {
"start": "node ./bin/http-server",
"test": "vows --spec --isolate",
"predeploy": "echo This will be run before deploying the app",
"postdeploy": "echo This will be run after deploying the app"
},
"main": "./lib/http-server",
"repository": {
"type": "git",
"url": "https://github.com/nodejitsu/http-server.git"
},
"keywords": [
"cli",
"http",
"server"
],
"dependencies" : {
"colors" : "*",
"flatiron" : "0.1.x",
"optimist" : "0.2.x",
"union" : "0.1.x",
"ecstatic" : "0.1.x",
"plates" : "https://github.com/flatiron/plates/tarball/master"
},
"analyze": false,
"devDependencies": {
"vows" : "0.5.x",
"request" : "2.1.x"
},
"bundleDependencies": [
"union",
"ecstatic"
],
"license": "MIT",
"engines": {
"node": ">=0.6"
}
}