alanshaw / alanshaw/david-www

Add JSPM dependency support

オープン
#203 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
720
フォーク
125
PR マージ指標
30日以内にマージされた PR はありません

説明

Greets,

I like this project! I'm curious how hard it would be to add JSPM (www.jspm.io) support. It's a package manager on the edge of popularity and having increasing uptake. While it manages / installs NPM and Github repos it would be awesome to add to David support for NPM packages. Below is the package.json for one of my repos (Backbone-ES6):

```
{
"name": "backbone-es6",
"version": "0.1.0",
"homepage": "https://github.com/typhonjs/backbone-es6",
"description": "A fork of Backbone converting it to ES6.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/typhonjs/backbone-es6/"
},
"bugs": {
"url": "https://github.com/typhonjs/backbone-es6/issues"
},
"jspm": {
"main": "src/ModuleRuntime.js",
"devDependencies": {
"babel": "npm:babel-core@^5.8.25",
"babel-runtime": "npm:babel-runtime@^5.8.25",
"core-js": "npm:core-js@^1.2.1",
"jquery": "npm:jquery@^2.1.4",
"underscore": "npm:underscore@^1.8.3"
}
},
"devDependencies": {
"bluebird": "^2.10.2",
"jspm": "^0.16.13",
"gulp": "^3.9.0",
"gulp-esdoc": "^0.1.0",
"gulp-eslint": "^1.0.0"
}
}
```

As you can see under the `jspm` hash is a `devDependencies` entry. Entries preceded by `npm:` are NPM packages. There can also be a `dependencies` entry as well. If detected I'd imagine David could have additional tabs and badges for JSPM dependencies and JSPM devDependencies listed for a project page.

Extra credit would be supporting Github dependency version checking, but that is a bit much of an ask. NPM packages are preferred in JSPM, so it would be fantastic to see that supported.

I can perhaps take a look, but not immediately, so I'm just throwing out this idea as possible future support / feature to be tracked.

Cheers!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。