Use an array for blacklist

This commit is contained in:
Michael Jackson 2016-08-25 14:48:05 -06:00
parent e8b0857f11
commit 97ce6bf647
4 changed files with 6 additions and 5 deletions

View File

@ -1,3 +0,0 @@
{
"goodjsproject": true
}

View File

@ -0,0 +1,3 @@
export default [
'goodjsproject'
]

View File

@ -14,4 +14,5 @@ export const bowerBundle = process.env.BOWER_BUNDLE || '/bower.zip'
export const redirectTTL = process.env.REDIRECT_TTL || 500
export const autoIndex = !process.env.DISABLE_INDEX
export const redisURL = process.env.REDIS_URL
export const blacklist = require('../../PackageBlacklist')
export blacklist from '../PackageBlacklist'

View File

@ -36,7 +36,7 @@
"json-loader": "^0.5.4",
"markdown-loader": "^0.1.7",
"morgan": "^1.7.0",
"npm-http-server": "^3.6.0",
"npm-http-server": "^3.6.1",
"on-finished": "^2.3.0",
"postcss-loader": "^0.9.1",
"react": "^15.1.0",