2022-05-27 09:22:18 +00:00
|
|
|
{
|
2023-07-04 11:01:25 +00:00
|
|
|
"name": "smart-contracts",
|
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": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/js:tsc",
|
2022-05-27 09:22:18 +00:00
|
|
|
"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": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/linter:eslint",
|
2022-05-27 09:22:18 +00:00
|
|
|
"outputs": ["{options.outputFile}"],
|
|
|
|
"options": {
|
|
|
|
"lintFilePatterns": ["libs/smart-contracts/**/*.ts"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/jest:jest",
|
|
|
|
"outputs": ["{workspaceRoot}/coverage/libs/smart-contracts"],
|
2022-05-27 09:22:18 +00:00
|
|
|
"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
|
2023-07-04 11:01:25 +00:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"ci": {
|
|
|
|
"ci": true,
|
|
|
|
"codeCoverage": true
|
|
|
|
}
|
2022-05-27 09:22:18 +00:00
|
|
|
}
|
2022-10-25 07:41:16 +00:00
|
|
|
},
|
|
|
|
"build-spec": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "nx:run-commands",
|
2022-10-25 07:41:16 +00:00
|
|
|
"outputs": [],
|
|
|
|
"options": {
|
|
|
|
"command": "yarn tsc --project ./libs/smart-contracts/tsconfig.spec.json"
|
|
|
|
}
|
2022-05-27 09:22:18 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": []
|
|
|
|
}
|