You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

buddy-cli

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.3 to 1.0.0

11

index.js

@@ -33,9 +33,2 @@ var fs = require('fs')

program
.command('install [config]')
.description('install dependencies [ADD-ON buddy-dependencies]')
.action(function(config) {
builderFactory().install(config, getOptions());
});
program
.command('build [config]')

@@ -84,3 +77,3 @@ .description('build js and css sources')

|| ('string' == typeof program.args[0]
&& !~['init', 'install', 'build', 'watch', 'deploy', 'ls', 'clean'].indexOf(program.args[0]))) {
&& !~['build', 'watch', 'deploy', 'ls', 'clean'].indexOf(program.args[0]))) {
program.help();

@@ -161,4 +154,4 @@ }

} else {
throw(useCli ? 'a local version of buddy(1) wasn\'t found on this path' : 'buddy(1) tool not found');
throw(useCli ? 'a local version of buddy wasn\'t found on this path' : 'buddy(1) tool not found');
}
}

12

package.json
{
"name": "buddy-cli",
"version": "0.10.3",
"description": "The command-line bootstrapper for buddy(1).",
"version": "1.0.0",
"description": "The command-line bootstrapper for buddy",
"author": "popeindustries <alex@pope-industries.com>",
"keywords": ["cli", "build", "buildtool"],
"keywords": ["cli", "build", "buildtool", "buddy"],
"dependencies": {
"commander": "2.3.0",
"commander": "2.5.0",
"promptly": "0.2.0",

@@ -17,8 +17,8 @@ "mkdirp": "0.5.0"

"engines": {
"node": ">=0.11.9"
"node": ">=0.10.0"
},
"repository": "https://github.com/popeindustries/buddy-cli.git",
"readmeFilename": "README.md",
"readme": "# buddy-cli\n\nThe **buddy-cli** allows local versions of the **buddy(1)** command to be run directly from the command line without any additional setup. This allows different versions of the **buddy** tool to be run from different projects, without any conflict.\n\n**NOTE:** version 0.5.0+ is only compatible with **buddy** versions 0.10.0+ and up\n\n## Installation\n\n```bash\n# If necessary, first uninstall your existing buddy global install\n$ npm -g uninstall buddy\n\n$ npm -g install buddy-cli\n```\n\n## Usage\n\n```text\nUsage: buddy [options] <command> [path/to/package.json || path/to/buddy.js || path/to/buddy.json]\n\nCommands:\n\n init set up a basic buddy project\n install [config] install dependencies [ADD-ON buddy-dependencies]\n build [config] build js and css sources\n watch [config] watch js and css source files and build changes\n deploy [config] build compressed js and css sources\n ls list all previously created files and directories\n clean remove all previously created files and directories\n\nOptions:\n\n -h, --help output usage information\n -V, --version output the version number\n -t, --targets [types] optional comma separated list of target(s) to build [js,css,html]\n -c, --compress compress output for production deployment\n -l, --lint check output for syntax and logic errors\n -r, --reload reload all connected live-reload clients on file change during watch [ADD-ON buddy-server]\n -s, --serve create a webserver to serve static files during watch [ADD-ON buddy-server]\n -S, --script run script on build completion\n -L, --lazy convert js modules for lazy evaluation\n -v, --verbose print all messages for debugging\n```\n\nThe `init` command will walk you through the basic set-up of a *package.json* file, installing a local copy of **buddy** in the process:\n\n```bash\n$ buddy init\nThis utility will walk you through a basic buddy package.json set-up.\n+ project name:\n ...\n```\n\nOnce installed, run **buddy** as described [here](https://github.com/popeindustries/buddy#readme):\n\n",
"readme": "[![NPM Version](https://img.shields.io/npm/v/buddy-cli.svg?style=flat)](https://npmjs.org/package/buddy-cli)\n\n# buddy-cli\n\nThe **buddy-cli** allows local versions of the **buddy** command to be run directly from the command line without any additional setup. This allows different versions of the **buddy** tool to be run from different projects, without any conflict.\n\n## Installation\n\n```bash\n# If necessary, first uninstall your existing buddy global install\n$ npm -g uninstall buddy\n\n$ npm -g install buddy-cli\n```\n\n## Usage\n\n```text\nUsage: buddy [options] <command> [path/to/package.json || path/to/buddy.js || path/to/buddy.json]\n\nCommands:\n\n build [config] build js and css sources\n watch [config] watch js and css source files and build changes\n deploy [config] build compressed js and css sources\n ls list all previously created files and directories\n clean remove all previously created files and directories\n\nOptions:\n\n -h, --help output usage information\n -V, --version output the version number\n -t, --targets [types] optional comma separated list of target(s) to build [js,css,html]\n -c, --compress compress output for production deployment\n -l, --lint check output for syntax and logic errors\n -r, --reload reload all connected live-reload clients on file change during watch [ADD-ON buddy-server]\n -s, --serve create a webserver to serve static files during watch [ADD-ON buddy-server]\n -S, --script run script on build completion\n -L, --lazy convert js modules for lazy evaluation\n -v, --verbose print all messages for debugging\n```\n\nOnce installed, run **buddy** as described [here](https://github.com/popeindustries/buddy#readme)\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2011-2015 Pope-Industries &lt;alex@pope-industries.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
"license": "MIT"
}

@@ -0,7 +1,7 @@

[![NPM Version](https://img.shields.io/npm/v/buddy-cli.svg?style=flat)](https://npmjs.org/package/buddy-cli)
# buddy-cli
The **buddy-cli** allows local versions of the **buddy(1)** command to be run directly from the command line without any additional setup. This allows different versions of the **buddy** tool to be run from different projects, without any conflict.
The **buddy-cli** allows local versions of the **buddy** command to be run directly from the command line without any additional setup. This allows different versions of the **buddy** tool to be run from different projects, without any conflict.
**NOTE:** version 0.5.0+ is only compatible with **buddy** versions 0.10.0+ and up
## Installation

@@ -23,4 +23,2 @@

init set up a basic buddy project
install [config] install dependencies [ADD-ON buddy-dependencies]
build [config] build js and css sources

@@ -46,12 +44,14 @@ watch [config] watch js and css source files and build changes

The `init` command will walk you through the basic set-up of a *package.json* file, installing a local copy of **buddy** in the process:
Once installed, run **buddy** as described [here](https://github.com/popeindustries/buddy#readme)
```bash
$ buddy init
This utility will walk you through a basic buddy package.json set-up.
+ project name:
...
```
## License
Once installed, run **buddy** as described [here](https://github.com/popeindustries/buddy#readme):
(The MIT License)
Copyright (c) 2011-2015 Pope-Industries &lt;alex@pope-industries.com&gt;
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc