Skip to content

Commit

Permalink
Updated dependencies. Removed React as dependency, but added it to th…
Browse files Browse the repository at this point in the history
…e installation step.
  • Loading branch information
Rick committed Jan 12, 2016
1 parent fe22f7a commit 2809c2c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ For a cascaded effect, see the `index.html` demo.

## Installation

npm install --save react-inline-css
npm install --save react-inline-css react

## Usage

Expand Down
76 changes: 38 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"name": "react-inline-css",
"description": "Inline CSS in your React components, namespaced automatically.",
"version": "2.0.1",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/RickWong/react-inline-css.git"
},
"homepage": "https://github.com/RickWong/react-inline-css",
"keywords": [
"react",
"inline",
"css",
"react-component",
"style"
],
"main": "src/react-inline-css",
"scripts": {
"localhost": "sleep 2; which open && open http://localhost:8080",
"build": "webpack --verbose --colors --display-error-details --config webpack.client.js",
"watch-client": "webpack --verbose --colors --display-error-details --config webpack.client-watch.js && webpack-dev-server --config webpack.client-watch.js",
"watch": "concurrent --kill-others 'npm run watch-client' 'npm run localhost'"
},
"dependencies": {
"react": ">= 0.14.0"
},
"devDependencies": {
"babel-core": "5.8.24",
"babel-loader": "5.3.2",
"concurrently": "0.1.1",
"json-loader": "0.5.2",
"react-dom": "0.14.0-rc1",
"react-hot-loader": "1.3.0",
"webpack": "1.12.1",
"webpack-dev-server": "1.10.1"
}
}
{
"name": "react-inline-css",
"description": "Inline CSS in your React components, namespaced automatically.",
"version": "2.1.0",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/RickWong/react-inline-css.git"
},
"homepage": "https://github.com/RickWong/react-inline-css",
"keywords": [
"react",
"inline",
"css",
"react-component",
"style"
],
"main": "src/react-inline-css",
"scripts": {
"localhost": "sleep 2; which open && open http://localhost:8080",
"build": "webpack --verbose --colors --display-error-details --config webpack.client.js",
"watch-client": "webpack --verbose --colors --display-error-details --config webpack.client-watch.js && webpack-dev-server --config webpack.client-watch.js",
"watch": "concurrent 'npm run watch-client' 'npm run localhost'"
},
"devDependencies": {
"babel-core": "6.4.0",
"babel-loader": "6.2.1",
"babel-preset-es2015": "6.3.13",
"babel-preset-react": "6.3.13",
"concurrently": "1.0.0",
"json-loader": "0.5.4",
"react": "0.14.6",
"react-dom": "0.14.6",
"react-hot-loader": "1.3.0",
"webpack": "1.12.11",
"webpack-dev-server": "1.14.1"
}
}
2 changes: 1 addition & 1 deletion webpack.client.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
module: {
loaders: [
{test: /\.json$/, loaders: ["json-loader"]},
{test: /\.js$/, loaders: ["babel-loader"], exclude: /node_modules/},
{test: /\.js$/, loaders: ["babel-loader?presets[]=es2015&presets[]=react"], exclude: /node_modules/},
{test: /\.scss$/, loaders: ["raw-loader", "sass-loader"], exclude: /node_modules/}
]
},
Expand Down

0 comments on commit 2809c2c

Please sign in to comment.