зеркало из https://github.com/microsoft/rnx-kit.git
233 строки
6.7 KiB
JSON
233 строки
6.7 KiB
JSON
{
|
|
"private": true,
|
|
"name": "rnx-kit",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Microsoft Open Source",
|
|
"email": "microsoftopensource@users.noreply.github.com"
|
|
},
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/microsoft/rnx-kit"
|
|
},
|
|
"scripts": {
|
|
"build": "nx run-many --target build",
|
|
"build:ci": "nx affected --targets build,test",
|
|
"build:ci:all": "nx run-many --targets build,test",
|
|
"build-scope": "nx build",
|
|
"bundle": "nx run-many --target bundle",
|
|
"bundle:ci": "nx affected --target bundle",
|
|
"change": "changeset add",
|
|
"change:check": "changeset status",
|
|
"clean": "git clean -dfqx --exclude=.yarn/cache",
|
|
"clear-cache": "nx clear-cache",
|
|
"format": "nx run-many --target format",
|
|
"lint": "nx run-many --target lint",
|
|
"new-package": "node scripts/new-package.js",
|
|
"publish:changesets": "changeset publish",
|
|
"rnx-align-deps": "tsx --conditions typescript scripts/rnx-align-deps.js",
|
|
"show-affected": "nx show projects --affected",
|
|
"test": "nx run-many --targets build,test --output-style stream",
|
|
"update-readme": "nx run-many --target update-readme",
|
|
"version:changesets": "changeset version && yarn install --mode update-lockfile"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.22.0",
|
|
"@types/jest": "^29.2.1",
|
|
"@types/node": "^20.0.0",
|
|
"eslint": "^9.0.0",
|
|
"knip": "^5.30.2",
|
|
"metro": "^0.81.0",
|
|
"nx": "~19.5.0",
|
|
"prettier": "^3.0.0",
|
|
"prettier-plugin-organize-imports": "^4.0.0",
|
|
"tsx": "^4.15.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.17"
|
|
},
|
|
"packageManager": "yarn@4.4.0",
|
|
"resolutions": {
|
|
"@microsoft/eslint-plugin-sdl/eslint-plugin-react": "^7.35.2",
|
|
"@microsoft/eslint-plugin-sdl/eslint-plugin-security": "^1.4.0",
|
|
"@react-native-community/cli": "^15.0.0",
|
|
"@react-native-community/cli-platform-android": "^15.0.0",
|
|
"@react-native-community/cli-platform-ios": "^15.0.0",
|
|
"@react-native-community/cli-server-api": "^15.0.0",
|
|
"@react-native-community/cli-tools": "^15.0.0",
|
|
"@react-native-community/cli-types": "^15.0.0",
|
|
"@rnx-kit/react-native-host": "workspace:*",
|
|
"@vue/compiler-sfc": "link:./incubator/ignore",
|
|
"react-native-macos/@react-native/assets-registry": "^0.76.0",
|
|
"react-native-macos/@react-native/codegen": "^0.76.0",
|
|
"react-native-macos/@react-native/community-cli-plugin": "^0.76.0",
|
|
"react-native-macos/@react-native/gradle-plugin": "^0.76.0",
|
|
"react-native-macos/@react-native/js-polyfills": "^0.76.0",
|
|
"react-native-macos/@react-native/normalize-colors": "^0.76.0",
|
|
"react-native-windows/@react-native/assets-registry": "^0.76.0",
|
|
"react-native-windows/@react-native/codegen": "^0.76.0",
|
|
"react-native-windows/@react-native/community-cli-plugin": "^0.76.0",
|
|
"react-native-windows/@react-native/gradle-plugin": "^0.76.0",
|
|
"react-native-windows/@react-native/js-polyfills": "^0.76.0",
|
|
"react-native-windows/@react-native/normalize-colors": "^0.76.0",
|
|
"react-native-windows/@react-native/virtualized-lists": "^0.76.0"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"incubator/*",
|
|
"incubator/@react-native-webapis/*",
|
|
"packages/*",
|
|
"scripts"
|
|
]
|
|
},
|
|
"knip": {
|
|
"include": [
|
|
"dependencies"
|
|
],
|
|
"exclude": [
|
|
"optionalPeerDependencies",
|
|
"unlisted"
|
|
],
|
|
"ignore": [
|
|
".github/workflows/pr.yml",
|
|
".github/workflows/rnx-build.yml"
|
|
],
|
|
"ignoreBinaries": [
|
|
"clang-format",
|
|
"ktlint",
|
|
"rnx-kit-scripts",
|
|
"swiftformat",
|
|
"swiftlint"
|
|
],
|
|
"ignoreDependencies": [
|
|
"@types/*",
|
|
"eslint",
|
|
"jest",
|
|
"prettier",
|
|
"prettier-plugin-organize-imports"
|
|
],
|
|
"workspaces": {
|
|
".": {
|
|
"ignoreDependencies": [
|
|
"metro"
|
|
]
|
|
},
|
|
"incubator/@react-native-webapis/battery-status": {
|
|
"ignoreDependencies": [
|
|
"@babel/core",
|
|
"@babel/preset-env"
|
|
]
|
|
},
|
|
"incubator/@react-native-webapis/web-storage": {
|
|
"ignoreDependencies": [
|
|
"@babel/core",
|
|
"@babel/preset-env",
|
|
"react-native-macos",
|
|
"react-native-windows"
|
|
]
|
|
},
|
|
"packages/babel-preset-metro-react-native": {
|
|
"ignoreDependencies": [
|
|
"@rnx-kit/babel-plugin-import-path-remapper"
|
|
]
|
|
},
|
|
"packages/cli": {
|
|
"entry": [
|
|
"scripts/**/*.ts",
|
|
"src/index.ts",
|
|
"test/**/*.test.ts"
|
|
],
|
|
"ignoreDependencies": [
|
|
"@babel/core",
|
|
"@babel/preset-env",
|
|
"tsx"
|
|
]
|
|
},
|
|
"packages/eslint-plugin": {
|
|
"ignoreDependencies": [
|
|
"eslint-plugin-react-hooks"
|
|
]
|
|
},
|
|
"packages/jest-preset": {
|
|
"ignoreDependencies": [
|
|
"react",
|
|
"react-native"
|
|
]
|
|
},
|
|
"packages/metro-config": {
|
|
"ignoreDependencies": [
|
|
"@babel/core",
|
|
"@babel/preset-env"
|
|
]
|
|
},
|
|
"packages/metro-plugin-duplicates-checker": {
|
|
"entry": [
|
|
"src/index.ts",
|
|
"test/__mocks__/**/*.js"
|
|
]
|
|
},
|
|
"packages/metro-serializer-esbuild": {
|
|
"entry": [
|
|
"metro.config.js",
|
|
"scripts/**/*.ts",
|
|
"src/index.ts",
|
|
"test/**/*.test.ts"
|
|
],
|
|
"ignoreDependencies": [
|
|
"@babel/preset-env",
|
|
"@fluentui/utilities"
|
|
]
|
|
},
|
|
"packages/react-native-auth": {
|
|
"ignoreDependencies": [
|
|
"@babel/core",
|
|
"@babel/preset-env",
|
|
"@react-native-community/cli",
|
|
"@react-native-community/cli-platform-android",
|
|
"@react-native-community/cli-platform-ios",
|
|
"@react-native/metro-config"
|
|
]
|
|
},
|
|
"packages/react-native-lazy-index": {
|
|
"entry": [
|
|
"src/index.js",
|
|
"test/**/*.test.ts"
|
|
],
|
|
"ignoreDependencies": [
|
|
"babel-plugin-codegen"
|
|
]
|
|
},
|
|
"packages/test-app": {
|
|
"entry": [
|
|
"index.js",
|
|
"metro.config.js",
|
|
"test/**/*.mjs"
|
|
],
|
|
"ignoreBinaries": [
|
|
"rnx"
|
|
],
|
|
"ignoreDependencies": [
|
|
"@babel/preset-env",
|
|
"@react-native-community/cli",
|
|
"@react-native-community/cli-platform-android",
|
|
"@react-native-community/cli-platform-ios",
|
|
"@react-native-webapis/web-storage",
|
|
"@rnx-kit/*",
|
|
"react-native-test-app",
|
|
"react-native-windows"
|
|
]
|
|
},
|
|
"packages/tools-react-native": {
|
|
"entry": [
|
|
"src/index.ts",
|
|
"test/**/*.test.ts"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"prettier": "./.github/prettierrc.json"
|
|
}
|