Skip to content

Commit

Permalink
chore: add zip packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Walker committed Oct 13, 2016
1 parent 94b4337 commit 29cd208
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,21 @@ View screenshots for games within the Steam search page with this extension. Go
## Coming soon

- Game videos included in preview.

## Install

`npm install`

## Build

`npm run build`

Then you can load the unpacked extension that is in the newly created `build` directory.

Alternatively, use `npm run watch` if you want this build to run any time file changes are detected.

## Deploy

`npm run package`

Produces a zip file that can be uploaded to the Chrome Web Store.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Chrome extension for previewing games on Steam store search page",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack --config webpack.config.js",
"build": "webpack",
"package": "webpack && zip -r search-preview-for-steam.zip build/",
"watch": "webpack --watch"
},
"repository": {
Expand Down

0 comments on commit 29cd208

Please sign in to comment.