This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(framework-examples): Fix React example (#121)
- Fix import statements - Add NPM packages as dependencies - Remove reliance on sass loader and all sass-related features. Use built CSS instead - Clean up package.json Resolves #107 [ci skip]
- Loading branch information
1 parent
553e3cf
commit 03a4607
Showing
4 changed files
with
12 additions
and
45 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,32 +1,13 @@ | ||
{ | ||
"name": "react-hot-boilerplate", | ||
"name": "mdc-web-example-react", | ||
"private": true, | ||
"version": "1.0.0", | ||
"description": "Boilerplate for ReactJS project with hot code reloading", | ||
"description": "MDC-Web Framework Integration Example for React", | ||
"scripts": { | ||
"start": "node server.js", | ||
"lint": "eslint src" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/gaearon/react-hot-boilerplate.git" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"reactjs", | ||
"boilerplate", | ||
"hot", | ||
"reload", | ||
"hmr", | ||
"live", | ||
"edit", | ||
"webpack" | ||
], | ||
"author": "Dan Abramov <[email protected]> (http://github.com/gaearon)", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/gaearon/react-hot-boilerplate/issues" | ||
}, | ||
"homepage": "https://github.com/gaearon/react-hot-boilerplate", | ||
"devDependencies": { | ||
"autoprefixer": "^6.3.6", | ||
"babel-core": "^6.0.20", | ||
|
@@ -36,15 +17,14 @@ | |
"babel-preset-react": "^6.0.15", | ||
"babel-preset-stage-0": "^6.0.15", | ||
"css-loader": "^0.23.1", | ||
"node-sass": "^3.7.0", | ||
"postcss-loader": "^0.9.1", | ||
"react-hot-loader": "^1.3.0", | ||
"sass-loader": "^3.2.0", | ||
"style-loader": "^0.13.1", | ||
"webpack": "^1.12.2", | ||
"webpack-dev-server": "^1.12.1" | ||
}, | ||
"dependencies": { | ||
"@material/checkbox": "^0.1.0", | ||
"@material/form-field": "^0.1.0", | ||
"classnames": "^2.2.5", | ||
"immutable": "^3.8.1", | ||
"react": "^15.1.0", | ||
|
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