If no args are passed, read config from atomify field of package.json #13

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

bclinkinbeard commented Feb 28, 2014

My scripts fields were getting long, so was thinking it would be nice to configure things elsewhere. As you can see, it's not exactly a big change. :)

"atomify": {
  "js": {
    "entry": "example/index.js",
    "w": true,
    "d": true
  },
  "css": "index.css:/example/bundle.css",
  "server": {
    "path": "/example/index.html",
    "open": true
  }
}
Contributor

Techwraith commented Feb 28, 2014

Love concept. Let me think about the API a bit :)

On Thursday, February 27, 2014, Ben Clinkinbeard notifications@github.com
wrote:

My scripts fields were getting long, so was thinking it would be nice to
configure things elsewhere. As you can see, it's not exactly a big change.
:)

"atomify": {
"js": {
"entry": "example/index.js",
"w": true,
"d": true
},
"css": "index.css:/example/bundle.css",
"server": {
"path": "/example/index.html",
"open": true
}}


You can merge this Pull Request by running

git pull https://github.com/Techwraith/atomify pkg

Or view, comment on, or merge it at:

Techwraith#13
Commit Summary

  • If no args are passed, read config from atomify field of package.json

File Changes

  • M bin/atomify.jshttps://github.com/Techwraith/atomify/pull/13/files#diff-0(8)

Patch Links:

Reply to this email directly or view it on GitHubhttps://github.com/Techwraith/atomify/pull/13
.

Contributor

bclinkinbeard commented Mar 2, 2014

The API? It's just pulling the opts from package.json instead of the shell or code.

Contributor

bclinkinbeard commented Mar 5, 2014

Manually merged.

@bclinkinbeard bclinkinbeard deleted the pkg branch Mar 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment