From c97eb5f531678c358c65d5e2738d5e6ca6c09b66 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 9 Jul 2017 15:13:16 -0400 Subject: Initial commit --- .eslintrc.js | 27 +++++++++++++++++++++++++++ .gitignore | 1 + README.md | 1 + index.js | 0 package.json | 23 +++++++++++++++++++++++ 5 files changed, 52 insertions(+) create mode 100644 .eslintrc.js create mode 100644 .gitignore create mode 100644 README.md create mode 100644 index.js create mode 100644 package.json 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 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" + } +} -- cgit v1.2.3