forked from riteshshukla04/react-native-nitro-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 2.44 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 2.44 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
39
40
41
42
{
"name": "react-native-nitro-player",
"private": true,
"version": "0.5.9-alpha.0",
"repository": "https://github.com/mrousavy/react-native-nitro-player.git",
"author": "Ritesh Shukla <riteshshukla2381@gmail.com> (https://github.com/riteshshukla04)",
"workspaces": [
"react-native-nitro-player",
"example"
],
"scripts": {
"player": "bun --cwd react-native-nitro-player",
"specs": "bun player specs",
"example": "bun --cwd example",
"lint": "eslint \"**/*.{js,ts,tsx}\" --ignore-path .eslintignore",
"lint:fix": "eslint \"**/*.{js,ts,tsx}\" --fix --ignore-path .eslintignore",
"lint:ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/eslint-formatter-github-actions --ignore-path .eslintignore",
"format": "prettier --write \"**/*.{js,ts,tsx,json,md}\" --ignore-path .prettierignore",
"format:check": "prettier --check \"**/*.{js,ts,tsx,json,md}\" --ignore-path .prettierignore",
"format:all": "npm run format && npm run format:kotlin && npm run format:swift && npm run format:cpp",
"format:check:all": "npm run format:check && npm run format:check:kotlin && npm run format:check:swift && npm run format:check:cpp",
"format:kotlin": "bash scripts/format-kotlin.sh",
"format:check:kotlin": "bash scripts/check-kotlin.sh",
"format:swift": "bash scripts/format-swift.sh",
"format:check:swift": "bash scripts/check-swift.sh",
"format:cpp": "find react-native-nitro-player/android/src/main/cpp -type f \\( -name '*.cpp' -o -name '*.hpp' -o -name '*.h' \\) -exec clang-format -i {} + || (echo 'clang-format not installed. Install with: brew install clang-format (macOS) or apt-get install clang-format (Linux)' && exit 0)",
"format:check:cpp": "find react-native-nitro-player/android/src/main/cpp -type f \\( -name '*.cpp' -o -name '*.hpp' -o -name '*.h' \\) -exec clang-format --dry-run --Werror {} + || (echo 'clang-format not installed. Install with: brew install clang-format (macOS) or apt-get install clang-format (Linux)' && exit 0)",
"fix-lint": "bun run lint:fix && bun run format:all"
},
"devDependencies": {
"@babel/preset-env": "^7.28.3",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@jamesacarr/eslint-formatter-github-actions": "^0.2.0",
"@react-native/eslint-config": "^0.82.0",
"@types/bun": "latest",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3"
}
}