Skip to content

Commit

Permalink
Split dependencies and devDependencies
Browse files Browse the repository at this point in the history
See Reason behind the division of devDependencies and dependencies? facebook/create-react-app#1764
  • Loading branch information
tkrotoff committed May 17, 2018
1 parent 6999e17 commit 720d36f
Show file tree
Hide file tree
Showing 10 changed files with 83 additions and 47 deletions.
15 changes: 10 additions & 5 deletions examples/Bootstrap4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:watch": "cross-env NODE_ENV=development webpack -d --watch"
},

"devDependencies": {
"dependencies": {
"react": "latest",
"react-dom": "latest",

Expand All @@ -19,6 +19,12 @@
"react-form-with-constraints-tools": "^0.8.0",

"bootstrap": "latest",

"babel-polyfill": "latest",
"raf": "latest"
},

"devDependencies": {
"node-sass": "latest",
"style-loader": "latest",
"css-loader": "latest",
Expand All @@ -28,14 +34,13 @@
"webpack-cli": "latest",
"webpack": "latest",
"babel-loader": "latest",
"file-loader": "latest",
"source-map-loader": "latest",

"babel-core": "latest",
"babel-polyfill": "latest",
"babel-plugin-transform-class-properties": "latest",
"raf": "latest",
"babel-preset-env": "latest",
"babel-preset-react": "latest",
"file-loader": "latest",
"source-map-loader": "latest",

"del-cli": "latest",
"cross-env": "latest"
Expand Down
13 changes: 8 additions & 5 deletions examples/ClubMembers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,23 @@
"build:watch": "cross-env NODE_ENV=development webpack -d --watch"
},

"devDependencies": {
"typescript": "latest",

"dependencies": {
"react": "latest",
"@types/react": "latest",
"react-dom": "latest",
"@types/react-dom": "latest",

"react-form-with-constraints": "^0.8.0",
"react-form-with-constraints-tools": "^0.8.0",

"mobx": "latest",
"mobx-react": "latest",
"mobx-react-devtools": "latest",
},

"devDependencies": {
"typescript": "latest",

"@types/react": "latest",
"@types/react-dom": "latest",

"ts-node": "latest",
"@types/node": "latest",
Expand Down
7 changes: 5 additions & 2 deletions examples/HTML5Constraints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@
"build:watch": "cross-env NODE_ENV=development webpack -d --watch"
},

"dependencies": {
"react": "latest",
"react-dom": "latest"
},

"devDependencies": {
"typescript": "latest",

"react": "latest",
"@types/react": "latest",
"react-dom": "latest",
"@types/react-dom": "latest",

"ts-node": "latest",
Expand Down
15 changes: 9 additions & 6 deletions examples/MaterialUI/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,22 @@
"build:watch": "cross-env NODE_ENV=development webpack -d --watch"
},

"devDependencies": {
"typescript": "latest",

"dependencies": {
"react": "latest",
"@types/react": "latest",
"react-dom": "latest",
"@types/react-dom": "latest",

"material-ui": "next",

"react-form-with-constraints": "^0.8.0",
"react-form-with-constraints-material-ui": "^0.8.0",
"react-form-with-constraints-tools": "^0.8.0",
"react-form-with-constraints-tools": "^0.8.0"
},

"devDependencies": {
"typescript": "latest",

"@types/react": "latest",
"@types/react-dom": "latest",

"ts-node": "latest",
"@types/node": "latest",
Expand Down
7 changes: 5 additions & 2 deletions examples/NoFramework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@
"build:watch": "cross-env NODE_ENV=development webpack -d --watch"
},

"dependencies": {
"react": "latest",
"react-dom": "latest"
},

"devDependencies": {
"typescript": "latest",

"react": "latest",
"@types/react": "latest",
"react-dom": "latest",
"@types/react-dom": "latest",

"ts-node": "latest",
Expand Down
13 changes: 8 additions & 5 deletions examples/Password/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,20 @@
"build:watch": "cross-env NODE_ENV=development webpack -d --watch"
},

"dependencies": {
"react": "latest",
"react-dom": "latest",

"react-form-with-constraints": "^0.8.0",
"react-form-with-constraints-tools": "^0.8.0"
},

"devDependencies": {
"typescript": "latest",

"react": "latest",
"@types/react": "latest",
"react-dom": "latest",
"@types/react-dom": "latest",

"react-form-with-constraints": "^0.8.0",
"react-form-with-constraints-tools": "^0.8.0",

"ts-node": "latest",
"@types/node": "latest",

Expand Down
11 changes: 7 additions & 4 deletions examples/PasswordNoState/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@
"build:watch": "cross-env NODE_ENV=development webpack -d --watch"
},

"dependencies": {
"react": "latest",
"react-dom": "latest",

"react-form-with-constraints": "^0.8.0"
},

"devDependencies": {
"typescript": "latest",

"react": "latest",
"@types/react": "latest",
"react-dom": "latest",
"@types/react-dom": "latest",

"react-form-with-constraints": "^0.8.0",

"ts-node": "latest",
"@types/node": "latest",

Expand Down
16 changes: 10 additions & 6 deletions examples/ServerSideRendering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,26 @@
"start": "npm run clean && npm run build && cd build && node server"
},

"dependencies": {
"react": "latest",
"react-dom": "latest",

"react-form-with-constraints": "^0.8.0",

"express": "latest"
},

"devDependencies": {
"typescript": "latest",

"react": "latest",
"@types/react": "latest",
"react-dom": "latest",
"@types/react-dom": "latest",

"react-form-with-constraints": "^0.8.0",
"@types/express": "latest",

"ts-node": "latest",
"@types/node": "latest",

"express": "latest",
"@types/express": "latest",

"webpack-cli": "latest",
"webpack": "latest",
"@types/webpack": "latest",
Expand Down
22 changes: 14 additions & 8 deletions examples/SignUp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,32 @@
"i18next": "i18next --namespace-separator '__NS' --key-separator '__KS'"
},

"devDependencies": {
"typescript": "latest",

"dependencies": {
"react": "latest",
"@types/react": "latest",
"react-dom": "latest",
"@types/react-dom": "latest",

"react-form-with-constraints": "^0.8.0",
"react-form-with-constraints-tools": "^0.8.0",

"lodash": "latest",
"@types/lodash": "latest",

"i18next": "latest",
"@types/i18next": "latest",
"react-i18next": "latest",
"i18next-browser-languagedetector": "latest"
},

"devDependencies": {
"typescript": "latest",

"@types/react": "latest",
"@types/react-dom": "latest",

"@types/lodash": "latest",

"@types/i18next": "latest",
"@types/react-i18next": "latest",
"i18next-browser-languagedetector": "latest",
"@types/i18next-browser-languagedetector": "latest",

"i18next-parser": "latest",

"ts-node": "latest",
Expand Down
11 changes: 7 additions & 4 deletions examples/WizardForm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@
"build:watch": "cross-env NODE_ENV=development webpack -d --watch"
},

"dependencies": {
"react": "latest",
"react-dom": "latest",

"react-form-with-constraints": "^0.8.0"
},

"devDependencies": {
"typescript": "latest",

"react": "latest",
"@types/react": "latest",
"react-dom": "latest",
"@types/react-dom": "latest",

"react-form-with-constraints": "^0.8.0",

"ts-node": "latest",
"@types/node": "latest",

Expand Down

0 comments on commit 720d36f

Please sign in to comment.