Skip to content

Commit

Permalink
chore(open-payments): clean up package.json scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonianb committed Dec 15, 2022
1 parent d039e79 commit 93e9e8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
7 changes: 0 additions & 7 deletions packages/auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ Implements Open Payments authorization endpoints in accordance with the GNAP spe

## Local Development

Be sure to import the latest Open API spec schemas from the Open Payments repo:

```shell
# from the root
pnpm --filter auth run fetch-schemas
```

### Prerequisites

- [Docker](https://docs.docker.com/engine/install/) configured to [run as non-root user](https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user)
Expand Down
8 changes: 4 additions & 4 deletions packages/open-payments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"build:deps": "pnpm --filter openapi build && pnpm --filter http-signature-utils build",
"build": "pnpm build:deps && pnpm clean && tsc --build tsconfig.json && pnpm copy-files",
"clean": "rm -fr dist/",
"copy-files": "cp ./src/openapi/*.yaml ./dist/openapi/",
"fetch-schemas": "./scripts/fetch-schemas.sh",
"generate:auth-server-types": "openapi-typescript src/openapi/auth-server.yaml --output src/openapi/generated/auth-server-types.ts -t",
"generate:resource-server-types": "openapi-typescript src/openapi/resource-server.yaml --output src/openapi/generated/resource-server-types.ts -t",
"generate:auth-server-types": "openapi-typescript src/openapi/auth-server.yaml --output src/openapi/generated/auth-server-types.ts",
"generate:resource-server-types": "openapi-typescript src/openapi/resource-server.yaml --output src/openapi/generated/resource-server-types.ts",
"generate:types": "pnpm generate:auth-server-types && pnpm generate:resource-server-types",
"prepack": "pnpm build",
"test": "jest --passWithNoTests",
"copy-files": "cp ./src/openapi/*.yaml ./dist/openapi/"
"test": "jest --passWithNoTests"
},
"devDependencies": {
"@types/node": "^18.7.12",
Expand Down

0 comments on commit 93e9e8e

Please sign in to comment.