b3014bb98a
Co-authored-by: Edd <edd@vega.xyz>
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"name": "wallet",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/wallet/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/rollup:rollup",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/wallet",
|
|
"tsConfig": "libs/wallet/tsconfig.lib.json",
|
|
"project": "libs/wallet/package.json",
|
|
"entryFile": "libs/wallet/src/index.ts",
|
|
"external": [
|
|
"react",
|
|
"react-dom",
|
|
"react/jsx-runtime",
|
|
"@vegaprotocol/i18n",
|
|
"@vegaprotocol/react-helpers",
|
|
"@vegaprotocol/types",
|
|
"@vegaprotocol/ui-toolkit",
|
|
"@vegaprotocol/utils",
|
|
"@vegaprotocol/wallet-client"
|
|
],
|
|
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
|
"compiler": "swc",
|
|
"format": ["esm", "cjs"],
|
|
"assets": [
|
|
{
|
|
"glob": "libs/wallet/README.md",
|
|
"input": ".",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/wallet/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/libs/wallet"],
|
|
"options": {
|
|
"jestConfig": "libs/wallet/jest.config.ts"
|
|
}
|
|
},
|
|
"build-spec": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"command": "yarn tsc --project ./libs/wallet/tsconfig.spec.json"
|
|
}
|
|
}
|
|
}
|
|
}
|