egoist / bili

Bili makes it easier to bundle JavaScript libraries.
https://bili.egoist.sh
MIT License
1.04k stars 61 forks source link

Add bili --init option #5

Open egoist opened 7 years ago

egoist commented 7 years ago

To initialize bili in an existing project:

{
  "scripts": {
    "build": "bili"
  }
}
OmgImAlexis commented 6 years ago

It'd be nice for bili to also add the correct fields in package.json to make your package work with npm, etc. same goes for adding dist to the files if it's not already there.

Ref: https://github.com/egoist/bili/issues/78