Do not use Babel's register hook in production
This commit is contained in:
13
package.json
13
package.json
@ -1,7 +1,13 @@
|
||||
{
|
||||
"description": "The website for npmcdn.com",
|
||||
"author": "Michael Jackson",
|
||||
"scripts": {
|
||||
"start": "heroku local -f Procfile.local",
|
||||
"build": "rimraf lib && babel ./modules -d lib",
|
||||
"heroku-postbuild": "npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-cli": "^6.8.0",
|
||||
"babel-preset-es2015": "^6.6.0",
|
||||
"babel-preset-react": "^6.5.0",
|
||||
"babel-register": "^6.7.2",
|
||||
@ -13,11 +19,8 @@
|
||||
"on-finished": "^2.3.0",
|
||||
"react": "^15.0.2",
|
||||
"react-dom": "^15.0.2",
|
||||
"redis": "^2.6.0-1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mjackson/npmcdn.com.git"
|
||||
"redis": "^2.6.0-1",
|
||||
"rimraf": "^2.5.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "5.8.x"
|
||||
|
Reference in New Issue
Block a user