Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can specify which version of Node.js to run your application on. Use the engines field in in the package.json to file to specify engine versions. To specify the Node.js version, set the node key in the engines dictionary to a the specific version of Node.js to use. For example, to specify to use version 0.10.22:

...

API Runtime Services uses the main field in in the package.json to file to determine the application's main entry point. Set this field to a JavaScript file. API Runtime Services loads and runs this file first.

...

If your application's package.json file does not specify a main field, Appcelerator Cloud will now look at the scripts.start field in in the package.json to file to determine the main module to launch. Appcelerator Cloud will execute the start script using npm start.

...