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

Make SourceJS as global or local node module #60

Closed
robhrt7 opened this issue Sep 19, 2014 · 3 comments
Closed

Make SourceJS as global or local node module #60

robhrt7 opened this issue Sep 19, 2014 · 3 comments
Assignees
Milestone

Comments

@robhrt7
Copy link
Member

robhrt7 commented Sep 19, 2014

With custom, abstract commands like:

sourcejs run
sourcejs deploy

Which will take current run folder as user.

Moving SourceJS to global module, will probably help to install it much easier to understand.

@robhrt7
Copy link
Member Author

robhrt7 commented Mar 26, 2015

It's also possible to just set SourceJS to node_modules, and use npm scripts to run it.

package.json:

{
  "name":"",
  "dependencies": {},
  "scripts": {
    "run-source": "node node_modules/sourcejs/app.js --from-npm"
  }
}

Then just run npm run-source from user folder.

@robhrt7 robhrt7 changed the title Make SourceJS as global node module Make SourceJS as global or local node module Mar 26, 2015
@robhrt7
Copy link
Member Author

robhrt7 commented Jul 1, 2015

In progress. 0.5.3 already has partial support for that. 0.6 will officially be base on npm module #144.

@robhrt7
Copy link
Member Author

robhrt7 commented Jun 19, 2016

Done

@robhrt7 robhrt7 closed this as completed Jun 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant