Skip to content

Commit e7b3fce

Browse files
committed
build examples script on publish
1 parent 65ef613 commit e7b3fce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"record": "budo machinima_tests/main.js:build.js --dir machinima_tests/scenes --port 8000 --live --open",
1010
"dist": "browserify index.js -o dist/super-hands.js -t [ babelify ] && cross-env NODE_ENV=production browserify index.js -o dist/super-hands.min.js -t [ babelify ]",
1111
"lint": "standard -v | snazzy",
12-
"prepublish": "npm run dist",
13-
"preghpages": "npm run build && shx rm -rf gh-pages && shx mkdir gh-pages && shx cp -r examples/* gh-pages",
14-
"ghpages": "npm run preghpages && ghpages -p gh-pages",
12+
"prepublishOnly": "npm run dist && npm run build",
1513
"start": "npm run dev",
1614
"test": "karma start ./tests/karma.conf.js",
1715
"test:firefox": "karma start ./tests/karma.conf.js --browsers Firefox",

0 commit comments

Comments
 (0)