Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kisnows committed Feb 17, 2016
1 parent ebf2811 commit 6a46378
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
node_modules
.idea
.tmp
app.yaml
.idea
bower_components
.vscode
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ node_js:
- "0.12"
script:
- npm run lint
- npm run build
- npm run deploy
5 changes: 1 addition & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,8 @@

## LICENSE
The MIT License (MIT)
Copyright (c) <2016> <抹桥 yq12315@gmail.com>
Copyright (c) 2015-2016 [抹桥](yq12315@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

10 changes: 5 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
var path = require('path');
var path = require('path')
var webpack = require('webpack')
var pkg = require('./package.json')

var banner = `${pkg.name} ${pkg.version}
Author: ${pkg.author}
Homepage: ${pkg.homepage}
Release under ${pkg.license}.
`;
`

var config = {
devtool: 'cheap-module-eval-source-map',
Expand All @@ -22,7 +22,7 @@ var config = {
],
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: "babel-loader" }
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' }
]
}
}
Expand All @@ -31,8 +31,8 @@ if (process.env.NODE_ENV === 'production') {
config.output = {
path: path.resolve(__dirname, 'build'),
filename: 'fullpage.min.js'
};
}
config.plugins.push(new webpack.optimize.UglifyJsPlugin())
}

module.exports = config;
module.exports = config

0 comments on commit 6a46378

Please sign in to comment.