-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add .npmrc, prevent package-lock.json - gitignore package-lock.json as an extraneous measure - update dependencies Examples: - add .npmrc, prevent package-lock.json - add README - move babel from package.json to .babelrc - eliminate unnecessary devdependencies: - babel-preset-stage-2 - postcss-cssnext - postcss-import - postcss-loader - update dependencies, devDependencies - eliminate unnecessary webpack configurations: - production logic to uglifyjs - postcss loaders - reference built CSS in example app (GridTestPage.jsx) Dependencies not updated to latest: - webpack stopped at 2.6.1 [pending webpack-dev-server support](webpack/webpack-dev-server#946) - eslint stopped at 3.19 [pending airbnb support](airbnb/javascript#1447)
- Loading branch information
Showing
9 changed files
with
65 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
build | ||
node_modules | ||
npm-debug.log | ||
npm-debug.log | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"presets": [ | ||
"env", | ||
"react" | ||
], | ||
"plugins": [ | ||
"transform-runtime" | ||
], | ||
"env": { | ||
"development": { | ||
"presets": [] | ||
}, | ||
"production": { | ||
"presets": [] | ||
}, | ||
"test": { | ||
"presets": [] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Example # | ||
|
||
This is an example of [material-responsive-grid](https://github.com/STORIS/material-responsive-grid) being used in a very simple React application. | ||
|
||
This application uses [webpack](https://webpack.js.org/) to load the CSS that is produced when this library is built. | ||
|
||
To build the *material-responsive-grid* library: | ||
|
||
``` | ||
npm run build | ||
``` | ||
|
||
Before attempting to run the example application, install the dependencies: | ||
|
||
``` | ||
cd examples | ||
npm install | ||
``` | ||
|
||
From within the *examples* directory, run the application: | ||
|
||
``` | ||
npm run start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters