diff options
author | Aryan Goharzad <arrygoo@gmail.com> | 2023-01-19 13:28:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 12:28:52 -0600 |
commit | 0536a6afcfce0ef2bebfc7cacf13d3d80ef82229 (patch) | |
tree | 49469590686c8c4e79ef3f50cf2f9c602a2a10b1 /package.json | |
parent | f969e746f7ee4db76cb70b409662a925b06647a7 (diff) | |
download | voidsky-0536a6afcfce0ef2bebfc7cacf13d3d80ef82229.tar.zst |
Adding action for linting (#51)
* Adding action for linting * Configuring eslint * Update lint.yml * Update lint.yml * Update lint.yml * adds yarn jest to package.json * test report * debugging tests * trying force exit * force exit * test1 * forceexit * using another reporter * jest debugging * separated lints & tests * test * Cleanup * Add /src/third-party, /ios, and /android to ignore list
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/package.json b/package.json index 461a9f384..109fb3279 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ "web": "react-scripts start", "start": "react-native start", "clean-cache": "rm -rf node_modules/.cache/babel-loader/*", - "test": "jest --coverage", + "test": "jest", + "test-ci": "jest --ci --forceExit --reporters=default --reporters=jest-junit", + "test-coverage": "jest --coverage", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { @@ -75,13 +77,15 @@ "@types/lodash.omit": "^4.5.7", "@types/react-native": "^0.67.3", "@types/react-test-renderer": "^17.0.1", - "@typescript-eslint/eslint-plugin": "^5.17.0", - "@typescript-eslint/parser": "^5.17.0", + "@typescript-eslint/eslint-plugin": "^5.48.2", + "@typescript-eslint/parser": "^5.48.2", "babel-jest": "^29.2.1", "babel-plugin-react-native-web": "^0.17.7", "eslint": "^8.19.0", "jest": "^29.2.1", + "jest-junit": "^15.0.0", "metro-react-native-babel-preset": "0.73.5", + "prettier": "^2.8.3", "react-native-dotenv": "^3.3.1", "react-scripts": "^5.0.1", "react-test-renderer": "18.2.0", @@ -117,7 +121,8 @@ "<rootDir>/src/view/com/util", "<rootDir>/src/state/lib", "<rootDir>/__tests__/test-utils.js" - ] + ], + "reporters": [ "default", "jest-junit" ] }, "browserslist": { "production": [ |