|
26 | 26 | "start": "run-p start:*",
|
27 | 27 | "start:source": "yarn build:source --watch",
|
28 | 28 | "start:types": "tsc -b -w --preserveWatchOutput src/",
|
29 |
| - "test": "node src test", |
| 29 | + "test": "SWC_NODE_PROJECT=src/tsconfig.json node src test", |
30 | 30 | "test:update": "node src test --updateSnapshot",
|
31 | 31 | "validate": "node src validate",
|
32 | 32 | "prepare": "husky install"
|
|
50 | 50 | "author": "Jamie Rolfs <[email protected]>",
|
51 | 51 | "license": "MIT",
|
52 | 52 | "dependencies": {
|
53 |
| - "@commitlint/cli": "^16.1.0", |
54 |
| - "@commitlint/config-conventional": "^16.2.1", |
55 |
| - "@commitlint/prompt": "^16.1.0", |
56 |
| - "@types/jest": "^27.0.2", |
| 53 | + "@commitlint/cli": "^17.4.2", |
| 54 | + "@commitlint/config-conventional": "^17.4.2", |
| 55 | + "@commitlint/prompt": "^17.4.2", |
| 56 | + "@swc-node/jest": "^1.5.6", |
| 57 | + "@swc/core": "^1.3.27", |
| 58 | + "@swc/helpers": "^0.4.14", |
| 59 | + "@types/jest": "^29.2.5", |
57 | 60 | "@types/lodash.has": "^4.5.7",
|
58 | 61 | "@types/mkdirp": "^1.0.2",
|
59 |
| - "@types/node": ">=17.x", |
| 62 | + "@types/node": "^18.11.18", |
60 | 63 | "@types/rimraf": "^3.0.2",
|
61 | 64 | "@types/which": "^2.0.1",
|
62 |
| - "@typescript-eslint/eslint-plugin": "^5.45.1", |
63 |
| - "@typescript-eslint/parser": "^5.45.1", |
64 |
| - "arrify": "^2.0.1", |
| 65 | + "@typescript-eslint/eslint-plugin": "^5.48.2", |
| 66 | + "@typescript-eslint/parser": "^5.48.2", |
65 | 67 | "commitizen": "^4.2.6",
|
66 |
| - "concurrently": "^7.0.0", |
67 |
| - "cosmiconfig": "^7.0.1", |
| 68 | + "concurrently": "^7.6.0", |
| 69 | + "cosmiconfig": "^8.0.0", |
68 | 70 | "cross-env": "^7.0.3",
|
69 | 71 | "cross-spawn": "^7.0.3",
|
70 |
| - "depcheck": "^1.4.3", |
71 |
| - "doctoc": "^2.1.0", |
72 |
| - "eslint": "^8.29.0", |
| 72 | + "doctoc": "^2.2.1", |
| 73 | + "eslint": "^8.32.0", |
73 | 74 | "eslint-config-airbnb": "19.0.4",
|
74 | 75 | "eslint-config-airbnb-typescript": "^17.0.0",
|
75 |
| - "eslint-config-prettier": "^8.5.0", |
76 |
| - "eslint-plugin-import": "^2.26.0", |
77 |
| - "eslint-plugin-jest": "^26.9.0", |
78 |
| - "eslint-plugin-jsx-a11y": "^6.6.1", |
| 76 | + "eslint-config-prettier": "^8.6.0", |
| 77 | + "eslint-plugin-import": "^2.27.5", |
| 78 | + "eslint-plugin-jest": "^27.2.1", |
| 79 | + "eslint-plugin-jsx-a11y": "^6.7.1", |
79 | 80 | "eslint-plugin-prettier": "^4.2.1",
|
80 |
| - "eslint-plugin-react": "^7.31.11", |
| 81 | + "eslint-plugin-react": "^7.32.1", |
81 | 82 | "eslint-plugin-react-hooks": "^4.6.0",
|
82 |
| - "glob": "^8.0.3", |
| 83 | + "glob": "^8.1.0", |
83 | 84 | "is-ci": "^3.0.1",
|
84 |
| - "jest": "^27.5.1", |
| 85 | + "jest": "^29.3.1", |
| 86 | + "jest-environment-jsdom": "^29.3.1", |
85 | 87 | "jest-github-actions-reporter": "^1.0.3",
|
86 |
| - "jest-watch-typeahead": "^1.0.0", |
87 |
| - "lint-staged": "^12.3.4", |
| 88 | + "jest-watch-typeahead": "^2.2.1", |
| 89 | + "lint-staged": "^13.1.0", |
88 | 90 | "lodash.has": "^4.5.2",
|
89 |
| - "mkdirp": "^1.0.4", |
90 |
| - "prettier": "^2.5.1", |
| 91 | + "mkdirp": "^2.1.3", |
| 92 | + "prettier": "^2.8.3", |
91 | 93 | "read-pkg-up": "^7.0.1",
|
92 |
| - "rimraf": "^3.0.2", |
93 |
| - "ts-jest": "^27.1.3", |
94 |
| - "tslib": "^2.4.0", |
| 94 | + "rimraf": "^4.1.1", |
| 95 | + "tslib": "^2.4.1", |
95 | 96 | "typescript": "^4",
|
96 |
| - "which": "^2.0.2", |
97 |
| - "yargs-parser": "^21.0.1" |
| 97 | + "which": "^3.0.0", |
| 98 | + "yargs-parser": "^21.1.1" |
98 | 99 | },
|
99 | 100 | "eslintConfig": {
|
100 | 101 | "parserOptions": {
|
|
110 | 111 | "import/no-unassigned-import": "off",
|
111 | 112 | "no-console": "off",
|
112 | 113 | "no-nested-ternary": "off",
|
113 |
| - "no-useless-catch": "off" |
| 114 | + "no-useless-catch": "off", |
| 115 | + "jest/prefer-snapshot-hint": "off" |
114 | 116 | }
|
115 | 117 | },
|
116 | 118 | "eslintIgnore": [
|
|
127 | 129 | },
|
128 | 130 | "homepage": "https://github.com/hoverinc/hover-javascript#readme",
|
129 | 131 | "devDependencies": {
|
130 |
| - "@babel/cli": "^7.17.10", |
131 |
| - "@babel/core": "^7.17.2", |
132 |
| - "@babel/preset-env": "^7.16.11", |
| 132 | + "@babel/cli": "^7.20.7", |
| 133 | + "@babel/core": "^7.20.12", |
| 134 | + "@babel/preset-env": "^7.20.2", |
133 | 135 | "@types/cross-spawn": "^6.0.2",
|
134 |
| - "babel-jest": "^28.1.0", |
135 |
| - "eslint-config-kentcdodds": "^20.0.1", |
136 |
| - "husky": "^7.0.4", |
| 136 | + "depcheck": "^1.4.3", |
| 137 | + "eslint-config-kentcdodds": "^20.4.0", |
| 138 | + "husky": "^8.0.3", |
137 | 139 | "jest-in-case": "^1.0.2",
|
138 | 140 | "npm-run-all": "^4.1.5",
|
139 | 141 | "slash": "^3.0.0"
|
| 142 | + }, |
| 143 | + "peerDependencies": { |
| 144 | + "ts-jest": "^29.0.0" |
| 145 | + }, |
| 146 | + "peerDependenciesMeta": { |
| 147 | + "ts-jest": { |
| 148 | + "optional": true |
| 149 | + } |
140 | 150 | }
|
141 | 151 | }
|
0 commit comments