[react-packager][cleanup options 1/2] add npm installed joi validation library

This commit is contained in:
Amjad Masad 2015-02-19 13:11:11 -08:00
parent 5fd9cd26b1
commit 00553c6d06
2 changed files with 11 additions and 4 deletions

View File

@ -12,7 +12,9 @@
"/node_modules/",
"/packager/"
],
"testFileExtensions": ["js"]
"testFileExtensions": [
"js"
]
},
"scripts": {
"test": "jest",
@ -45,7 +47,8 @@
"underscore": "1.7.0",
"wordwrap": "0.0.2",
"worker-farm": "1.1.0",
"yargs": "1.3.2"
"yargs": "1.3.2",
"joi": "~5.1.0"
},
"devDependencies": {
"jest-cli": "0.2.1",

View File

@ -4,7 +4,11 @@
"description": "",
"main": "index.js",
"jest": {
"unmockedModulePathPatterns": ["source-map"],
"testPathIgnorePatterns": ["JSAppServer/node_modules"]
"unmockedModulePathPatterns": [
"source-map"
],
"testPathIgnorePatterns": [
"JSAppServer/node_modules"
]
}
}