Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["react-native"]
"presets": ["module:metro-react-native-babel-preset"]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules
.DS_Store
.idea/
package-lock.json
/*.js
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,18 @@
"main": "Collapsible.js",
"types": "index.d.ts",
"scripts": {
"lint": "eslint --ext js,ts ."
"lint": "eslint --ext js,ts src",
"build": "babel src --out-dir .",
"prepare": "yarn build"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@react-native-community/eslint-config": "^0.0.5",
"eslint": "^5.2.0",
"husky": "^1.1.0",
"lint-staged": "^7.3.0",
"metro-react-native-babel-preset": "^0.64.0",
"react": "16.4.1",
"react-native": "0.56.0",
"typescript": "^3.5.3"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions src/config.web.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import PropTypes from 'prop-types';
export const ViewPropTypes = {
style: PropTypes.oneOfType([
PropTypes.object,
PropTypes.array,
PropTypes.number,
]),
};
1,018 changes: 1,015 additions & 3 deletions yarn.lock

Large diffs are not rendered by default.