Created
January 13, 2014 21:01
-
-
Save jsantell/8408075 to your computer and use it in GitHub Desktop.
Using `jpm init` to automatically enable node packages, adding to the dependencies and overload routes set up for what `jetpack-node` supports, which is a suite of `jetpack-*` dependencies (`package.json`). User can also add their own custom dependencies and overloads (`package2.json`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ jpm init | |
| JPM info Running init on undefined | |
| title: (My Jetpack Addon) | |
| name: (my-jetpack) | |
| version: (0.0.0) | |
| Enable node packages? (yes) | |
| description: | |
| entry point: (index.js) | |
| author: | |
| engines (comma separated): (firefox,fennec) | |
| license: (MIT) | |
| JPM info About to write to /Users/jsantell/Dev/jetpacks/places/test/package.json: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "My Jetpack Addon", | |
| "name": "my-jetpack", | |
| "version": "0.0.1", | |
| "dependencies": { | |
| "jetpack-node": "*" | |
| }, | |
| "overloads": { | |
| "fs": "jetpack-node/node_modules/jetpack-fs", | |
| "child_proc": "jetpack-node/node_modules/jetpack-child_proc", | |
| "events": "jetpack-node/node_modules/jetpack-events" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "My Jetpack Addon", | |
| "name": "my-jetpack", | |
| "version": "0.0.1", | |
| "dependencies": { | |
| "jetpack-node": "*", | |
| "erikvold-custom-child_proc": "*" | |
| }, | |
| "overloads": { | |
| "fs": "jetpack-node/node_modules/jetpack-fs", | |
| "child_proc": "erikvold-custom-child_proc", | |
| "events": "jetpack-node/node_modules/jetpack-events" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment