|
3 | 3 | "version": "0.0.0-semantically-released", |
4 | 4 | "description": "CLI toolbox for common scripts for JavaScript + TypeScript projects", |
5 | 5 | "engines": { |
6 | | - "node": ">=12", |
| 6 | + "node": ">=v12.22.12", |
7 | 7 | "npm": ">=6", |
8 | | - "yarn": ">=1" |
| 8 | + "yarn": ">=1.22.19" |
9 | 9 | }, |
10 | 10 | "publishConfig": { |
11 | 11 | "registry": "https://registry.npmjs.org" |
|
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 <jamie.rolfs@hover.to>", |
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": "^29.0.0", |
57 | | - "@types/lodash.has": "^4.5.6", |
| 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", |
| 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.13.0", |
63 | | - "@typescript-eslint/parser": "^5.27.0", |
64 | | - "arrify": "^2.0.1", |
65 | | - "commitizen": "^4.2.4", |
66 | | - "concurrently": "^7.0.0", |
67 | | - "cosmiconfig": "^7.0.1", |
| 65 | + "@typescript-eslint/eslint-plugin": "^5.48.2", |
| 66 | + "@typescript-eslint/parser": "^5.48.2", |
| 67 | + "commitizen": "^4.2.6", |
| 68 | + "concurrently": "^7.6.0", |
| 69 | + "cosmiconfig": "^8.0.0", |
68 | 70 | "cross-env": "^7.0.3", |
69 | | - "cross-spawn": "^7.0.1", |
70 | | - "doctoc": "^2.1.0", |
71 | | - "eslint": "^8.16.0", |
72 | | - "eslint-config-airbnb": "19.0.0", |
| 71 | + "cross-spawn": "^7.0.3", |
| 72 | + "doctoc": "^2.2.1", |
| 73 | + "eslint": "^8.32.0", |
| 74 | + "eslint-config-airbnb": "19.0.4", |
73 | 75 | "eslint-config-airbnb-typescript": "^17.0.0", |
74 | | - "eslint-config-prettier": "^8.5.0", |
75 | | - "eslint-plugin-import": "^2.25.4", |
76 | | - "eslint-plugin-jest": "^26.1.1", |
77 | | - "eslint-plugin-jsx-a11y": "^6.5.1", |
78 | | - "eslint-plugin-prettier": "^4.0.0", |
79 | | - "eslint-plugin-react": "^7.30.0", |
80 | | - "eslint-plugin-react-hooks": "^4.3.0", |
81 | | - "glob": "^8.0.3", |
| 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", |
| 80 | + "eslint-plugin-prettier": "^4.2.1", |
| 81 | + "eslint-plugin-react": "^7.32.1", |
| 82 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 83 | + "glob": "^8.1.0", |
82 | 84 | "is-ci": "^3.0.1", |
83 | | - "jest": "^29.0.2", |
| 85 | + "jest": "^29.3.1", |
| 86 | + "jest-environment-jsdom": "^29.3.1", |
84 | 87 | "jest-github-actions-reporter": "^1.0.3", |
85 | | - "jest-watch-typeahead": "^2.1.1", |
86 | | - "lint-staged": "^12.3.4", |
| 88 | + "jest-watch-typeahead": "^2.2.1", |
| 89 | + "lint-staged": "^13.1.0", |
87 | 90 | "lodash.has": "^4.5.2", |
88 | | - "mkdirp": "^1.0.3", |
89 | | - "prettier": "^2.5.1", |
| 91 | + "mkdirp": "^2.1.3", |
| 92 | + "prettier": "^2.8.3", |
90 | 93 | "read-pkg-up": "^7.0.1", |
91 | | - "rimraf": "^3.0.2", |
92 | | - "ts-jest": "^29.0.0-next.1", |
93 | | - "tslib": "^2.4.0", |
| 94 | + "rimraf": "^4.1.1", |
| 95 | + "tslib": "^2.4.1", |
94 | 96 | "typescript": "^4", |
95 | | - "which": "^2.0.2", |
96 | | - "yargs-parser": "^21.0.1" |
| 97 | + "which": "^3.0.0", |
| 98 | + "yargs-parser": "^21.1.1" |
97 | 99 | }, |
98 | 100 | "eslintConfig": { |
99 | 101 | "parserOptions": { |
|
109 | 111 | "import/no-unassigned-import": "off", |
110 | 112 | "no-console": "off", |
111 | 113 | "no-nested-ternary": "off", |
112 | | - "no-useless-catch": "off" |
| 114 | + "no-useless-catch": "off", |
| 115 | + "jest/prefer-snapshot-hint": "off" |
113 | 116 | } |
114 | 117 | }, |
115 | 118 | "eslintIgnore": [ |
|
126 | 129 | }, |
127 | 130 | "homepage": "https://github.com/hoverinc/hover-javascript#readme", |
128 | 131 | "devDependencies": { |
129 | | - "@babel/cli": "^7.17.10", |
130 | | - "@babel/core": "^7.17.2", |
131 | | - "@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", |
132 | 135 | "@types/cross-spawn": "^6.0.2", |
133 | 136 | "depcheck": "^1.4.3", |
134 | | - "eslint-config-kentcdodds": "^20.0.1", |
135 | | - "husky": "^7.0.4", |
| 137 | + "eslint-config-kentcdodds": "^20.4.0", |
| 138 | + "husky": "^8.0.3", |
136 | 139 | "jest-in-case": "^1.0.2", |
137 | 140 | "npm-run-all": "^4.1.5", |
138 | 141 | "slash": "^3.0.0" |
| 142 | + }, |
| 143 | + "peerDependencies": { |
| 144 | + "ts-jest": "^29.0.0" |
| 145 | + }, |
| 146 | + "peerDependenciesMeta": { |
| 147 | + "ts-jest": { |
| 148 | + "optional": true |
| 149 | + } |
139 | 150 | } |
140 | 151 | } |
0 commit comments