Skip to content

Commit

Permalink
build script
Browse files Browse the repository at this point in the history
  • Loading branch information
krizzu committed Mar 20, 2024
1 parent cd9386b commit 1b24a0a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"node": "v20.11.1"
},
"scripts": {
"build": "turbo run build",
"format": "concurrently 'yarn:format:*'",
"format:c": "clang-format -i $(git ls-files '*.cpp' '*.h' '*.m' '*.mm') --style file:.config/.clang-format",
"format:js": "prettier --write $(git ls-files '*.js' '*.json' '*.ts' '*.tsx' '*.yml' 'README.md')",
Expand Down
3 changes: 2 additions & 1 deletion packages/default-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"directory": "packages/default-storage-backend"
},
"scripts": {
"prepare": "bob build",
"prepack": "yarn build",
"build": "bob build",
"start": "react-native start",
"start:android": "react-native run-android",
"start:ios": "react-native run-ios",
Expand Down
8 changes: 7 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"test:lint": {},
"test:ts": {}
"test:ts": {},
"build": {
"outputs": ["lib/**"]
},
"async-storage-website#build": {
"outputs": ["build/**"]
}
}
}

0 comments on commit 1b24a0a

Please sign in to comment.