Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加package.json,以支持npm #69

Merged
merged 1 commit into from
Feb 14, 2017
Merged

Conversation

worldask
Copy link

No description provided.

@ximan ximan merged commit 67eb8a4 into ximan:gh-pages Feb 14, 2017
@larryli
Copy link

larryli commented Feb 16, 2017

npm 已经有了同名包。

@worldask
Copy link
Author

@larryli 有了package.json文件,npm可以直接使用github上的项目,不需要通过npm库。如下:

"dropload": "ximan/dropload#gh-pages"

@larryli
Copy link

larryli commented Feb 16, 2017

@worldask php 直接用的 https://github.com/fxpio/composer-asset-plugin

{
    "extra": {
        "asset-repositories": [
            {
                "type": "npm-github",
                "url": "https://github.com/ximan/dropload.git",
                "name": "npm-asset/dropload"
            }
        ]
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants