Skip to content

Commit 185af6e

Browse files
authored
Merge pull request #36 from pshihn/syncgen
Generators + Sync execution
2 parents a047b23 + a5922dc commit 185af6e

File tree

9 files changed

+2836
-370
lines changed

9 files changed

+2836
-370
lines changed

dist/rough.js

Lines changed: 412 additions & 138 deletions
Large diffs are not rendered by default.

dist/rough.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rough.umd.js

Lines changed: 1913 additions & 0 deletions
Large diffs are not rendered by default.

dist/rough.umd.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
22
"name": "roughjs",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Create graphics on HTML Canvas with a hand-drawn, sketchy, appearance.",
5-
"main": "src/index.js",
5+
"main": "dist/rough.umd.js",
6+
"jsnext:main": "src/index.js",
67
"scripts": {
7-
"build": "npm run clean && rollup src/index.js --o dist/rough.js --f iife --name \"rough\" && npm run minify",
8-
"clean": "rm -rf dist/",
9-
"minify": "babel-minify --mangle dist/rough.js >> dist/rough.min.js",
8+
"build": "npm run build-d && npm run build-umd",
9+
"build-d": "rollup src/index.js --o dist/rough.js --f iife --name \"rough\" && npm run minify-d",
10+
"minify-d": "babel-minify dist/rough.js -o dist/rough.min.js --mangle",
11+
"build-umd": "rollup src/index.js --o dist/rough.umd.js --f umd --name \"rough\" && npm run minify-umd",
12+
"minify-umd": "babel-minify dist/rough.umd.js -o dist/rough.umd.min.js --mangle",
1013
"test": "echo \"Error: no test specified\" && exit 1"
1114
},
1215
"repository": {
@@ -15,6 +18,7 @@
1518
},
1619
"keywords": [
1720
"canvas",
21+
"graphics",
1822
"sketchy",
1923
"hand drawn"
2024
],

0 commit comments

Comments
 (0)