diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..f67f1c2 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,30 @@ +{ + "env": { + "browser": true, + "node": true, + "commonjs": true, + "es6": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "sourceType": "module" + }, + "rules": { + "indent": [ + "warn", + "tab", + { "SwitchCase": 1} + ], + "quotes": [ + "warn", + "double" + ], + "semi": [ + "error", + "always" + ], + "no-undef": "error", + "no-unused-vars": "warn", + "eqeqeq": ["error", "always"] + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..61b461d --- /dev/null +++ b/.gitignore @@ -0,0 +1,52 @@ +### Node ### +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +node_cache +jspm_packages + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + + +# End of https://www.gitignore.io/api/node \ No newline at end of file diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..799e6bc --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +save=true +save-exact=true +cache=node_cache