Upgrades the node environment to NodeJS 7.6.0. Functions can now use async/await and promises; they can return a promise instead of using a callback. The change preserves compatibility with the callback style. * Upgrade node environment to Node.js 7.6.0+ * Bump package version * Preserve compatibility for callbacks * Cleanup * Re-add hello callback example * Make sure not returning won't blow everything up * Update stock example with request promise
27 lines
544 B
JSON
27 lines
544 B
JSON
{
|
|
"name": "fission-nodejs-runtime",
|
|
"version": "0.1.0",
|
|
"author": "Soam Vasani",
|
|
"contributors": [
|
|
{
|
|
"name": "Soam Vasani",
|
|
"email": "soamvasani@platform9.com"
|
|
}
|
|
],
|
|
"description": "NodeJS run container for the fission framework",
|
|
"engines": {
|
|
"node": ">=7.6.0"
|
|
},
|
|
"dependencies": {
|
|
"body-parser": "",
|
|
"co": "~4.6.0",
|
|
"express": "",
|
|
"minimist": "",
|
|
"morgan": "",
|
|
"mz": "~2.1.0",
|
|
"request": "^2.81.0",
|
|
"request-promise-native": "^1.0.3",
|
|
"underscore": ">=1.8.3"
|
|
}
|
|
}
|