-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.9 KB
/
Copy pathpackage.json
File metadata and controls
38 lines (38 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "klarna-mobile-sdk-monorepo",
"version": "2.8.0",
"private": true,
"workspaces": [
"packages/*",
"TestApp"
],
"devDependencies": {
"@react-native/eslint-config": "^0.72.2",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"del-cli": "^5.1.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-prettier": "^5.0.0",
"prettier": "^3.0.3",
"typescript": "^5.0.2"
},
"scripts": {
"clean": "del-cli 'packages/*/lib' 'packages/*/android/build' 'packages/*/android/.gradle' 'packages/*/android/.settings' 'packages/*/ios/Pods' 'packages/*/ios/build' 'packages/*/coverage' 'TestApp/ios/Pods' 'TestApp/ios/build' 'TestApp/android/build' 'TestApp/android/app/build' 'TestApp/android/.gradle' 'TestApp/android/app/src/main/assets' 'TestApp/node_modules' 'packages/*/node_modules' 'node_modules'",
"lint": "yarn workspaces foreach --all --parallel run lint",
"prettier": "prettier --check \"{,packages/**/,TestApp/**/}*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"lint:fix": "yarn workspaces foreach --all --parallel run lint:fix",
"prettier:fix": "prettier --write \"{,packages/**/,TestApp/**/}*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"test": "yarn workspaces foreach --all --parallel run test",
"test:ios": "yarn workspaces foreach --all run test:ios",
"test:android": "cd TestApp/android && ./gradlew testDebugUnitTest --console=verbose && cd ../..",
"run:ios": "yarn workspace TestApp ios",
"run:android": "yarn workspace TestApp android",
"typecheck": "yarn workspaces foreach --all --parallel run typecheck",
"build:android": "yarn workspace TestApp build:android",
"build:ios": "yarn workspace TestApp build:ios",
"prepack": "yarn workspaces foreach --all --exclude TestApp --parallel run prepack"
},
"packageManager": "yarn@4.9.2"
}