nx/packages/react-native/project.json
James Henry 98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00

75 lines
2.1 KiB
JSON

{
"root": "packages/react-native",
"sourceRoot": "packages/react-native/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"packages/react-native/**/*.ts",
"packages/react-native/**/*.spec.ts",
"packages/react-native/**/*.spec.tsx",
"packages/react-native/**/*.spec.js",
"packages/react-native/**/*.spec.jsx",
"packages/react-native/**/*.d.ts"
]
},
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "packages/react-native/jest.config.js",
"passWithNoTests": true
},
"outputs": ["coverage/packages/react-native"]
},
"build-base": {
"executor": "@nrwl/js:tsc",
"options": {
"outputPath": "build/packages/react-native",
"tsConfig": "packages/react-native/tsconfig.lib.json",
"main": "packages/react-native/index.ts",
"assets": [
"packages/react-native/*.md",
{
"input": "packages/react-native",
"glob": "**/files/**/.babelrc__tmpl__",
"output": "/"
},
{
"input": "packages/react-native",
"glob": "**/files/**/.babelrc.template",
"output": "/"
},
{
"input": "./packages/react-native/src",
"glob": "**/*.!(ts)",
"output": "./src"
},
{
"input": "./packages/react-native",
"glob": "*.rb",
"output": "."
},
{
"input": "./packages/react-native",
"glob": "**/*.json",
"ignore": ["**/tsconfig*.json"],
"output": "/"
}
]
},
"outputs": ["{options.outputPath}"]
},
"build": {
"executor": "@nrwl/workspace:run-commands",
"outputs": ["build/packages/react-native"],
"options": {
"command": "node ./scripts/copy-readme.js react-native"
}
}
}
}