Skip to content

Commit

Permalink
refactor(npm): update tons of deps
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Feb 27, 2016
1 parent affbf73 commit 0425e2b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion commands/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const open = require('open')

module.exports = function (options) {
const config = loadConfig('watch', options)
server({port: options.port, config})
server({config, port: options.port, customIndex: true})
.then(port => {
if (!options.silent) {
open(`http://localhost:${port}`)
Expand Down
3 changes: 3 additions & 0 deletions example/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import 'babel-polyfill'
import React, { Component } from 'react'
import { render } from 'react-dom'
import './fixture'

console.log('a'.repeat(2))

class Counter extends Component {
constructor() {
super()
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@
"babel"
],
"dependencies": {
"babel-core": "^6.4.5",
"babel-core": "^6.5.2",
"babel-loader": "^6.2.0",
"babel-plugin-transform-runtime": "^6.3.13",
"babel-polyfill": "^6.5.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-react-hmre": "^1.0.1",
Expand All @@ -49,7 +50,7 @@
"commander": "^2.9.0",
"css-loader": "^0.23.1",
"deep-assign": "^2.0.0",
"extract-text-webpack-plugin": "^0.9.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.8.5",
"html-webpack-plugin": "^2.8.1",
"jade": "^1.11.0",
Expand All @@ -72,16 +73,18 @@
"vue": "^1.0.13",
"vue-hot-reload-api": "^1.2.2",
"vue-html-loader": "^1.0.0",
"vue-loader": "^7.5.0",
"vue-loader": "^8.1.4",
"vue-style-loader": "^1.0.0",
"webpack": "^1.12.13",
"webpack-hot-server": "^0.1.1"
"webpack-hot-server": "^0.2.2"
},
"devDependencies": {
"cz-conventional-changelog": "^1.1.5",
"semantic-release": "^4.3.5",
"xo": "^0.12.1"
},
"tooling": {
"entry": "example",
"index": {
"title": "tooling index",
"template": "lib/index.jade"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You always need to configure webpack for each of your projects, drop `webpack.co
What `tooling` supports (which means you don't have to install these dependencies yourself):

- Webpack
- Babel 6 + Stage-0 + Runtime
- Babel 6 + Stage-0 + Runtime + Polyfill
- React with JSX
- Vue/Vue-loader
- PostCSS/css-modules/cssnext
Expand Down

0 comments on commit 0425e2b

Please sign in to comment.