PHPOffice / PHPExcel

ARCHIVED
Other
11.46k stars 4.19k forks source link

please add a package.json #1297

Closed brian-lamb-software-engineer closed 7 years ago

brian-lamb-software-engineer commented 7 years ago

Can you please add a package.json file so this can be installed directly as a dependency to my application, since i use npm as the package manager? A user will get the EISDIR error without this.

It would be great to simply specify this repo in the dependency list, and npm install it.

brian-lamb-software-engineer commented 7 years ago

Well, you can pretty much disregard, I found I should have probably been using composer.json anyway, this is a laravel project. This is what i had to add to my laravel composer.json file to get the package nested safely into my vendors. Hope it helps someone.

    "repositories": [
        {
            "type": "vcs",
            "name": "phpoffice/phpexcel",
            "url":  "git@github.com:PHPOffice/PHPExcel.git"
        }
    ],
    "require-dev": {
        "phpoffice/phpexcel": "*"
    },