mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-27 08:13:46 +00:00
Fix workflows and monorepo deps
* Remove 'react' packages from monorepo dependencies. * Ensure 'react-native-web' package is built first.
This commit is contained in:
@@ -5,11 +5,13 @@
|
||||
"scripts": {
|
||||
"clean": "del-cli ./dist",
|
||||
"build": "NODE_ENV=production npm run dev",
|
||||
"dev": "npm run clean && mkdir -p dist && cp -f index.html dist/index.html && ./node_modules/.bin/webpack-cli --config ./webpack.config.js"
|
||||
"dev": "npm run clean && mkdir -p dist && cp -f index.html dist/index.html && webpack --config ./webpack.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"classnames": "^2.3.1",
|
||||
"d3-scale-chromatic": "^2.0.0",
|
||||
"react": ">=17.0.2",
|
||||
"react-dom": ">=17.0.2",
|
||||
"react-native-web": "0.18.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user