mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-06 09:17:55 +08:00
Summary: @public
This diff does a couple of things:
- Move all the code in a src/ folder
- Move bezier.js in the Animated folder
- Rename Animated.js into AnimatedImplementation.js and adds two entry points: AnimatedReactNative.js and AnimatedWeb.js
- Implement very dumb polyfills for flattenStyle, Set and InteractionManager
- Import my work in progress demo.html file to make sure that the code is actually working.
Everything is not working correctly:
- It calls forceUpdate on every frame and doesn't use bindings because setNativeProps is not implemented
- None of the style: {transform} are working because React web doesn't know about the array notation for transform
- The demo need more work
Reviewed By: @sahrens
Differential Revision: D2464277
35 lines
771 B
JSON
35 lines
771 B
JSON
{
|
|
"name": "react-animated",
|
|
"description": "Animated provides powerful mechanisms for animating your React views",
|
|
"version": "0.1.0",
|
|
"keywords": [
|
|
"react",
|
|
"animated",
|
|
"animation"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"main": "Animated.js",
|
|
"dependencies": {
|
|
"fbjs": "^0.2.1"
|
|
},
|
|
"scripts": {
|
|
"build": "gulp"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^5.8.25",
|
|
"babel-loader": "^5.3.2",
|
|
"del": "^1.2.0",
|
|
"fbjs-scripts": "^0.2.0",
|
|
"gulp": "^3.9.0",
|
|
"gulp-babel": "^5.1.0",
|
|
"gulp-derequire": "^2.1.0",
|
|
"gulp-flatten": "^0.1.0",
|
|
"gulp-header": "^1.2.2",
|
|
"gulp-util": "^3.0.6",
|
|
"object-assign": "^3.0.0",
|
|
"run-sequence": "^1.1.2",
|
|
"webpack": "1.11.0",
|
|
"webpack-stream": "^2.1.0"
|
|
}
|
|
}
|