196 строки
6.4 KiB
JSON
196 строки
6.4 KiB
JSON
{
|
|
"name": "react-native-test-app",
|
|
"version": "0.0.1-dev",
|
|
"description": "react-native-test-app provides a test app for all supported platforms as a package",
|
|
"keywords": [
|
|
"android",
|
|
"app",
|
|
"ios",
|
|
"macos",
|
|
"react",
|
|
"react-native",
|
|
"test",
|
|
"test-app",
|
|
"testing",
|
|
"windows"
|
|
],
|
|
"homepage": "https://github.com/microsoft/react-native-test-app",
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Microsoft Open Source",
|
|
"email": "microsoftopensource@users.noreply.github.com"
|
|
},
|
|
"files": [
|
|
"*.md",
|
|
"ReactTestApp-DevSupport.podspec",
|
|
"android/**/*.gradle",
|
|
"android/app/lint.xml",
|
|
"android/app/src",
|
|
"!android/app/src/test",
|
|
"android/support/src",
|
|
"common",
|
|
"example/_gitignore",
|
|
"example/android/gradle",
|
|
"example/android/gradle.properties",
|
|
"example/android/gradlew*",
|
|
"example/windows/_gitignore",
|
|
"example/{metro,react-native}.config.js",
|
|
"ios",
|
|
"macos",
|
|
"plugins",
|
|
"react-native.config.js",
|
|
"schema.json",
|
|
"scripts/*.js",
|
|
"scripts/apply-config-plugins.mjs",
|
|
"scripts/colors.mjs",
|
|
"scripts/config-plugins",
|
|
"scripts/configure.mjs",
|
|
"scripts/embed-manifest",
|
|
"scripts/init.mjs",
|
|
"scripts/parseargs.mjs",
|
|
"scripts/schema.mjs",
|
|
"scripts/template.mjs",
|
|
"test-app.gradle",
|
|
"test_app.rb",
|
|
"visionos",
|
|
"windows",
|
|
"!.clang-format"
|
|
],
|
|
"main": "scripts/configure-projects.js",
|
|
"bin": {
|
|
"configure-test-app": "scripts/configure.mjs",
|
|
"init": "scripts/init.mjs",
|
|
"init-test-app": "scripts/init.mjs",
|
|
"install-windows-test-app": "windows/test-app.mjs"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/microsoft/react-native-test-app.git"
|
|
},
|
|
"scripts": {
|
|
"format:c": "clang-format -i $(git ls-files '*.cpp' '*.h' '*.m' '*.mm')",
|
|
"format:js": "prettier --write --log-level error $(git ls-files '*.[cm]js' '*.[jt]s' '*.tsx' '*.yml' 'CONTRIBUTING.md' 'README.md' 'test/**/*.json' ':!:.yarn/releases')",
|
|
"format:swift": "swiftformat $(git ls-files '*.swift')",
|
|
"generate:code": "node scripts/generate-manifest.mjs",
|
|
"generate:docs": "node scripts/generate-manifest-docs.mjs",
|
|
"generate:schema": "node scripts/generate-schema.mjs",
|
|
"lint:commit": "git log --format='%s' origin/trunk..HEAD | tail -1 | npx @rnx-kit/commitlint-lite@1.0.1",
|
|
"lint:js": "eslint $(git ls-files '*.[cm]js' '*.[jt]s' '*.tsx' ':!:*.config.js' ':!:.yarn/releases') && tsc && tsc --project tsconfig.esm.json",
|
|
"lint:kt": "ktlint --relative 'android/app/src/**/*.kt'",
|
|
"lint:rb": "bundle exec rubocop",
|
|
"lint:swift": "swiftlint",
|
|
"prepack": "node scripts/pack.mjs pre",
|
|
"postpack": "node scripts/pack.mjs post",
|
|
"set-react-version": "node scripts/set-react-version.mjs",
|
|
"show-affected": "node scripts/affected.mjs",
|
|
"test:js": "node --test --experimental-test-coverage $(git ls-files '*.test.mjs')",
|
|
"test:matrix": "node scripts/test-matrix.mjs",
|
|
"test:rb": "bundle exec ruby -Ilib:test -e \"Dir.glob('./test/test_*.rb').each { |file| require(file) }\""
|
|
},
|
|
"dependencies": {
|
|
"@rnx-kit/react-native-host": "^0.4.9",
|
|
"ajv": "^8.0.0",
|
|
"cliui": "^8.0.0",
|
|
"fast-xml-parser": "^4.0.0",
|
|
"prompts": "^2.4.0",
|
|
"semver": "^7.3.5",
|
|
"uuid": "^9.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@callstack/react-native-visionos": "0.73 - 0.74",
|
|
"@expo/config-plugins": ">=5.0",
|
|
"react": "17.0.1 - 18.2",
|
|
"react-native": "0.66 - 0.74 || >=0.75.0-0 <0.75.0",
|
|
"react-native-macos": "^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.73",
|
|
"react-native-windows": "^0.0.0-0 || 0.66 - 0.74"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@callstack/react-native-visionos": {
|
|
"optional": true
|
|
},
|
|
"@expo/config-plugins": {
|
|
"optional": true
|
|
},
|
|
"react-native-macos": {
|
|
"optional": true
|
|
},
|
|
"react-native-windows": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.1.6",
|
|
"@babel/preset-env": "^7.1.6",
|
|
"@eslint/eslintrc": "^2.1.4",
|
|
"@eslint/js": "^8.56.0",
|
|
"@expo/config-plugins": "^7.0.0",
|
|
"@microsoft/eslint-plugin-sdl": "^0.2.0",
|
|
"@react-native-community/cli": "^12.3.0",
|
|
"@rnx-kit/eslint-plugin": "^0.7.0",
|
|
"@rnx-kit/tsconfig": "^1.0.0",
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/mustache": "^4.0.0",
|
|
"@types/node": "^20.0.0",
|
|
"@types/prompts": "~2.4.0",
|
|
"@types/semver": "^7.3.6",
|
|
"@types/uuid": "^9.0.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-plugin-wdio": "^8.20.0",
|
|
"js-yaml": "^4.1.0",
|
|
"memfs": "^4.0.0",
|
|
"minimatch": "^9.0.0",
|
|
"prettier": "^3.0.0",
|
|
"react": "18.2.0",
|
|
"react-native": "^0.73.0",
|
|
"react-native-macos": "^0.73.0",
|
|
"react-native-windows": "^0.73.0",
|
|
"semantic-release": "^23.0.0",
|
|
"suggestion-bot": "^3.0.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.17"
|
|
},
|
|
"packageManager": "yarn@4.1.0",
|
|
"resolutions": {
|
|
"@appium/base-driver/express": "^4.19.2",
|
|
"@appium/docutils": "link:./example",
|
|
"@appium/support/@types/semver": "^7.5.8",
|
|
"@appium/support/archiver": "^7.0.1",
|
|
"@appium/support/semver": "^7.6.0",
|
|
"@expo/config-plugins/glob": "^7.1.6",
|
|
"@expo/json-file/@babel/code-frame": "^7.10.4",
|
|
"@microsoft/eslint-plugin-sdl/eslint-plugin-react": "^7.33.0",
|
|
"@pnpm/network.ca-file/graceful-fs": "~4.2.10",
|
|
"@react-native-community/cli": "^12.3.0",
|
|
"@react-native-community/cli-platform-android": "^12.3.0",
|
|
"@react-native-community/cli-platform-ios": "^12.3.0",
|
|
"@react-native/babel-preset": "^0.73.0",
|
|
"@react-native/community-cli-plugin": "^0.73.0",
|
|
"@react-native/community-cli-plugin/@react-native-community/cli-server-api": "^12.3.0",
|
|
"@react-native/community-cli-plugin/@react-native-community/cli-tools": "^12.3.0",
|
|
"@semantic-release/npm/npm": "link:./example",
|
|
"appium/@types/semver": "^7.5.8",
|
|
"appium/ajv": "^8.12.0",
|
|
"appium/semver": "^7.6.0",
|
|
"appium/yaml": "^2.4.1",
|
|
"body-parser": "~1.20.2",
|
|
"bplist-parser": "~0.3.2",
|
|
"safe-buffer": "~5.2.1"
|
|
},
|
|
"workspaces": [
|
|
"example"
|
|
],
|
|
"defaultPlatformPackages": {
|
|
"android": "react-native",
|
|
"ios": "react-native",
|
|
"macos": "react-native-macos",
|
|
"visionos": "@callstack/react-native-visionos",
|
|
"windows": "react-native-windows"
|
|
},
|
|
"prettier": "./.github/prettierrc.json",
|
|
"release": {
|
|
"extends": "./.github/semantic-release.json"
|
|
}
|
|
}
|