Skip to content

Commit

Permalink
ci: add testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ridvanaltun committed May 25, 2022
1 parent 76c01ef commit 6d432c0
Show file tree
Hide file tree
Showing 4 changed files with 1,237 additions and 21 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

indent_style = space
indent_size = 2

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
Empty file added __tests__/.gitkeep
Empty file.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"!lib/typescript/example"
],
"scripts": {
"test": "jest --passWithNoTests",
"prepare": "bob build",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
Expand Down Expand Up @@ -51,6 +52,7 @@
"@commitlint/cli": "^17.0.1",
"@commitlint/config-conventional": "^17.0.0",
"@react-native-community/eslint-config": "^2.0.0",
"@types/jest": "^27.5.1",
"@types/react": "^18.0.9",
"@types/react-native": "^0.67.7",
"@types/react-native-modalbox": "^1.4.10",
Expand All @@ -61,13 +63,21 @@
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.4.1",
"husky": "^4.3.8",
"jest": "^28.1.0",
"prettier": "^2.6.2",
"react": "^16.9.0",
"react-native": "^0.61.5",
"react-native-builder-bob": "^0.18.2",
"release-it": "^15.0.0",
"typescript": "^4.7.2"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
Expand Down
Loading

0 comments on commit 6d432c0

Please sign in to comment.