|
1 | 1 | { |
2 | 2 | "name": "react-gapi", |
| 3 | + "version": "0.0.1", |
3 | 4 | "description": "Google API per React hook", |
4 | 5 | "keywords": [ |
5 | 6 | "Google", |
|
9 | 10 | "repository": "https://github.com/ph-fritsche/react-gapi.git", |
10 | 11 | "author": "Philipp Fritsche", |
11 | 12 | "license": "MIT", |
12 | | - "main": "dist/index.js", |
| 13 | + "main": "dist/cjs/index.js", |
| 14 | + "module": "dist/esm/index.js", |
| 15 | + "types": "dist/types/index.d.ts", |
13 | 16 | "exports": { |
14 | | - "./testing": "./dist/testing.js" |
| 17 | + ".": { |
| 18 | + "node": "./dist/cjs/index.js", |
| 19 | + "import": "./dist/esm/index.js", |
| 20 | + "default": "./dist/cjs/index.js" |
| 21 | + }, |
| 22 | + "./testing": { |
| 23 | + "node": "./dist/cjs/testing.js", |
| 24 | + "import": "./dist/esm/testing.js", |
| 25 | + "default": "./dist/cjs/testing.js" |
| 26 | + } |
| 27 | + }, |
| 28 | + "typesVersions": { |
| 29 | + "*": { |
| 30 | + "dist/types/index.d.ts": ["./dist/types/index.d.ts"], |
| 31 | + "*": ["dist/types/*.d.ts"] |
| 32 | + } |
15 | 33 | }, |
16 | 34 | "files": [ |
17 | 35 | "dist/" |
|
24 | 42 | }, |
25 | 43 | "devDependencies": { |
26 | 44 | "@ph.fritsche/eslint-config": "^0.1.1", |
27 | | - "@ph.fritsche/scripts-config": "^1.0.0", |
28 | | - "@testing-library/jest-dom": "^5.11.8", |
29 | | - "@testing-library/react": "^11.2.3", |
30 | | - "@types/gapi": "^0.0.39", |
31 | | - "@types/gapi.auth2": "^0.0.52", |
32 | | - "@types/gapi.client": "^1.0.3", |
33 | | - "@types/react": "^17.0.0", |
34 | | - "@typescript-eslint/eslint-plugin": "^4.12.0", |
35 | | - "@typescript-eslint/parser": "^4.12.0", |
36 | | - "eslint": "^7.17.0", |
37 | | - "eslint-plugin-jest": "^24.1.3", |
38 | | - "eslint-plugin-jest-dom": "^3.6.5", |
39 | | - "eslint-plugin-jsx-a11y": "^6.4.1", |
40 | | - "eslint-plugin-react": "^7.22.0", |
41 | | - "eslint-plugin-react-hooks": "^4.2.0", |
42 | | - "eslint-plugin-testing-library": "^3.10.1", |
43 | | - "jest": "^26.6.3", |
| 45 | + "@ph.fritsche/scripts-config": "^2.0.0", |
| 46 | + "@testing-library/jest-dom": "^5.14.1", |
| 47 | + "@testing-library/react": "^12.0.0", |
| 48 | + "@types/gapi": "^0.0.41", |
| 49 | + "@types/gapi.auth2": "^0.0.55", |
| 50 | + "@types/gapi.client": "^1.0.5", |
| 51 | + "@types/react": "^17.0.18", |
| 52 | + "@typescript-eslint/eslint-plugin": "^4.29.1", |
| 53 | + "@typescript-eslint/parser": "^4.29.1", |
| 54 | + "eslint": "^7.32.0", |
| 55 | + "jest": "^27.0.6", |
44 | 56 | "jest-tobetype": "^1.2.3", |
45 | | - "react": "^17.0.1", |
46 | | - "react-dom": "^17.0.1", |
47 | | - "shared-scripts": "^1.0.0", |
48 | | - "ts-jest": "^26.4.4", |
49 | | - "typescript": "^4.1.3" |
| 57 | + "react": "^17.0.2", |
| 58 | + "react-dom": "^17.0.2", |
| 59 | + "shared-scripts": "^1.4.1", |
| 60 | + "ts-jest": "^27.0.4", |
| 61 | + "typescript": "^4.3.5" |
50 | 62 | }, |
51 | 63 | "scripts": { |
52 | 64 | "build": "scripts ts-build", |
|
0 commit comments