Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Meyer committed Oct 5, 2023
1 parent 0751fcb commit 22b467a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
"postinstall": "pnpm generate",
"lint": "pnpm eslint .",
"test": "pnpm vitest run --root ./use-defi/test --config ./vitest.config.ts",
"generate": "npx openapi-typescript https://api.enso.finance/api-json -o use-defi/src/generated/api.d.ts",
"build": "pnpm generate && pnpm build:setup && cd use-defi && rollup -c",
"build:setup": "pnpm gts clean && cd use-defi && mkdir dist && jq 'del(.scripts) | del(.devDependencies) | del(.private) | del(.pnpm)' package.json > dist/package.json && cp README.md dist/README.md",
"generate": "cd use-defi && pnpm generate",
"build": "cd use-defi && pnpm build",
"dev": "cd playground && vite dev"
},
"keywords": [],
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"noUnusedLocals": true,
"emitDeclarationOnly": true,
"allowJs": true,
"composite": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"outDir": "./dist",
Expand Down
1 change: 0 additions & 1 deletion use-defi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "pnpm generate",
"lint": "pnpm eslint src/*",
"test": "pnpm vitest run --root ./test --config ./vitest.config.ts",
"generate": "npx openapi-typescript https://api.enso.finance/api-json -o src/generated/api.d.ts",
"build": "pnpm generate && pnpm build:setup && rollup -c",
Expand Down
5 changes: 2 additions & 3 deletions use-defi/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
}
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"test/**/*.ts",
"src/**/*",
"test/**/*",
"vitest.config.ts"
]
}

0 comments on commit 22b467a

Please sign in to comment.