2023-02-28 18:56:29 +00:00
|
|
|
{
|
2023-07-04 11:01:25 +00:00
|
|
|
"name": "utils",
|
2023-02-28 18:56:29 +00:00
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
|
|
"sourceRoot": "libs/utils/src",
|
|
|
|
"projectType": "library",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
2024-03-08 13:20:03 +00:00
|
|
|
"executor": "@nx/rollup:rollup",
|
2023-02-28 18:56:29 +00:00
|
|
|
"outputs": ["{options.outputPath}"],
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist/libs/utils",
|
|
|
|
"main": "libs/utils/src/index.ts",
|
|
|
|
"tsConfig": "libs/utils/tsconfig.lib.json",
|
2024-03-08 13:20:03 +00:00
|
|
|
"assets": [],
|
|
|
|
"project": "libs/utils/package.json",
|
|
|
|
"compiler": "swc",
|
|
|
|
"format": ["esm"],
|
|
|
|
"external": ["@vegaprotocol/types"]
|
2023-02-28 18:56:29 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"publish": {
|
2024-03-08 13:20:03 +00:00
|
|
|
"command": "node tools/scripts/publish.mjs utils {args.ver} {args.tag}",
|
|
|
|
"dependsOn": ["build"]
|
2023-02-28 18:56:29 +00:00
|
|
|
},
|
|
|
|
"lint": {
|
2023-11-14 14:25:29 +00:00
|
|
|
"executor": "@nx/eslint:lint",
|
2023-02-28 18:56:29 +00:00
|
|
|
"outputs": ["{options.outputFile}"],
|
|
|
|
"options": {
|
2024-03-08 13:20:03 +00:00
|
|
|
"lintFilePatterns": ["libs/utils/**/*.ts", "libs/utils/package.json"]
|
2023-02-28 18:56:29 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/jest:jest",
|
2024-03-08 13:20:03 +00:00
|
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
2023-02-28 18:56:29 +00:00
|
|
|
"options": {
|
2023-11-14 14:25:29 +00:00
|
|
|
"jestConfig": "libs/utils/jest.config.ts"
|
2023-02-28 18:56:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": []
|
|
|
|
}
|