|
9 | 9 | "clean": "rimraf dist",
|
10 | 10 | "lint": "tsc --noEmit && eslint \"{src,test}/**/*.ts\" --color",
|
11 | 11 | "prettier": "prettier --write \"{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}\"",
|
12 |
| - "test": "cross-env NODE_NO_WARNINGS=1 FORCE_COLOR=3 NODE_OPTIONS=\"--loader=tsx --max_old_space_size=6144\" ava", |
| 12 | + "test": "node --import tsx --test \"./test/**/*.test.ts\"", |
13 | 13 | "prebuild": "pnpm run clean",
|
14 |
| - "build": "pnpm run prebuild && pnpm run rollup", |
15 |
| - "rollup": "rollup -c rollup.config.mjs", |
| 14 | + "build": "tsup \"src/index.ts\" --sourcemap --dts --format esm,cjs", |
16 | 15 | "preversion": "pnpm run lint && pnpm run build",
|
17 | 16 | "version": "pnpm run generate:all && git add .",
|
18 | 17 | "release": "np --no-cleanup --no-yarn --no-tests",
|
19 |
| - "update:check": "pnpx npm-check-updates -x typescript-*,ava --dep dev,prod", |
20 |
| - "update:commit": "pnpx npm-check-updates -u -x typescript-*,ava --dep dev,prod && pnpm update && pnpm install" |
| 18 | + "update:check": "pnpx npm-check-updates -x typescript-* --dep dev,prod", |
| 19 | + "update:commit": "pnpx npm-check-updates -u -x typescript-* --dep dev,prod && pnpm update && pnpm install" |
21 | 20 | },
|
22 | 21 | "keywords": [
|
23 | 22 | "typescript",
|
|
43 | 42 | ],
|
44 | 43 | "license": "MIT",
|
45 | 44 | "devDependencies": {
|
46 |
| - "@types/jsdom": "^21.1.1", |
47 |
| - "@types/node": "^20.4.7", |
48 |
| - "@types/object-path": "^0.11.1", |
49 |
| - "@types/semver": "^7.5.0", |
50 |
| - "@typescript-eslint/eslint-plugin": "^6.2.1", |
51 |
| - "@typescript-eslint/parser": "^6.2.1", |
52 |
| - "@wessberg/ts-config": "^4.0.0", |
| 45 | + "@eslint/js": "^9.12.0", |
| 46 | + "@types/jsdom": "^21.1.7", |
| 47 | + "@types/node": "^22.7.5", |
| 48 | + "@types/object-path": "^0.11.4", |
| 49 | + "@types/semver": "^7.5.8", |
53 | 50 | "@wessberg/prettier-config": "^1.0.0",
|
54 |
| - "rollup-plugin-ts": "3.4.2", |
55 |
| - "ava": "^5.3.1", |
56 |
| - "cross-env": "^7.0.3", |
57 |
| - "eslint": "^8.46.0", |
58 |
| - "eslint-config-prettier": "^8.10.0", |
59 |
| - "eslint-plugin-import": "^2.28.0", |
60 |
| - "eslint-plugin-jsdoc": "^46.4.5", |
| 51 | + "@wessberg/ts-config": "^5.0.18", |
| 52 | + "eslint": "^9.12.0", |
| 53 | + "eslint-config-prettier": "^9.1.0", |
| 54 | + "eslint-plugin-jsdoc": "^50.3.1", |
| 55 | + "eslint-plugin-prettier": "^5.2.1", |
61 | 56 | "helpertypes": "^0.0.19",
|
62 |
| - "husky": "^8.0.3", |
63 |
| - "memfs": "^4.2.0", |
64 |
| - "np": "8.0.4", |
65 |
| - "npm-check-updates": "^16.10.17", |
66 |
| - "pnpm": "^8.6.11", |
67 |
| - "prettier": "^3.0.1", |
68 |
| - "lint-staged": "^13.2.3", |
69 |
| - "rimraf": "^5.0.1", |
70 |
| - "rollup": "^3.27.2", |
| 57 | + "husky": "^9.1.6", |
| 58 | + "jsdom": "^25.0.1", |
| 59 | + "lint-staged": "^15.2.10", |
| 60 | + "memfs": "^4.13.0", |
| 61 | + "np": "10.0.7", |
| 62 | + "npm-check-updates": "^17.1.3", |
| 63 | + "pnpm": "^9.12.1", |
| 64 | + "prettier": "^3.3.3", |
| 65 | + "rimraf": "^6.0.1", |
71 | 66 | "sandhog": "^2.0.2",
|
72 |
| - "semver": "7.5.4", |
73 |
| - "jsdom": "^22.1.0", |
74 |
| - "standard-changelog": "^3.0.0", |
75 |
| - "tsx": "^3.12.7", |
76 |
| - "typescript": "^5.1.6", |
| 67 | + "semver": "7.6.3", |
| 68 | + "standard-changelog": "^6.0.0", |
| 69 | + "tsup": "^8.3.0", |
| 70 | + "tsx": "^4.19.1", |
| 71 | + "typescript": "^5.6.3", |
77 | 72 | "typescript-3-4-1": "npm:[email protected]",
|
78 | 73 | "typescript-3-5-1": "npm:[email protected]",
|
79 | 74 | "typescript-3-6-2": "npm:[email protected]",
|
|
90 | 85 | "typescript-4-7-2": "npm:[email protected]",
|
91 | 86 | "typescript-4-8-2": "npm:[email protected]",
|
92 | 87 | "typescript-4-9-4": "npm:[email protected]",
|
93 |
| - "typescript-5-0-4": "npm:[email protected]" |
| 88 | + "typescript-5-0-4": "npm:[email protected]", |
| 89 | + "typescript-5-1-6": "npm:[email protected]", |
| 90 | + "typescript-5-2-2": "npm:[email protected]", |
| 91 | + "typescript-5-3-3": "npm:[email protected]", |
| 92 | + "typescript-5-4-5": "npm:[email protected]", |
| 93 | + "typescript-5-5-4": "npm:[email protected]", |
| 94 | + "typescript-5-6-2": "npm:[email protected]", |
| 95 | + "typescript-eslint": "^8.8.1" |
94 | 96 | },
|
95 | 97 | "dependencies": {
|
96 | 98 | "ansi-colors": "^4.1.3",
|
97 |
| - "object-path": "^0.11.8", |
98 |
| - "crosspath": "^2.0.0" |
| 99 | + "crosspath": "^2.0.0", |
| 100 | + "object-path": "^0.11.8" |
99 | 101 | },
|
100 | 102 | "peerDependencies": {
|
101 |
| - "typescript": ">=3.2.x || >= 4.x || >= 5.x", |
102 |
| - "jsdom": ">=14.x || >=15.x || >=16.x || >=17.x || >=18.x || >=19.x || >=20.x || >=21.x || >=22.x" |
| 103 | + "jsdom": ">=14.x || >=15.x || >=16.x || >=17.x || >=18.x || >=19.x || >=20.x || >=21.x || >=22.x", |
| 104 | + "typescript": ">=3.2.x || >= 4.x || >= 5.x" |
103 | 105 | },
|
104 | 106 | "peerDependenciesMeta": {
|
105 | 107 | "jsdom": {
|
106 | 108 | "optional": true
|
107 | 109 | }
|
108 | 110 | },
|
109 | 111 | "exports": {
|
110 |
| - "import": "./dist/esm/index.js", |
111 |
| - "require": "./dist/cjs/index.cjs" |
| 112 | + "import": "./dist/index.js", |
| 113 | + "require": "./dist/index.cjs" |
112 | 114 | },
|
113 | 115 | "type": "module",
|
114 |
| - "types": "./dist/esm/index.d.ts", |
115 |
| - "main": "./dist/cjs/index.cjs", |
116 |
| - "module": "./dist/esm/index.js", |
| 116 | + "types": "./dist/index.d.ts", |
| 117 | + "main": "./dist/index.cjs", |
| 118 | + "module": "./dist/index.js", |
117 | 119 | "funding": {
|
118 | 120 | "type": "github",
|
119 | 121 | "url": "https://github.com/wessberg/ts-evaluator?sponsor=1"
|
|
126 | 128 | "url": "https://github.com/wessberg/ts-evaluator/issues"
|
127 | 129 | },
|
128 | 130 | "engines": {
|
129 |
| - "node": ">=14.19.0" |
| 131 | + "node": ">=18.20.0" |
130 | 132 | },
|
131 | 133 | "lint-staged": {
|
132 | 134 | "*": "prettier --ignore-unknown --write"
|
133 | 135 | },
|
134 |
| - "prettier": "@wessberg/prettier-config", |
135 |
| - "ava": { |
136 |
| - "files": [ |
137 |
| - "test/**/*.test.ts" |
138 |
| - ], |
139 |
| - "verbose": true, |
140 |
| - "timeout": "400s", |
141 |
| - "concurrency": 1, |
142 |
| - "extensions": { |
143 |
| - "ts": "module" |
144 |
| - } |
145 |
| - } |
| 136 | + "prettier": "@wessberg/prettier-config" |
146 | 137 | }
|
0 commit comments