2022-05-27 09:22:18 +00:00
|
|
|
{
|
2022-08-31 04:35:46 +00:00
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
2022-05-27 09:22:18 +00:00
|
|
|
"sourceRoot": "libs/smart-contracts/src",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
|
|
|
"executor": "@nrwl/js:tsc",
|
|
|
|
"outputs": ["{options.outputPath}"],
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist/libs/smart-contracts",
|
|
|
|
"main": "libs/smart-contracts/src/index.ts",
|
|
|
|
"tsConfig": "libs/smart-contracts/tsconfig.lib.json",
|
|
|
|
"assets": ["libs/smart-contracts/*.md"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"executor": "@nrwl/linter:eslint",
|
|
|
|
"outputs": ["{options.outputFile}"],
|
|
|
|
"options": {
|
|
|
|
"lintFilePatterns": ["libs/smart-contracts/**/*.ts"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"executor": "@nrwl/jest:jest",
|
|
|
|
"outputs": ["coverage/libs/smart-contracts"],
|
|
|
|
"options": {
|
2022-08-31 04:35:46 +00:00
|
|
|
"jestConfig": "libs/smart-contracts/jest.config.ts",
|
2022-05-27 09:22:18 +00:00
|
|
|
"passWithNoTests": true
|
|
|
|
}
|
2022-10-25 07:41:16 +00:00
|
|
|
},
|
|
|
|
"build-spec": {
|
|
|
|
"executor": "@nrwl/workspace:run-commands",
|
|
|
|
"outputs": [],
|
|
|
|
"options": {
|
|
|
|
"command": "yarn tsc --project ./libs/smart-contracts/tsconfig.spec.json"
|
|
|
|
}
|
2022-05-27 09:22:18 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": []
|
|
|
|
}
|