Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiegurari committed Apr 28, 2017
0 parents commit f2ef769
Show file tree
Hide file tree
Showing 29 changed files with 1,160 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .atom-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
cmd: "npm"
name: "npm build"
args:
- "run"
- "build"
sh: true
env:
NODE_ENV: "development"
atomCommandName: "atom-custom:npmbuild"
targets:
test:
cmd: "npm"
name: "npm test"
args:
- "run"
- "jstest"
sh: true
env:
NODE_ENV: "development"
atomCommandName: "atom-custom:npmtest"
debug:
cmd: "npm"
name: "npm debug tests"
args:
- "run"
- "debug"
sh: true
env:
NODE_ENV: "development"
atomCommandName: "atom-custom:npmdebug"
format:
cmd: "npm"
name: "npm format"
args:
- "run"
- "format"
sh: true
env:
NODE_ENV: "development"
atomCommandName: "atom-custom:npmformat"
docs:
cmd: "npm"
name: "npm docs"
args:
- "run"
- "docs"
sh: true
env:
NODE_ENV: "development"
atomCommandName: "atom-custom:npmdocs"
80 changes: 80 additions & 0 deletions .bithoundrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"critics": {
"lint": {
"engine": "jshint"
},
"wc": {
"limit": 100000
}
},
"ignore": [
"Gruntfile.js",
".eslintrc.js",
"stylelint.config.js",
"test/**/*.js",
"project/**/*.js",
"example/**/*.js",
"docs/**/*.js"
],
"test": [
"**/test/**",
"**/spec/**"
],
"dependencies": {
"mute": [
"chai",
"grunt",
"grunt-cli",
"grunt-concurrent",
"grunt-contrib-clean",
"grunt-contrib-csslint",
"grunt-contrib-jshint",
"grunt-coveralls",
"grunt-eslint",
"grunt-force-task",
"grunt-filenames",
"grunt-gitdown",
"grunt-github-releaser",
"grunt-htmlhint",
"grunt-htmllint",
"grunt-jsbeautifier",
"grunt-jscs",
"grunt-jsdoc-to-markdown",
"grunt-jslint",
"grunt-jsonlint",
"grunt-karma",
"grunt-mocha-istanbul",
"grunt-release",
"grunt-remark",
"grunt-retire",
"grunt-shell",
"grunt-snyk",
"grunt-stylelint",
"grunt-version-check",
"grunt-yaml-validator",
"husky",
"istanbul",
"jit-grunt",
"karma",
"karma-cli",
"karma-coverage",
"karma-mocha",
"karma-phantomjs-launcher",
"karma-sinon-chai",
"load-grunt-configs",
"lolex",
"mocha",
"phantomjs-prebuilt",
"promiscuous",
"remark",
"remark-lint",
"rimraf",
"sinon",
"sinon-chai",
"snyk",
"stylelint",
"stylelint-config-standard",
"time-grunt"
]
}
}
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[*.json]
indent_size = 2
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

var commons = require('js-project-commons');

module.exports = commons.lint.eslint.node;
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
30 changes: 30 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Contribution Guidelines
<!-- markdownlint-disable required-headers -->

## Issues

Found a bug? Got a question? Want some enhancement?<br>
First place to go is the repository issues section and I'll try to help as much as possible.

## Pull Requests

Fixed a bug or just want to provided additional functionality?<br>
Simply fork this repository, implement your changes and create a pull request.<br>
Few guidelines regarding pull requests:

* This repository is integrated with travis.ci for continues integration.<br>

Your pull request build must pass (the build will run automatically).<br>
You can run the following command locally to ensure the build will pass:

````sh
npm run build
````

* This library is using multiple code inspection tools to validate certain level of standards.<br>The configuration is part of the repository and you can set your favorite IDE using that configuration.<br>You can run the following command locally to ensure the code inspection passes:

````sh
npm run lint
````

* There are many automatic unit tests as part of the library which provide full coverage of the functionality.<br>Any fix/enhancement must come with a set of tests to ensure its working well.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!-- markdownlint-disable first-header-h1 no-multiple-blanks first-line-h1 required-headers -->
#### Problem Description



#### Code Example

````js
//paste code here
````

#### Error Stack/Info (if any)


7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.idea
.c9
target
.temp
node_modules
bower_components
npm-debug.log
49 changes: 49 additions & 0 deletions .jsbeautifyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"js": {
"indent_size": 4,
"indent_char": " ",
"eol": "\n",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 2,
"space_in_paren": false,
"jslint_happy": true,
"space_after_anon_function": true,
"brace_style": "collapse",
"break_chained_methods": false,
"keep_array_indentation": true,
"unescape_strings": false,
"wrap_line_length": 0,
"end_with_newline": true,
"comma_first": false,
"eval_code": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"good_stuff": true
},
"css": {
"indent_size": 2,
"indent_char": " ",
"indent_with_tabs": false,
"eol": "\n",
"end_with_newline": true,
"selector_separator_newline": false,
"newline_between_rules": true
},
"html": {
"indent_size": 4,
"indent_char": " ",
"indent_with_tabs": false,
"eol": "\n",
"end_with_newline": true,
"preserve_newlines": true,
"max_preserve_newlines": 2,
"indent_inner_html": true,
"brace_style": "collapse",
"indent_scripts": "normal",
"wrap_line_length": 0,
"wrap_attributes": "auto",
"wrap_attributes_indent_size": 4
}
}

0 comments on commit f2ef769

Please sign in to comment.