2022-02-24 03:19:18 +00:00
|
|
|
{
|
2023-07-04 11:01:25 +00:00
|
|
|
"name": "wallet",
|
2022-08-31 04:35:46 +00:00
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
2022-03-14 13:18:11 +00:00
|
|
|
"sourceRoot": "libs/wallet/src",
|
2022-02-24 03:19:18 +00:00
|
|
|
"projectType": "library",
|
|
|
|
"tags": [],
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/rollup:rollup",
|
2022-08-31 13:23:01 +00:00
|
|
|
"outputs": ["{options.outputPath}"],
|
2022-02-24 03:19:18 +00:00
|
|
|
"options": {
|
2022-03-14 13:18:11 +00:00
|
|
|
"outputPath": "dist/libs/wallet",
|
|
|
|
"tsConfig": "libs/wallet/tsconfig.lib.json",
|
|
|
|
"project": "libs/wallet/package.json",
|
|
|
|
"entryFile": "libs/wallet/src/index.ts",
|
2023-09-07 00:04:52 +00:00
|
|
|
"external": [
|
|
|
|
"react",
|
|
|
|
"react-dom",
|
|
|
|
"react/jsx-runtime",
|
|
|
|
"@vegaprotocol/i18n",
|
|
|
|
"@vegaprotocol/react-helpers",
|
|
|
|
"@vegaprotocol/types",
|
|
|
|
"@vegaprotocol/ui-toolkit",
|
|
|
|
"@vegaprotocol/utils",
|
|
|
|
"@vegaprotocol/wallet-client"
|
|
|
|
],
|
2023-07-04 11:01:25 +00:00
|
|
|
"rollupConfig": "@nx/react/plugins/bundle-rollup",
|
2023-09-08 20:43:54 +00:00
|
|
|
"compiler": "swc",
|
2023-08-31 02:40:04 +00:00
|
|
|
"format": ["esm", "cjs"],
|
2022-02-24 03:19:18 +00:00
|
|
|
"assets": [
|
|
|
|
{
|
2022-03-14 13:18:11 +00:00
|
|
|
"glob": "libs/wallet/README.md",
|
2022-02-24 03:19:18 +00:00
|
|
|
"input": ".",
|
|
|
|
"output": "."
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
2023-11-14 14:25:29 +00:00
|
|
|
"executor": "@nx/eslint:lint",
|
2022-08-31 13:23:01 +00:00
|
|
|
"outputs": ["{options.outputFile}"],
|
2022-02-24 03:19:18 +00:00
|
|
|
"options": {
|
2022-08-31 13:23:01 +00:00
|
|
|
"lintFilePatterns": ["libs/wallet/**/*.{ts,tsx,js,jsx}"]
|
2022-02-24 03:19:18 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/jest:jest",
|
|
|
|
"outputs": ["{workspaceRoot}/coverage/libs/wallet"],
|
2022-02-24 03:19:18 +00:00
|
|
|
"options": {
|
2023-11-14 14:25:29 +00:00
|
|
|
"jestConfig": "libs/wallet/jest.config.ts"
|
2022-02-24 03:19: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/wallet/tsconfig.spec.json"
|
|
|
|
}
|
2022-02-24 03:19:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|