Skip to content
Permalink
Browse files

Separating JS dev and prod dependencies (#3241)

* first try at separating dev dependencies from prod dependencies

* replace node_env var by npm_config_prod, which is used by Heroku

* npm-run-all required for building

* add package-lock.json
  • Loading branch information...
patjouk committed May 28, 2019
1 parent a73041b commit c4b29be82cdec3138e3c37749d0e20de17732043
Showing with 510 additions and 194 deletions.
  1. +2 −1 app.json
  2. +491 −176 package-lock.json
  3. +17 −17 package.json
@@ -65,7 +65,8 @@
"CSP_CONNECT_SRC": "*",
"CSP_MEDIA_SRC": "'self'",
"CSP_CHILD_SRC": "'self'",
"CSP_FORM_ACTION": "'self' https://www.mozilla.org/en-US/newsletter/"
"CSP_FORM_ACTION": "'self' https://www.mozilla.org/en-US/newsletter/",
"NPM_CONFIG_PRODUCTION": "true"
},
"buildpacks": [
{

0 comments on commit c4b29be

Please sign in to comment.
You can’t perform that action at this time.