L013: Ready for takeoff! Deployment & publishing
web: node server.js./Procfile
FROM node:8-alpine
COPY server.js .
COPY package.json .
COPY yarn.lock .
RUN yarn
CMD ["node", "server.js"]
(Disables pushing to Heroku remote)
or:
Become part of the problem! It's easy and free!
{
"name": "two-string",
"version": "1.0.2",
"description": "An incredibly useful twoString utility.",
"keywords": [
"two",
"string",
"twoString"
],
"homepage": "https://github.com/theneva/two-string",
"bugs": "https://github.com/theneva/two-string/issues",
"license": "CC0-1.0",
"author": "Martin Lehmann <martin@lehmann.tech> (https://github.com/theneva)",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/theneva/two-string"
},
"dependencies": {},
}./package.json
{
"name": "two-string",
"version": "1.0.2",
"description": "An incredibly useful twoString utility.",
"main": "src/index.js",
}./package.json