47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "smart-contracts",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/smart-contracts/src",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/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": "@nx/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/smart-contracts/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/libs/smart-contracts"],
|
|
"options": {
|
|
"jestConfig": "libs/smart-contracts/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"codeCoverage": true
|
|
}
|
|
}
|
|
},
|
|
"build-spec": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"command": "yarn tsc --project ./libs/smart-contracts/tsconfig.spec.json"
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|