amazon-ivs-react-native-player
Version:
amazon-ivs-react-native-player
176 lines (175 loc) • 5.49 kB
JSON
{
"name": "amazon-ivs-react-native-player",
"version": "1.5.0",
"description": "amazon-ivs-react-native-player",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"amazon-ivs-react-native-player.podspec"
],
"scripts": {
"commit": "commit",
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"reset": "git clean -xdfe .vscode && yarn && yarn prepare",
"markbuild": "tsx ./scripts/example-dot-env.ts",
"prepare": "bob build && yarn markbuild",
"example": "yarn --cwd example",
"pods": "cd example && pod-install --quiet",
"bootstrap": "yarn example && yarn && yarn pods",
"e2e:ios": "yarn bootstrap && yarn e2e:reset && yarn example ios && yarn e2e:build:ios && yarn e2e:test:ios",
"e2e:android": "yarn bootstrap && yarn example android && yarn e2e:build:android && yarn e2e:test:android",
"e2e:reset": "detox clean-framework-cache && detox build-framework-cache",
"e2e:build:android": "detox build --configuration android",
"e2e:build:ios": "detox build --configuration ios",
"e2e:test:android": "yarn get:testbutler && detox test --configuration android --take-screenshots failing --loglevel verbose",
"e2e:test:ios": "detox test --configuration ios --take-screenshots failing --loglevel verbose",
"e2e:build:android:release": "detox build --configuration android.emu.release",
"e2e:build:ios:release": "detox build --configuration ios.sim.release",
"e2e:test:android:release": "yarn get:testbutler && detox test --configuration android.emu.release --headless --take-screenshots failing",
"e2e:test:ios:release": "detox test --configuration ios.sim.release --headless --take-screenshots failing",
"get:testbutler": "curl -f -o ./test-butler-app.apk https://repo1.maven.org/maven2/com/linkedin/testbutler/test-butler-app/2.2.1/test-butler-app-2.2.1.apk",
"release:create": "tsx ./scripts/release-create.ts",
"release:verify": "tsx ./scripts/release-verify.ts",
"release:tag": "tsx ./scripts/release-tag.ts"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": "https://github.com/aws/amazon-ivs-react-native-player",
"author": "AWS",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/aws/amazon-ivs-react-native-player/issues"
},
"homepage": "https://github.com/aws/amazon-ivs-react-native-player#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/runtime": "^7.16.7",
"@callstack/eslint-config": "^11.0.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/prompt-cli": "^17.6.6",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/jest-native": "^4.0.1",
"@testing-library/react-native": "^10.1.0",
"@types/inquirer": "^9.0.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.17",
"@types/react": "^17.0.38",
"@types/react-native": "0.69.9",
"@types/semver": "^7.5.0",
"chalk": "^5.3.0",
"commitlint": "^13.1.0",
"detox": "^20.18.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"inquirer": "^9.2.7",
"jest": "^29.3.1",
"jest-circus": "^29.3.1",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "18.0.0",
"react-native": "0.69.9",
"react-native-builder-bob": "^0.18.1",
"react-native-paper": "^5.12.3",
"react-test-renderer": "18.0.0",
"semver": "^7.5.4",
"simple-git": "^3.19.1",
"ts-jest": "^29.1.2",
"tsx": "^3.12.7",
"typescript": "^4.1.3",
"valtio": "^1.13.0",
"yaml": "^2.3.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"jest": {
"preset": "react-native",
"setupFilesAfterEnv": [
"@testing-library/jest-native/extend-expect"
],
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn lint && yarn typescript",
"post-commit": "yarn markbuild"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"root": true,
"extends": "@callstack/eslint-config/react",
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
],
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off"
},
"plugins": [
"detox",
"jest"
]
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"dependencies": {}
}