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