Skip to content

Commit

Permalink
add publish action to publish commonjs modules to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
hapticdata committed Dec 2, 2015
1 parent 4eceecb commit d6ee96c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Expand Up @@ -13,6 +13,11 @@ toxiclibs-color.min.js:
toxiclibs-physics2d.min.js:
./bin/toxiclibsjs --include "toxi/physics2d" --out "./build/toxiclibs-physics2d.min.js" --minify

publish:
rm -rf ./commonjs
node ./bin/convert-to-commonjs.js
npm publish ./commonjs

test:
./node_modules/mocha/bin/mocha --reporter $(REPORTER) test/*.js $(MOCHA_OPTS)

Expand Down

0 comments on commit d6ee96c

Please sign in to comment.