vega-frontend-monorepo/libs/react-helpers/project.json
Matthew Russell b3014bb98a
chore(trading,governance,explorer): nx migration to latest (#5246)
Co-authored-by: Edd <edd@vega.xyz>
2023-11-14 15:25:29 +01:00

58 lines
1.6 KiB
JSON

{
"name": "react-helpers",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/react-helpers/src",
"projectType": "library",
"tags": [],
"targets": {
"build": {
"executor": "@nx/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/react-helpers",
"tsConfig": "libs/react-helpers/tsconfig.lib.json",
"project": "libs/react-helpers/package.json",
"entryFile": "libs/react-helpers/src/index.ts",
"external": [
"react",
"react-dom",
"react/jsx-runtime",
"@vegaprotocol/tailwindcss-config",
"@vegaprotocol/utils"
],
"rollupConfig": "@nx/react/plugins/bundle-rollup",
"compiler": "swc",
"format": ["esm", "cjs"],
"assets": [
{
"glob": "libs/react-helpers/README.md",
"input": ".",
"output": "."
}
]
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/react-helpers/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/libs/react-helpers"],
"options": {
"jestConfig": "libs/react-helpers/jest.config.ts"
}
},
"build-spec": {
"executor": "nx:run-commands",
"outputs": [],
"options": {
"command": "yarn tsc --project ./libs/react-helpers/tsconfig.spec.json"
}
}
}
}