-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from Hargne/dev
Release v3.0.0
- Loading branch information
Showing
38 changed files
with
13,659 additions
and
9,907 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"presets": [ | ||
["@babel/typescript", { "allowNamespaces": true }], | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": "current" | ||
} | ||
} | ||
] | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
scripts-prepend-node-path=true |
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,4 @@ | ||
language: node_js | ||
node_js: | ||
- "11.10.1" | ||
- node | ||
- lts/* |
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,15 +1,20 @@ | ||
# Contributing | ||
|
||
So you want to contribute to the project? **How lovely!** Here are a few things to keep in mind when working with the project: | ||
|
||
## Linting | ||
[ESlint](https://eslint.org/) is used for style management. Make sure that your IDE recognizes the project's eslint config before you start developing. | ||
## Code Quality | ||
|
||
The format of the code is handled by the use of [Prettier](https://github.com/prettier/prettier). When coding, make sure that your IDE has access to use Prettier to format the code before committing the code to the repository. | ||
|
||
### Testing | ||
|
||
## Testing | ||
This project is using [jest](https://github.com/facebook/jest) for testing and the test specifications should be placed within the _/test_ folder. | ||
This project is using [Jest](https://github.com/facebook/jest) for testing and the test specifications should be placed within the _/test_ folder. | ||
All functionality should have it's use-cases somewhat thoroughly tested (best sentence ever, thank you very much). | ||
|
||
## Pull Requests | ||
|
||
When you are done with your contribution, issue a pull request. The project maintainers will have a look at it as soon as possible! | ||
|
||
## Have fun | ||
🎺 This is the most important thing of all. | ||
## Have fun | ||
|
||
🎺 This is the most important thing of all. |
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 |
---|---|---|
@@ -1,33 +1,44 @@ | ||
{ | ||
"roots": ["<rootDir>"], | ||
"collectCoverage": true, | ||
"collectCoverageFrom" : [ | ||
"src/**/*.{js,jsx}", | ||
"!src/style.js", | ||
"!**/test/*.{js,jsx}", | ||
"!**/node_modules/**", | ||
"!**/coverage/**", | ||
"!**/vendor/**" | ||
], | ||
"coverageDirectory": "./coverage", | ||
"coverageReporters": ["json", "html", "text", "text-summary"], | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 50, | ||
"functions": 50, | ||
"lines": 50, | ||
"statements": 50 | ||
} | ||
}, | ||
"reporters": [ | ||
"default", | ||
["./src", { | ||
"pageTitle": "Test Suite Reporter", | ||
"outputPath": "testResultsProcessorResult.html", | ||
"includeFailureMsg": true, | ||
"includeConsoleLog": true, | ||
"useCssFile" : true, | ||
"sort": "titleAsc" | ||
}] | ||
] | ||
"roots": ["<rootDir>"], | ||
"preset": "ts-jest", | ||
"globals": { | ||
"ts-jest": { | ||
"babelConfig": true | ||
} | ||
}, | ||
"collectCoverage": true, | ||
"collectCoverageFrom": [ | ||
"./src/**/*.{ts,tsx}", | ||
"!src/style.ts", | ||
"!**/test/*.{ts,tsx}", | ||
"!**/node_modules/**", | ||
"!**/coverage/**", | ||
"!**/vendor/**" | ||
], | ||
"coverageDirectory": "./coverage", | ||
"coverageReporters": ["json", "html", "text", "text-summary"], | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 50, | ||
"functions": 50, | ||
"lines": 50, | ||
"statements": 50 | ||
} | ||
}, | ||
"verbose": false, | ||
"reporters": [ | ||
"default", | ||
[ | ||
"./dist", | ||
{ | ||
"pageTitle": "Test Suite Reporter", | ||
"outputPath": "testResultsProcessorResult.html", | ||
"includeFailureMsg": true, | ||
"includeConsoleLog": true, | ||
"useCssFile": true, | ||
"sort": "titleAsc", | ||
"append": false | ||
} | ||
] | ||
] | ||
} |
Oops, something went wrong.