[Pkg-javascript-commits] [node-reserved] 01/03: Imported Upstream version 0.1.2+20140511
Julien Puydt
julien.puydt at laposte.net
Mon Oct 19 21:37:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-reserved.
commit 5f8c6026aed4995bf2c8913b4c28a37353a31544
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Sun Oct 18 16:37:19 2015 +0200
Imported Upstream version 0.1.2+20140511
---
.gitattributes | 14 +++++++++
.gitignore | 53 ++++++++++++++++++++++++++++++++
.jshintrc | 22 +++++++++++++
.verbrc.md | 27 ++++++++++++++++
LICENSE-MIT | 22 +++++++++++++
README.md | 36 ++++++++++++++++++++++
bower.json | 7 +++++
index.js | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
package.json | 41 +++++++++++++++++++++++++
9 files changed, 319 insertions(+)
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..759c2c5
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,14 @@
+# Enforce Unix newlines
+*.* text eol=lf
+*.css text eol=lf
+*.html text eol=lf
+*.js text eol=lf
+*.json text eol=lf
+*.less text eol=lf
+*.md text eol=lf
+*.yml text eol=lf
+
+*.jpg binary
+*.gif binary
+*.png binary
+*.jpeg binary
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7fd3a1a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,53 @@
+# Numerous always-ignore extensions
+*.csv
+*.dat
+*.diff
+*.err
+*.gz
+*.log
+*.orig
+*.out
+*.pid
+*.rej
+*.seed
+*.swo
+*.swp
+*.vi
+*.yo-rc.json
+*.zip
+*~
+.ruby-version
+lib-cov
+
+# OS or Editor folders
+*.esproj
+*.sublime-project
+*.sublime-workspace
+._*
+.cache
+.DS_Store
+.idea
+.project
+.settings
+.tmproj
+nbproject
+Thumbs.db
+
+# Komodo
+*.komodoproject
+.komodotools
+
+# grunt-html-validation
+validation-status.json
+validation-report.json
+
+# Vendor packages
+node_modules
+bower_components
+vendor
+
+# General folders and files to ignore
+_gh_pages
+tmp
+temp
+TODO.md
\ No newline at end of file
diff --git a/.jshintrc b/.jshintrc
new file mode 100644
index 0000000..e4104fe
--- /dev/null
+++ b/.jshintrc
@@ -0,0 +1,22 @@
+{
+ "esnext": true,
+ "boss": true,
+ "curly": true,
+ "eqeqeq": true,
+ "eqnull": true,
+ "immed": true,
+ "latedef": true,
+ "newcap": true,
+ "noarg": true,
+ "node": true,
+ "sub": true,
+ "undef": true,
+ "unused": true,
+ "globals": {
+ "define": true,
+ "before": true,
+ "after": true,
+ "describe": true,
+ "it": true
+ }
+}
\ No newline at end of file
diff --git a/.verbrc.md b/.verbrc.md
new file mode 100644
index 0000000..36956a0
--- /dev/null
+++ b/.verbrc.md
@@ -0,0 +1,27 @@
+# {%= name %} {%= badge('fury') %}
+
+> {%= description %}
+
+Used in [namify](https://github.com/jonschlinkert/namify)
+
+## Install
+{%= include("install") %}
+
+## Usage
+
+```js
+var reserved = require('reserved');
+console.log(reserved);
+//=> 'abstract', 'arguments', 'boolean', 'break', 'byte', 'case'...
+```
+
+## Author
+{%= contrib("jon") %}
+
+## License
+{%= copyright() %}
+{%= license() %}
+
+***
+
+{%= include("footer") %}
\ No newline at end of file
diff --git a/LICENSE-MIT b/LICENSE-MIT
new file mode 100644
index 0000000..1352909
--- /dev/null
+++ b/LICENSE-MIT
@@ -0,0 +1,22 @@
+Copyright (c) 2014 , contributors.
+
+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.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..9e4e5a4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,36 @@
+# reserved [![NPM version](https://badge.fury.io/js/reserved.png)](http://badge.fury.io/js/reserved)
+
+> Reserved words that may not be used as variables, functions, methods, or object identifiers, since ECMAScript specifies special behavior for them.
+
+Used in [variable](https://github.com/jonschlinkert/variable)
+
+## Install
+Install with [npm](npmjs.org):
+
+```bash
+npm i reserved --save-dev
+```
+
+
+## Usage
+
+```js
+var reserved = require('reserved');
+console.log(reserved);
+//=> 'abstract', 'arguments', 'boolean', 'break', 'byte', 'case'...
+```
+
+## Author
+
+**Jon Schlinkert**
+
++ [github/jonschlinkert](https://github.com/jonschlinkert)
++ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+Copyright (c) 2014 Jon Schlinkert, contributors.
+Released under the MIT license
+
+***
+
+_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 11, 2014._
\ No newline at end of file
diff --git a/bower.json b/bower.json
new file mode 100644
index 0000000..e965090
--- /dev/null
+++ b/bower.json
@@ -0,0 +1,7 @@
+{
+ "name": "reserved",
+ "version": "0.1.2",
+ "main": [
+ "index.js"
+ ]
+}
\ No newline at end of file
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..cf480a0
--- /dev/null
+++ b/index.js
@@ -0,0 +1,97 @@
+/*!
+ * reserved <https://github.com/jonschlinkert/reserved
+ *
+ * Copyright (c) 2014 Jon Schlinkert, contributors
+ * Licensed under the MIT License (MIT)
+ */
+
+exports.reserved = [
+ 'abstract',
+ 'arguments',
+ 'boolean',
+ 'break',
+ 'byte',
+ 'case',
+ 'catch',
+ 'char',
+ 'class',
+ 'const',
+ 'continue',
+ 'debugger',
+ 'default',
+ 'delete',
+ 'do',
+ 'double',
+ 'else',
+ 'enum',
+ 'eval',
+ 'export',
+ 'extends',
+ 'false',
+ 'final',
+ 'finally',
+ 'float',
+ 'for',
+ 'function',
+ 'goto',
+ 'if',
+ 'implements',
+ 'import',
+ 'in',
+ 'instanceof',
+ 'int',
+ 'interface',
+ 'let',
+ 'long',
+ 'native',
+ 'new',
+ 'null',
+ 'package',
+ 'private',
+ 'protected',
+ 'public',
+ 'return',
+ 'short',
+ 'static',
+ 'super',
+ 'switch',
+ 'synchronized',
+ 'this',
+ 'throw',
+ 'throws',
+ 'transient',
+ 'true',
+ 'try',
+ 'typeof',
+ 'var',
+ 'void',
+ 'volatile',
+ 'while',
+ 'with',
+ 'yield'
+];
+
+exports.builtins = [
+ 'Array',
+ 'Date',
+ 'eval',
+ 'function',
+ 'hasOwnProperty',
+ 'Infinity',
+ 'isFinite',
+ 'isNaN',
+ 'isPrototypeOf',
+ 'length',
+ 'Math',
+ 'name',
+ 'NaN',
+ 'Number',
+ 'Object',
+ 'prototype',
+ 'String',
+ 'toString',
+ 'undefined',
+ 'valueOf'
+];
+
+module.exports = exports.reserved.concat(exports.builtins);
\ No newline at end of file
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..90ae1a3
--- /dev/null
+++ b/package.json
@@ -0,0 +1,41 @@
+{
+ "name": "reserved",
+ "description": "Reserved words that may not be used as variables, functions, methods, or object identifiers, since ECMAScript specifies special behavior for them.",
+ "version": "0.1.2",
+ "homepage": "https://github.com/jonschlinkert/reserved",
+ "author": {
+ "name": "Jon Schlinkert",
+ "url": "https://github.com/jonschlinkert"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/jonschlinkert/reserved.git"
+ },
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/reserved/issues"
+ },
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "https://github.com/jonschlinkert/reserved/blob/master/LICENSE-MIT"
+ }
+ ],
+ "keywords": [
+ "reserved",
+ "words",
+ "javascript",
+ "ECMAScript"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.8"
+ },
+ "scripts": {
+ "test": "mocha -R spec"
+ },
+ "devDependencies": {
+ "verb": "~0.2.0",
+ "chai": "~1.9.1",
+ "mocha": "~1.18.2"
+ }
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-reserved.git
More information about the Pkg-javascript-commits
mailing list