Skip to content

Instantly share code, notes, and snippets.

@nazomikan
Forked from uupaa/npm.start.md
Created December 12, 2013 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nazomikan/7928701 to your computer and use it in GitHub Desktop.
Save nazomikan/7928701 to your computer and use it in GitHub Desktop.

npm start コマンドを実行すると、 package.json の script.start コマンドが実行される

"scripts": {
  "start": "NODE_ENV=production NODE_PATH=lib node --harmony_typeof --harmony"
}

http://d.hatena.ne.jp/Jxck/20120410/1334071898 Node.js の起動オプション、環境変数、npm start の話

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment