This repository has been archived by the owner on Aug 9, 2023. It is now read-only.
forked from hackmdio/codimd
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make package.json work with Cloud Foundry
This does three things: 1. Pins newer Node and NPM versions 2. Runs `npm run build` instead of the Heroku build script. 3. Moves devDependencies into dependencies. These are required for the build script, so it makes no sense for them to be in the devDependencies section, because production apps NEED TO BE BUILT. These sections were being treated as build-time and run-time dependencies. I am not sure if this was a misuse of NPM or whether NPM inherently conflates the relationship of dev and prod with that of build-time and run-time dependencies. You decide.
- Loading branch information
Showing
1 changed file
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters