-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40cbd38
commit 2fdb924
Showing
7 changed files
with
52 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
{ | ||
"presets": ["es2015", "stage-0", "stage-3"] | ||
"presets": ["latest", "stage-0"], | ||
"env": { | ||
"test": { | ||
"plugins": [ | ||
["istanbul", {"include": ["src/**"]}], | ||
"rewire" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
# Logs | ||
npm-debug.log* | ||
|
||
# Coverage directories | ||
coverage/ | ||
.nyc_output/ | ||
|
||
# Compiled code | ||
build/ | ||
|
||
# Dependencies | ||
node_modules/ | ||
|
||
# Optional npm cache directory | ||
.npm/ | ||
|
||
# Webflow | ||
.idea/ | ||
build/ | ||
|
||
# Operating System | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,21 @@ | ||
# Logs | ||
npm-debug.log* | ||
|
||
# Coverage directories | ||
coverage/ | ||
.nyc_output/ | ||
|
||
# Source code | ||
src/ | ||
|
||
# Dependencies | ||
node_modules/ | ||
|
||
# Optional npm cache directory | ||
.npm/ | ||
|
||
# Webflow | ||
.idea/ | ||
src/ | ||
tests/ | ||
.DS_Store | ||
|
||
# Operating System | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
language: node_js | ||
node_js: | ||
- "4" | ||
- "5" | ||
- "6" | ||
after_script: "./node_modules/.bin/codecov" | ||
after_script: "$(npm bin)/codecov" | ||
branches: | ||
only: | ||
- master | ||
- master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ | |
"description": "Calculate statistics and distributions of a value across the playerbase", | ||
"main": "./build/index.js", | ||
"scripts": { | ||
"prepublish": "npm run build", | ||
"build": "./node_modules/.bin/babel src/ -d build/", | ||
"test": "./node_modules/babel-cli/bin/babel-node.js ./node_modules/.bin/isparta cover --include-all-sources ./node_modules/.bin/_mocha -- tests/ --recursive && node node_modules/snazzy/bin/cmd.js" | ||
"prepublish": "abc build", | ||
"build": "abc build", | ||
"test": "abc test && abc lint" | ||
}, | ||
"author": "[email protected]", | ||
"license": "MIT", | ||
|
@@ -15,22 +15,10 @@ | |
"url": "https://github.com/gw2efficiency/playerbase-statistics" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^4.1.6", | ||
"chai": "^3.4.1", | ||
"codecov": "^1.0.1", | ||
"isparta": "^4.0.0", | ||
"mocha": "^2.3.4", | ||
"snazzy": "^2.0.1", | ||
"babel-cli": "^6.4.5", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-preset-stage-0": "^6.3.13", | ||
"babel-preset-stage-3": "^6.3.13" | ||
}, | ||
"standard": { | ||
"parser": "babel-eslint" | ||
"abc-environment": "^1.0.8" | ||
}, | ||
"dependencies": { | ||
"round-to": "^1.1.0", | ||
"simple-statistics": "^2.1.0" | ||
} | ||
} | ||
} |