react-native-test-app
Version:
react-native-test-app provides a test app for all supported platforms as a package
216 lines (215 loc) • 6.2 kB
JSON
{
"name": "react-native-test-app",
"version": "2.5.4",
"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/config-plugins/**/*.mjs",
"test-app.gradle",
"test_app.rb",
"windows/*.{js,props}",
"windows/ReactTestApp"
],
"main": "scripts/configure.js",
"bin": {
"configure-test-app": "scripts/configure.js",
"init": "scripts/init.js",
"init-test-app": "scripts/init.js",
"install-windows-test-app": "windows/test-app.js"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/react-native-test-app.git"
},
"scripts": {
"clean": "git clean -dfqx --exclude=.yarn/cache",
"format:c": "clang-format -i $(git ls-files '*.cpp' '*.h' '*.m' '*.mm')",
"format:js": "prettier --write $(git ls-files '*.js' '*.yml' 'test/**/*.json')",
"format:swift": "swiftformat --swiftversion 5.5 --ifdef no-indent --stripunusedargs closure-only ios macos",
"generate:code": "node scripts/generate-manifest.mjs",
"generate:schema": "node scripts/generate-schema.mjs",
"lint:commit": "git log --format='%s' origin/trunk..HEAD | tail -1 | yarn commitlint-lite",
"lint:js": "eslint $(git ls-files '*.js' '*.mjs' ':!:.yarn') && tsc",
"lint:kt": "ktlint --android --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",
"test:js": "jest",
"test:rb": "bundle exec ruby -Ilib:test -e \"Dir.glob('test/test_*.rb').each { |file| require_relative file }\""
},
"dependencies": {
"@rnx-kit/react-native-host": "^0.2.6",
"ajv": "^8.0.0",
"chalk": "^4.1.0",
"cliui": "^8.0.0",
"fast-xml-parser": "^4.0.0",
"minimist": "^1.2.8",
"prompts": "^2.4.0",
"semver": "^7.3.5",
"uuid": "^8.3.2"
},
"peerDependencies": {
"@expo/config-plugins": ">=5.0",
"@react-native-community/cli": ">=5.0",
"@react-native-community/cli-platform-android": ">=5.0",
"@react-native-community/cli-platform-ios": ">=5.0",
"mustache": "^4.0.0",
"react": "~17.0.1 || ~18.0.0 || ~18.1.0 || ~18.2.0",
"react-native": "^0.0.0-0 || 0.64 - 0.72 || 1000.0.0",
"react-native-macos": "^0.0.0-0 || 0.64 || 0.66 || 0.68 || 0.71",
"react-native-windows": "^0.0.0-0 || 0.64 - 0.72"
},
"peerDependenciesMeta": {
"@expo/config-plugins": {
"optional": true
},
"@react-native-community/cli": {
"optional": true
},
"@react-native-community/cli-platform-android": {
"optional": true
},
"@react-native-community/cli-platform-ios": {
"optional": true
},
"mustache": {
"optional": true
},
"react-native-macos": {
"optional": true
},
"react-native-windows": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@expo/config-plugins": "^6.0.0",
"@microsoft/eslint-plugin-sdl": "^0.2.0",
"@react-native-community/cli": "^10.2.2",
"@react-native-community/cli-platform-android": "^10.2.0",
"@react-native-community/cli-platform-ios": "^10.2.1",
"@rnx-kit/commitlint-lite": "^1.0.0",
"@rnx-kit/eslint-plugin": "^0.4.0",
"@types/jest": "^29.0.0",
"@types/mustache": "^4.0.0",
"@types/node": "^16.0.0",
"@types/prompts": "~2.4.0",
"@types/semver": "^7.3.6",
"@types/uuid": "^8.3.1",
"eslint": "^8.0.0",
"eslint-plugin-jest": "^27.0.0",
"jest": "^29.2.1",
"js-yaml": "^4.1.0",
"memfs": "^3.3.0",
"prettier": "^2.3.1",
"react": "18.2.0",
"react-native": "^0.71.6",
"react-native-macos": "^0.71.0",
"react-native-windows": "^0.71.4",
"semantic-release": "^19.0.3",
"suggestion-bot": "^1.0.0",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=14.15"
},
"packageManager": "yarn@3.4.1",
"resolutions": {
"@expo/config-plugins/glob": "^7.1.6",
"@microsoft/eslint-plugin-sdl/eslint-plugin-react": "^7.26.0",
"@react-native-community/cli-platform-ios": "^10.2.1",
"@semantic-release/npm/npm": "link:./example",
"core-js-compat/semver": "^7.3.5"
},
"workspaces": [
"example"
],
"eslintConfig": {
"extends": [
"plugin:@microsoft/sdl/required",
"plugin:@rnx-kit/recommended",
"plugin:jest/recommended",
"plugin:jest/style"
],
"rules": {
"@typescript-eslint/ban-ts-comment": "off"
}
},
"jest": {
"collectCoverage": true,
"roots": [
"test"
]
},
"prettier": {
"endOfLine": "auto"
},
"release": {
"branches": [
{
"name": "trunk",
"channel": "latest"
},
{
"name": "releases/1.x",
"range": "1.x",
"channel": "release-1.x"
}
],
"tagFormat": "${version}",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": false,
"failTitle": false
}
]
]
}
}