Skip to content

Commit

Permalink
modify deply script
Browse files Browse the repository at this point in the history
  • Loading branch information
leftstick committed Jul 1, 2016
1 parent cc88237 commit 87d2c97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"prepublish": "npm run dist",
"preinstall": "typings install",
"dist": "rm -rf dist; webpack --config webpack.config.prod.js; mv dist/`pwd`/ dist; rm -rf dist/`pwd`",
"start": "webpack-dev-server --content-base demo/ --hot --inline",
"start": "webpack-dev-server --content-base demo/ --hot --inline --debug --devtool source-map",
"demo": "rm -rf build; webpack --output-public-path /angular2-baidu-map/",
"deploy": "npm run demo; git checkout gh-pages; rm -rf *.png; rm -rf *.js; rm -rf *.ico; rm -rf index.html; mv dist/* .;"
"deploy": "npm run demo; git checkout gh-pages; rm -f *; mv build/* ."
},
"files": [
"dist/angular2-baidu-map.js",
Expand Down
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ module.exports = {
entry: {
index: './demo/js/index.ts'
},
devtool: 'source-map',
output: {
path: path.resolve(__dirname, 'build'),
filename: '[hash].[name].bundle.js',
Expand Down

0 comments on commit 87d2c97

Please sign in to comment.