Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.

Moved bs-platform to devDependencies, added npm link to README steps #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Early, experimental version of BuckleScript / ReasonReact / bs-react-native supp
yarn global add create-react-native-app
create-react-native-app HelloWorldRe --scripts-version reason-react-native-scripts
cd HelloWorldRe
npm link bs-platform # yarn link has an issue as of Nov '17: https://github.com/yarnpkg/yarn/issues/4655
yarn start
```

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ const DEFAULT_DEPENDENCIES = {
expo: '^24.0.0',
react: '16.0.0',
'react-native': '0.51.0',
'bs-platform': '^2.1.0',
'bs-react-native': '~0.5.0',
'reason-react': '~0.3.0',
};

// TODO figure out how this interacts with ejection
const DEFAULT_DEV_DEPENDENCIES = {
'bs-platform': '^2.1.0',
};

module.exports = async (
Expand Down