Install React as a dev dependency
Once another project uses this package, these should become peerDependencies. Until then install automatically.
This commit is contained in:
1 parent
7f51b9bfd4
commit
edd09fa48a
2 files changed
+2
-5
No files matched your search
@@ -9,7 +9,6 @@ env:
|
||||
global:
|
||||
- BASE_PATH=/scratch-gui/
|
||||
before_install:
|
||||
- npm install react@15 react-dom@15
|
||||
- rm -rf node_modules/scratch-*
|
||||
after_script:
|
||||
- |
|
||||
|
||||
+2
-4
@@ -14,10 +14,6 @@
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/LLK/scratch-gui.git"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "15.x.x",
|
||||
"react-dom": "15.x.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "6.14.0",
|
||||
"babel-eslint": "6.1.2",
|
||||
@@ -32,6 +28,8 @@
|
||||
"json-loader": "0.5.4",
|
||||
"lodash.defaultsdeep": "4.4.0",
|
||||
"minilog": "3.0.1",
|
||||
"react": "15.x.x",
|
||||
"react-dom": "15.x.x",
|
||||
"scratch-blocks": "^0.1.0-prerelease",
|
||||
"scratch-render": "^0.1.0-prerelease",
|
||||
"scratch-vm": "^0.1.0-prerelease",
|
||||
|
||||
Reference in new issue
Block a user