Skip to content

Commit

Permalink
fix: build /dist files before release
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Nov 8, 2015
1 parent 3a74f8a commit c1cb1bd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,19 @@
"url": "https://github.com/hoodiehq/pouchdb-hoodie-api.git"
},
"scripts": {
"prebuild": "rimraf dist && mkdirp dist",
"build": "browserify index.js > dist/pouchdb-hoodie-api.js",
"deploydocs": "gh-pages-deploy",
"docs": "mr-doc --source ./ --output docs --name pouchdb-hoodie-api --theme cayman --ignore docs,coverage,bin,dist,helpers,node_modules,tests,utils,index.js",
"postbuild": "uglifyjs dist/pouchdb-hoodie-api.js -mc > dist/pouchdb-hoodie-api.min.js",
"prebuild": "rimraf dist && mkdirp dist",
"deploydocs": "gh-pages-deploy",
"predeploydocs": "./bin/authorize-push.js",
"predocs": "rimraf docs/build",
"pretest:browser:cloud": "npm run build",
"pretest:browser:local": "npm run build",
"docs": "mr-doc --source ./ --output docs --name pouchdb-hoodie-api --theme cayman --ignore docs,coverage,bin,dist,helpers,node_modules,tests,utils,index.js",
"presemantic-release": "npm run -s build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "standard && npm run -s test:node | tap-spec",
"pretest:browser:cloud": "npm run build",
"test:browser:cloud": "zuul -- tests",
"pretest:browser:local": "npm run build",
"test:browser:local": "zuul --local 8080 -- tests",
"test:coverage": "istanbul cover tests",
"test:coverage:upload": "istanbul-coveralls",
Expand Down

0 comments on commit c1cb1bd

Please sign in to comment.