|
6 | 6 | "repository": "hipstersmoothie/react-docgen-typescript-plugin", |
7 | 7 | "author": "Andrew Lisowski <lisowski54@gmail.com>", |
8 | 8 | "main": "dist/index.js", |
| 9 | + "publishConfig": { |
| 10 | + "registry": "https://registry.npmjs.org/", |
| 11 | + "access": "public" |
| 12 | + }, |
9 | 13 | "scripts": { |
| 14 | + "build:example": "npm run build && webpack", |
10 | 15 | "build": "tsc -p tsconfig.build.json", |
11 | 16 | "start": "yarn build --watch", |
12 | 17 | "lint": "eslint src --ext .ts,.js", |
13 | | - "test": "jest", |
| 18 | + "test": "npm run test:v4 && npm run test:v5", |
| 19 | + "pretest:v4": "add-no-save @types/webpack ts-loader@8 webpack@4", |
| 20 | + "test:v4": "jest", |
| 21 | + "pretest:v5": "add-no-save webpack@5", |
| 22 | + "test:v5": "jest", |
14 | 23 | "release": "auto shipit" |
15 | 24 | }, |
16 | 25 | "keywords": [ |
|
29 | 38 | "find-cache-dir": "^3.3.1", |
30 | 39 | "flat-cache": "^3.0.4", |
31 | 40 | "micromatch": "^4.0.2", |
32 | | - "react-docgen-typescript": "^1.20.5", |
33 | | - "tslib": "^2.0.0" |
| 41 | + "react-docgen-typescript": "^1.22.0", |
| 42 | + "tslib": "^2.0.0", |
| 43 | + "webpack-sources": "^2.2.0" |
34 | 44 | }, |
35 | 45 | "devDependencies": { |
36 | 46 | "@types/debug": "^4.1.5", |
37 | 47 | "@types/find-cache-dir": "^3.2.0", |
38 | 48 | "@types/flat-cache": "^2.0.0", |
39 | | - "@types/jest": "^26.0.16", |
| 49 | + "@types/jest": "^26.0.23", |
40 | 50 | "@types/micromatch": "^4.0.1", |
41 | 51 | "@types/node": "^14.0.12", |
42 | 52 | "@types/react": "^17.0.0", |
43 | | - "@types/webpack": "^4.41.17", |
| 53 | + "@types/webpack-sources": "^2.1.0", |
44 | 54 | "@typescript-eslint/eslint-plugin": "^4.9.0", |
45 | 55 | "@typescript-eslint/parser": "^4.9.0", |
46 | 56 | "auto": "^10.2.3", |
|
55 | 65 | "eslint-plugin-jsx-a11y": "^6.4.1", |
56 | 66 | "eslint-plugin-prettier": "3.1.3", |
57 | 67 | "jest": "^26.6.3", |
| 68 | + "memfs": "^3.2.2", |
| 69 | + "memory-fs": "^0.5.0", |
58 | 70 | "prettier": "^2.0.5", |
59 | 71 | "react": "^17.0.1", |
60 | | - "ts-jest": "^26.4.4", |
61 | | - "typescript": "3.8.3" |
| 72 | + "ts-jest": "^26.5.6", |
| 73 | + "ts-loader": "^9.1.2", |
| 74 | + "typescript": "3.8.3", |
| 75 | + "webpack": "^5.36.2", |
| 76 | + "webpack-cli": "^4.7.0", |
| 77 | + "yarn-add-no-save": "^1.0.3" |
62 | 78 | }, |
63 | 79 | "peerDependencies": { |
64 | | - "typescript": ">= 3.x" |
| 80 | + "typescript": ">= 3.x", |
| 81 | + "webpack": ">= 4" |
65 | 82 | }, |
66 | 83 | "lint-staged": { |
67 | 84 | "*.{js,css,md}": [ |
|
0 commit comments