Skip to content

Commit

Permalink
extract deps into a separate package that can be included easily
Browse files Browse the repository at this point in the history
  • Loading branch information
gojko committed Aug 28, 2017
1 parent eb63432 commit e3d2ae2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"svg"
],
"files": [
"src"
"src",
"packages"
],
"bugs": {
"url": "https://github.com/mindmup/mapjs/issues"
Expand All @@ -31,13 +32,7 @@
},
"main": "src/npm-main.js",
"dependencies": {
"hammerjs": "^1.1.3",
"jquery": "^2.1.4",
"jquery-hammerjs": "^1.1.3",
"jquery.hotkeys": "git://github.com/jeresig/jquery.hotkeys",
"underscore": "^1.8.3",
"monotone-convex-hull-2d": "^1.0.1",
"polybooljs": "^1.1.1"
"@mindmup/mapjs-browser-dependencies": "file:packages/browser-dependencies"
},
"devDependencies": {
"eslint": "^3.14.1",
Expand Down
16 changes: 16 additions & 0 deletions packages/browser-dependencies/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "@mindmup/mapjs-browser-dependencies",
"license": "MIT",
"private": true,
"description": "Utility package to allow easy importing for mindmup mapjs dependencies",
"version": "4.0.0",
"dependencies": {
"hammerjs": "^1.1.3",
"jquery": "^2.1.4",
"jquery-hammerjs": "^1.1.3",
"jquery.hotkeys": "git://github.com/jeresig/jquery.hotkeys",
"underscore": "^1.8.3",
"monotone-convex-hull-2d": "^1.0.1",
"polybooljs": "^1.1.1"
}
}

0 comments on commit e3d2ae2

Please sign in to comment.