Introduces a monorepo structure, relies on yarn workspaces to share
dependencies, and lerna for syncing versions across the monorepo.

* Create 2 workspaces:
    'packages' and 'website'
* Create 2 public packages:
    'babel-plugin-react-native-web' and 'react-native-web'
* Create 1 private package:
    'benchmarks'

A simple release script runs the tests, builds the package assets,
increments the package version numbers, git commits and tags, publishes
the package to npm, pushes the changes to github, and releases the
website update.

Close #657
This commit is contained in:
Nicolas Gallagher
2017-12-21 17:28:36 +00:00
parent 14d87f4b30
commit 3026465ae3
466 changed files with 4102 additions and 2912 deletions

View File

@@ -0,0 +1,26 @@
'use strict';
const generator = require('inline-style-prefixer/generator');
const path = require('path');
const browserList = {
chrome: 38,
android: 4,
firefox: 40,
ios_saf: 7,
safari: 7,
ie: 10,
ie_mob: 11,
edge: 12,
opera: 16,
op_mini: 12,
and_uc: 9,
and_chr: 38
};
generator(browserList, {
staticPath: path.join(
__dirname,
'../packages/react-native-web/src/modules/prefixStyles/static.js'
)
});