expo-backend-types 0.0.19 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.0.19",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -18,7 +18,8 @@
18
18
  "test:cov": "jest --coverage",
19
19
  "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
20
20
  "test:e2e": "jest --config ./test/jest-e2e.json",
21
- "postversion": "npm publish",
21
+ "generate-ts-schema": "ts-node src/main.swagger.ts && openapi-typescript ./swagger.yaml -o ./types/schema.d.ts",
22
+ "postversion": "npm run generate-ts-schema && npm publish",
22
23
  "postpublish": "git push --follow-tags"
23
24
  },
24
25
  "dependencies": {
@@ -80,7 +81,8 @@
80
81
  "files": [
81
82
  "./types/index.d.ts",
82
83
  "./types/schema.d.ts",
83
- "./types/prisma-schema/index.d.ts"
84
+ "./types/prisma-schema/index.d.ts",
85
+ "./types/prisma-schema/runtime/library.d.ts"
84
86
  ],
85
87
  "exports": {
86
88
  ".": {