Difference between revisions of "Heroku Node.js support"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
https://devcenter.heroku.com/articles/nodejs-support | https://devcenter.heroku.com/articles/nodejs-support | ||
+ | |||
+ | <code>[[package.json]]</code> | ||
+ | |||
+ | "scripts": { | ||
+ | "start": "[[node index.js]]", | ||
+ | "[[build]]": "[[ng build]]", | ||
+ | "heroku-postbuild": "ng build --prod" // this will be run on Heroku | ||
+ | } | ||
== Related == | == Related == | ||
− | * <code>[[ | + | * [[Heroku Review Apps]] |
+ | * <code>[[procfile]], [[app.json]]</code> | ||
== See also == | == See also == |
Latest revision as of 03:21, 1 March 2022
https://devcenter.heroku.com/articles/nodejs-support
"scripts": { "start": "node index.js", "build": "ng build", "heroku-postbuild": "ng build --prod" // this will be run on Heroku }
Related[edit]
See also[edit]
- Node.js, JavaScript runtime, Deno, nock, next.js, express.js, electron, Nest.js, nvm,
package.json
, Webpack,node -r
,npm, nvm, node-gyp
, Node.js modules, Fastify, PM2, UnhandledPromiseRejectionWarning, node-inspector, Puppeteer, Node-config, Node-RED - Heroku, Heroku Review Apps,
procfile
,app.json
, Heroku Flow,heroku login
,heroku --help
Herokudns.com, Heroku Dynos
Advertising: