Skip to content

Commit

Permalink
Add build script
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Aug 24, 2015
1 parent d0bf9f0 commit 9cfbf06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
npm-debug.log
dist
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"name": "fetch-reddit",
"version": "0.0.1",
"description": "Easily fetch links from Reddit subs and threads",
"main": "src/index.js",
"main": "dist/index.js",
"scripts": {
"lint": "standard",
"test": "mocha test --compilers js:babel/register"
"test": "mocha test --compilers js:babel/register",
"build": "mkdir -p dist; browserify -t babelify -e src/index.js -o dist/index.js"
},
"repository": {
"type": "git",
Expand All @@ -32,6 +33,8 @@
"qs": "^4.0.0"
},
"standard": {
"global": [ "fetch" ]
"global": [
"fetch"
]
}
}

0 comments on commit 9cfbf06

Please sign in to comment.