Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Export as UMD instead of just commonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Feb 5, 2016
1 parent 5794f7e commit 80ab62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A React compatibility layer for Preact",
"main": "preact-compat.js",
"scripts": {
"build": "babel -f $npm_package_main -s -o $npm_package_main < src/index.js",
"build": "babel -f $npm_package_main -m umd -s -o $npm_package_main < src/index.js",
"test": "eslint {src,test} && mocha --compilers js:babel/register test/**/*.js",
"prepublish": "npm run build",
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
Expand Down

0 comments on commit 80ab62e

Please sign in to comment.