[Pkg-javascript-commits] [node-grunt-known-options] 01/04: Import Upstream version 1.1.0

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Aug 30 19:30:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

srud-guest pushed a commit to branch master
in repository node-grunt-known-options.

commit 70834ec995884983bc48744c1ab0ddd45de580ed
Author: Sruthi <srud at disroot.org>
Date:   Wed Aug 31 00:49:07 2016 +0530

    Import Upstream version 1.1.0
---
 .gitignore   |  1 +
 LICENSE      | 35 +++++++++++++++++++++++++++++++
 README.md    | 16 ++++++++++++++
 index.js     | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 package.json | 20 ++++++++++++++++++
 5 files changed, 140 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3c3629e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+node_modules
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..96a51f7
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,35 @@
+Copyright jQuery Foundation and other contributors, https://jquery.org/
+
+This software consists of voluntary contributions made by many
+individuals. For exact contribution history, see the revision history
+available at https://github.com/gruntjs/grunt .
+
+The following license applies to all parts of this software except as
+documented below:
+
+====
+
+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.
+
+====
+
+All files located in the node_modules directory are externally maintained
+libraries used by this software which have their own licenses; we recommend
+you read them, as their terms may differ from the terms above.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..13e0d79
--- /dev/null
+++ b/README.md
@@ -0,0 +1,16 @@
+# grunt-known-options
+
+These are the known options used in Grunt.
+
+## Installing
+
+```shell
+npm install grunt-known-options --save
+```
+
+## Usage
+
+```js
+var knownOptions = require('grunt-known-options');
+// You now have an object of known Grunt options.
+```
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..b8ea1af
--- /dev/null
+++ b/index.js
@@ -0,0 +1,68 @@
+var path = require('path');
+
+module.exports = {
+  help: {
+    short: 'h',
+    info: 'Display this help text.',
+    type: Boolean
+  },
+  base: {
+    short: 'b',
+    info: 'Specify an alternate base path. By default, all file paths are relative to the Gruntfile. ' +
+          '(grunt.file.setBase) *',
+    type: path
+  },
+  color: {
+    info: 'Disable colored output.',
+    type: Boolean,
+    negate: true
+  },
+  gruntfile: {
+    info: 'Specify an alternate Gruntfile. By default, grunt looks in the current or parent directories ' +
+          'for the nearest Gruntfile.js or Gruntfile.coffee file.',
+    type: path
+  },
+  debug: {
+    short: 'd',
+    info: 'Enable debugging mode for tasks that support it.',
+    type: [Number, Boolean]
+  },
+  stack: {
+    info: 'Print a stack trace when exiting with a warning or fatal error.',
+    type: Boolean
+  },
+  force: {
+    short: 'f',
+    info: 'A way to force your way past warnings. Want a suggestion? Don\'t use this option, fix your code.',
+    type: Boolean
+  },
+  tasks: {
+    info: 'Additional directory paths to scan for task and "extra" files. (grunt.loadTasks) *',
+    type: Array
+  },
+  npm: {
+    info: 'Npm-installed grunt plugins to scan for task and "extra" files. (grunt.loadNpmTasks) *',
+    type: Array
+  },
+  write: {
+    info: 'Disable writing files (dry run).',
+    type: Boolean,
+    negate: true
+  },
+  verbose: {
+    short: 'v',
+    info: 'Verbose mode. A lot more information output.',
+    type: Boolean
+  },
+  version: {
+    short: 'V',
+    info: 'Print the grunt version. Combine with --verbose for more info.',
+    type: Boolean
+  },
+  // Even though shell auto-completion is now handled by grunt-cli, leave this
+  // option here for display in the --help screen.
+  completion: {
+    info: 'Output shell auto-completion rules. See the grunt-cli documentation for more information.',
+    type: String
+  },
+};
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..d99455a
--- /dev/null
+++ b/package.json
@@ -0,0 +1,20 @@
+{
+  "name": "grunt-known-options",
+  "description": "The known options used in Grunt",
+  "version": "1.1.0",
+  "author": "Grunt Development Team (http://gruntjs.com/development-team)",
+  "homepage": "http://gruntjs.com/",
+  "repository": "gruntjs/grunt-known-options",
+  "license": "MIT",
+  "engines": {
+    "node": ">=0.10.0"
+  },
+  "main": "index.js",
+  "dependencies": {
+  },
+  "devDependencies": {
+  },
+  "files": [
+    "index.js"
+  ]
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-grunt-known-options.git



More information about the Pkg-javascript-commits mailing list