Use separate modules, get config from env

This commit is contained in:
Michael Jackson
2016-04-30 16:52:43 -07:00
parent d74f619b5e
commit a14c6cd90b
4 changed files with 67 additions and 54 deletions

View File

@ -1,14 +1,8 @@
{
"description": "The website for npmcdn.com",
"author": "Michael Jackson",
"config": {
"registryURL": "https://registry.npmjs.org",
"bowerBundle": "/bower.zip",
"redirectTTL": 500,
"autoIndex": true,
"port": 5000
},
"dependencies": {
"babel-register": "^6.7.2",
"cors": "^2.7.1",
"express": "^4.13.4",
"npm-http-server": "^2.9.1",
@ -21,5 +15,10 @@
},
"engines": {
"node": "5.8.x"
},
"babel": {
"presets": [
"es2015"
]
}
}