Updates from Thu Mar 12

- Fixed sticky section headers in ListView | Nick Lockwood
- [ReactNative] AppState cleanup, remove Subscribable, add in OSS examples | Eric Vicenti
- [react-packager] package.json cleanup (seperate packager into it's own package) | Amjad Masad
- [ReactNative] Move PushNotificationIOS to oss | Tadeu Zagallo
- [ReactNative] Fix shake gesture after RedBox is dismissed | Alex Kotliarskyi
- [catlyst|madman] fix prop type warning | Jiajie Zhu
- [ReactNative] Remove Subscribable from TextInput | Eric Vicenti
- Unforked ExceptionsManager, AlertManager and AppState | Nick Lockwood
- [ReactNative|MAdMan] Notification Subscribable | Eric Vicenti
- [ReactNative] OSS AsyncStorage with example | Spencer Ahrens
This commit is contained in:
Christopher Chedeau 2015-03-12 12:51:44 -07:00
parent 3cf0f2aa6f
commit 63eca091b9
2 changed files with 49 additions and 6 deletions

View File

@ -6,13 +6,11 @@
// Don't forget to everything listed here to `testConfig.json` // Don't forget to everything listed here to `testConfig.json`
// modulePathIgnorePatterns. // modulePathIgnorePatterns.
var sharedBlacklist = [ var sharedBlacklist = [
'node_modules/JSAppServer', __dirname,
'packager/react-packager',
'node_modules/parse/node_modules/xmlhttprequest/lib/XMLHttpRequest.js', 'node_modules/parse/node_modules/xmlhttprequest/lib/XMLHttpRequest.js',
'node_modules/react-tools/src/utils/ImmutableObject.js', 'node_modules/react-tools/src/utils/ImmutableObject.js',
'node_modules/react-tools/src/core/ReactInstanceHandles.js', 'node_modules/react-tools/src/core/ReactInstanceHandles.js',
'node_modules/react-tools/src/event/EventPropagators.js', 'node_modules/react-tools/src/event/EventPropagators.js'
'node_modules/jest-cli',
]; ];
var webBlacklist = [ var webBlacklist = [
@ -31,9 +29,9 @@ function escapeRegExp(str) {
return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&'); return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
} }
function blacklist(isWeb) { function blacklist(isWeb, additionalBlacklist) {
return new RegExp('(' + return new RegExp('(' +
sharedBlacklist (additionalBlacklist || []).concat(sharedBlacklist)
.concat(isWeb ? webBlacklist : iosBlacklist) .concat(isWeb ? webBlacklist : iosBlacklist)
.map(escapeRegExp) .map(escapeRegExp)
.join('|') + .join('|') +

45
package.json Normal file
View File

@ -0,0 +1,45 @@
{
"name": "react-native",
"version": "0.1.0",
"description": "Build native apps with React!",
"repository": {
"type": "git",
"url": "git@github.com:facebook/react-native.git"
},
"jest": {
"setupEnvScriptFile": "jestSupport/env.js",
"testPathIgnorePatterns": [
"/node_modules/"
],
"testFileExtensions": [
"js"
],
"unmockedModulePathPatterns": [
"source-map"
]
},
"scripts": {
"test": "jest",
"lint": "node linter.js Examples/",
"start": "./packager/packager.sh"
},
"dependencies": {
"absolute-path": "0.0.0",
"debug": "~2.1.0",
"joi": "~5.1.0",
"module-deps": "3.5.6",
"optimist": "0.6.1",
"q": "1.0.1",
"sane": "1.0.1",
"source-map": "0.1.31",
"stacktrace-parser": "0.1.1",
"uglify-js": "~2.4.16",
"underscore": "1.7.0",
"worker-farm": "1.1.0",
"yargs": "1.3.2"
},
"devDependencies": {
"jest-cli": "0.2.1",
"eslint": "0.9.2"
}
}