vega-frontend-monorepo/libs/wallet/project.json

50 lines
1.3 KiB
JSON

{
"name": "wallet",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/wallet/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/wallet",
"main": "libs/wallet/src/index.ts",
"tsConfig": "libs/wallet/tsconfig.lib.json",
"assets": [],
"project": "libs/wallet/package.json",
"compiler": "swc",
"format": ["esm"],
"external": ["@vegaprotocol/types"]
}
},
"publish": {
"command": "node tools/scripts/publish.mjs wallet {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/wallet/**/*.ts", "libs/wallet/package.json"]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/wallet/jest.config.ts"
}
},
"local-registry": {
"executor": "@nx/js:verdaccio",
"options": {
"port": 4873,
"config": ".verdaccio/config.yml",
"storage": "tmp/local-registry/storage"
}
}
},
"tags": []
}