44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "trading-view",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/trading-view/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/trading-view/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"build": {
|
|
"executor": "@nx/rollup:rollup",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/trading-view",
|
|
"tsConfig": "libs/trading-view/tsconfig.lib.json",
|
|
"project": "libs/trading-view/package.json",
|
|
"entryFile": "libs/trading-view/src/index.ts",
|
|
"external": ["react", "react-dom", "react/jsx-runtime"],
|
|
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
|
"compiler": "babel",
|
|
"assets": [
|
|
{
|
|
"glob": "libs/trading-view/README.md",
|
|
"input": ".",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "libs/trading-view/jest.config.ts"
|
|
}
|
|
}
|
|
}
|
|
}
|