diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-07-09 15:13:16 -0400 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-07-09 15:13:16 -0400 |
commit | c97eb5f531678c358c65d5e2738d5e6ca6c09b66 (patch) | |
tree | 3b1f343b2e76f2796ccd5b13c34d35dd3ff81180 |
Initial commit
-rw-r--r-- | .eslintrc.js | 27 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | index.js | 0 | ||||
-rw-r--r-- | package.json | 23 |
5 files changed, 52 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..7e69d44 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,27 @@ +module.exports = { + "env": { + "browser": true, + "es6": true, + "node": true, + "jest": true + }, + "extends": "eslint:recommended", + "rules": { + "indent": [ + "error", + 2 + ], + "linebreak-style": [ + "error", + "unix" + ], + "quotes": [ + "error", + "single" + ], + "semi": [ + "error", + "never" + ] + } +}; diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8d87b1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/* diff --git a/README.md b/README.md new file mode 100644 index 0000000..d6d96ba --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# dice.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/index.js diff --git a/package.json b/package.json new file mode 100644 index 0000000..395a181 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "dice", + "version": "0.0.1", + "description": "Dice expression parser and evaluator", + "main": "index.js", + "scripts": { + "test": "jest" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/m-chrzan/dice.js.git" + }, + "author": "Marcin Chrzanowski", + "license": "MIT", + "bugs": { + "url": "https://github.com/m-chrzan/dice.js/issues" + }, + "homepage": "https://github.com/m-chrzan/dice.js#readme", + "devDependencies": { + "eslint": "^4.2.0", + "jest": "^20.0.4" + } +} |