Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
2.0.7: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
crossjs committed Nov 21, 2016
1 parent 87c972e commit bf43ddd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 33 deletions.
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,31 +46,13 @@ npm run push

## Scaffolding

### use vue-cli

**Recommended**

Use [Vue-cli](https://github.com/vuejs/vue-cli) to get a clean and clear copy without demonstrations

```bash
npm install -g vue-cli
vue init crossjs/plato#template <project-name>
```

### use yeoman generator

Use [generator-x](https://github.com/crossjs/generator-x) to get a clean and clear copy without demonstrations

```bash
# install yo and generator-x as a global module
npm install -g yo
npm install -g generator-x

# generate code under project
cd <your-awesome-project>
yo x
```

## Appendix

- [Troubleshooting](doc/TROUBLESHOOTING.md)
Expand Down
4 changes: 3 additions & 1 deletion config/_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ const config = {

pkg: require('../package.json'),

// theme name
// ----------------------------------
// Theme Configuration
// ----------------------------------
theme: 'default',

// ----------------------------------
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "PLATO",
"version": "2.0.6",
"version": "2.0.7",
"description": "a Boilerplate for mobile SPAs use vue, vuex, vue-router",
"license": "MIT",
"main": "src/index.js",
Expand Down Expand Up @@ -28,15 +28,15 @@
"nuo": "^1.0.0",
"query-string": "^4.2.3",
"string-template": "^1.0.0",
"vue": "^2.0.7",
"vue-router": "^2.0.2",
"vue": "^2.0.8",
"vue-router": "^2.0.3",
"vuex": "^2.0.0",
"vuex-actions": "^1.1.1",
"vuex-localstorage": "^0.3.0",
"whatwg-fetch": "^2.0.1"
},
"devDependencies": {
"babel-loader": "^6.2.7",
"babel-loader": "^6.2.8",
"babel-plugin-__coverage__": "^11.0.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.18.0",
Expand All @@ -53,7 +53,7 @@
"eslint": "^3.10.2",
"eslint-config-plato": "^0.0.1",
"eslint-friendly-formatter": "^2.0.6",
"eslint-loader": "^1.6.0",
"eslint-loader": "^1.6.1",
"extract-text-webpack-plugin": "^2.0.0-beta.4",
"favicons-webpack-plugin": "^0.0.7",
"file-loader": "^0.9.0",
Expand All @@ -64,7 +64,7 @@
"karma-coverage": "^1.1.1",
"karma-es6-shim": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.0",
"karma-mocha-reporter": "^2.2.1",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.8.0",
Expand All @@ -86,7 +86,7 @@
"sinon": "^1.17.6",
"sinon-chai": "^2.8.0",
"style-loader": "^0.13.1",
"stylelint": "^7.5.0",
"stylelint": "^7.6.0",
"stylelint-config-standard": "^14.0.0",
"url-loader": "^0.5.7",
"vue-hot-reload-api": "^2.0.6",
Expand Down
8 changes: 1 addition & 7 deletions webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ const debug = _debug('plato:webpack')

debug('Create configuration.')

// https://webpack.js.org/how-to/upgrade-from-webpack-1/

const webpackConfig = {
target: 'web',
resolve: {
Expand Down Expand Up @@ -102,8 +100,7 @@ const webpackConfig = {
},
{
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
// do NOT base64encode @1x/@2x/@3x images
exclude: /@[1-3]x/,
exclude: /@[1-3]x/, // skip encoding @1x/@2x/@3x images with base64
loader: 'url-loader',
options: {
limit: 10000,
Expand All @@ -114,9 +111,6 @@ const webpackConfig = {
},
plugins: [
new webpack.DefinePlugin(config.globals),
// generate dist index.html with correct asset hash for caching.
// you can customize output by editing /index.html
// see https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: 'index.html',
template: paths.src('index.ejs'),
Expand Down

0 comments on commit bf43ddd

Please sign in to comment.