Use separate modules, get config from env
This commit is contained in:
13
package.json
13
package.json
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user