|
1 | 1 | { |
2 | | - "name": "openapi-typescript-fetch", |
3 | | - "description": "A typed fetch client for openapi-typescript", |
4 | | - "version": "1.1.3", |
| 2 | + "name": "@cuppachino/openapi-into-fetch", |
| 3 | + "description": "An updated fork of ajaishankar's openapi-typescript-fetch", |
| 4 | + "version": "2.0.0", |
| 5 | + "private": "false", |
| 6 | + "publishConfig": { |
| 7 | + "access": "public" |
| 8 | + }, |
5 | 9 | "engines": { |
6 | 10 | "node": ">= 12.0.0", |
7 | 11 | "npm": ">= 7.0.0" |
8 | 12 | }, |
9 | 13 | "author": "Ajai Shankar", |
10 | 14 | "license": "MIT", |
| 15 | + "type": "module", |
11 | 16 | "main": "./dist/cjs/index.js", |
12 | 17 | "module": "./dist/esm/index.js", |
13 | 18 | "exports": { |
14 | | - "browser": "./dist/esm/index.js", |
| 19 | + "types": "./dist/index.d.ts", |
15 | 20 | "import": "./dist/esm/index.js", |
16 | | - "require": "./dist/cjs/index.js" |
| 21 | + "require": "./dist/cjs/index.cjs", |
| 22 | + "browser": "./dist/esm/index.js", |
| 23 | + "default": "./dist/cjs/index.cjs" |
17 | 24 | }, |
18 | 25 | "files": [ |
19 | 26 | "dist" |
|
37 | 44 | }, |
38 | 45 | "homepage": "https://github.com/ajaishankar/openapi-typescript-fetch#readme", |
39 | 46 | "devDependencies": { |
40 | | - "msw": "^0.35.0", |
41 | | - "@typescript-eslint/eslint-plugin": "^4.30.0", |
42 | | - "@typescript-eslint/parser": "^4.31.0", |
| 47 | + "@changesets/cli": "^2.26.1", |
| 48 | + "@types/jest": "^29.5.0", |
| 49 | + "@types/node": "^18.15.5", |
| 50 | + "@typescript-eslint/eslint-plugin": "^4.33.0", |
| 51 | + "@typescript-eslint/parser": "^4.33.0", |
| 52 | + "codecov": "^3.8.3", |
43 | 53 | "eslint": "^7.32.0", |
44 | | - "eslint-config-prettier": "^8.3.0", |
45 | | - "eslint-plugin-prettier": "^4.0.0", |
46 | | - "codecov": "^3.8.2", |
47 | | - "jest": "^27.2.5", |
48 | | - "@types/jest": "^27.0.0", |
49 | | - "prettier": "^2.4.0", |
50 | | - "rimraf": "^3.0.0", |
51 | | - "ts-node": "^10.0.0", |
52 | | - "ts-jest": "^27.0.0", |
53 | | - "typescript": "^4.4.3", |
| 54 | + "eslint-config-prettier": "^8.8.0", |
| 55 | + "eslint-plugin-prettier": "^4.2.1", |
| 56 | + "jest": "^29.5.0", |
| 57 | + "jest-environment-jsdom": "^29.5.0", |
| 58 | + "msw": "^0.35.0", |
| 59 | + "prettier": "^2.8.6", |
| 60 | + "rimraf": "^3.0.2", |
| 61 | + "ts-jest": "^29.0.5", |
| 62 | + "ts-node": "^10.9.1", |
| 63 | + "typescript": "^5.0.2", |
54 | 64 | "whatwg-fetch": "^3.6.2" |
55 | 65 | }, |
56 | 66 | "prettier": { |
|
59 | 69 | "semi": false |
60 | 70 | }, |
61 | 71 | "scripts": { |
62 | | - "clean": "rimraf './dist'", |
63 | | - "build": "npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json", |
| 72 | + "clean": "rimraf ./dist", |
| 73 | + "build": "npm run clean && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json && node ./scripts/os.js", |
64 | 74 | "lint": "eslint .", |
65 | | - "prepare": "npm run build", |
66 | | - "test": "npm run build && jest", |
| 75 | + "test": "tsc --noEmit --project tsconfig.json && jest", |
| 76 | + "version-package": "changeset version && pnpm lint", |
| 77 | + "release": "pnpm build && pnpm test && changeset publish", |
67 | 78 | "test:coverage": "npm run build && jest --no-cache --coverage && codecov", |
68 | | - "test:coverage:local": "npm run build && jest --no-cache --collectCoverage", |
69 | | - "typecheck": "tsc --noEmit --project tsconfig.json" |
| 79 | + "test:coverage:local": "npm run build && jest --no-cache --collectCoverage" |
70 | 80 | } |
71 | 81 | } |
0 commit comments