raise react dependencies to root package.json
This commit is contained in:
parent
5bd9ca1de3
commit
45cbe56564
4 changed files with 7 additions and 32 deletions
|
@ -43,7 +43,7 @@ jobs:
|
||||||
- node_modules
|
- node_modules
|
||||||
key:
|
key:
|
||||||
v1-dependencies-{{ checksum "package-lock.json" }}
|
v1-dependencies-{{ checksum "package-lock.json" }}
|
||||||
- run: npm install react
|
# - run: npm install react
|
||||||
- run: npm install react-dom
|
# - run: npm install react-dom
|
||||||
# run tests!
|
# run tests!
|
||||||
- run: npm test
|
- run: npm test
|
|
@ -5,6 +5,10 @@
|
||||||
"test": "lerna run test",
|
"test": "lerna run test",
|
||||||
"bootstrap": "lerna bootstrap"
|
"bootstrap": "lerna bootstrap"
|
||||||
},
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"react": "^16.12.0",
|
||||||
|
"react-dom": "^16.12.0"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/preset-flow": "^7.8.3",
|
"@babel/preset-flow": "^7.8.3",
|
||||||
"@testing-library/jest-dom": "^4.2.4",
|
"@testing-library/jest-dom": "^4.2.4",
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
[ignore]
|
|
||||||
.*/node_modules/.*
|
|
||||||
.*/src/serviceWorker\.js
|
|
||||||
.*/src/index\.js
|
|
||||||
.*\.test
|
|
||||||
.*/server/node_modules/.*
|
|
||||||
.*/server/test/.*
|
|
||||||
.*/server/knexfile\.js
|
|
||||||
.*/public/.*
|
|
||||||
.*\.scss
|
|
||||||
.*\.css
|
|
||||||
.+\.s?css
|
|
||||||
|
|
||||||
[include]
|
|
||||||
.*/src/components/
|
|
||||||
.*/src/pages/.*
|
|
||||||
.*/src/reducers/.*
|
|
||||||
.*/src/utils/.*
|
|
||||||
.*/App.js
|
|
||||||
|
|
||||||
[libs]
|
|
||||||
|
|
||||||
[lints]
|
|
||||||
|
|
||||||
[options]
|
|
||||||
|
|
||||||
[strict]
|
|
||||||
|
|
||||||
[untyped]
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "react-boilerplate",
|
"name": "play-node-go",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in a new issue