|
87 | 87 | ], |
88 | 88 | "scripts": { |
89 | 89 | "build": "run-p build:*", |
90 | | - "build:lib": "run-s ts2lib copy-dts copy-lib", |
| 90 | + "build:es": "run-s task:build-es task:add-umd-header", |
91 | 91 | "build:es-legacy": "cross-env LEGACY=1 father build", |
92 | | - "build:es": "run-s build-es-only add-umd-header", |
93 | | - "build-es-only": "father build", |
94 | | - "build-for-e2e": "run-s ts2lib build:es build:es-legacy", |
95 | | - "ts2lib": "tsc -p tsconfig.lib.json", |
96 | | - "copy-dts": "shx cp ./src/*.d.ts ./lib", |
97 | | - "copy-lib": "tsx scripts/copy-lib.ts", |
98 | | - "add-umd-header": "tsx scripts/add-umd-header-comments.ts", |
99 | | - "prepublishOnly": "npm run build && npm run test", |
100 | | - "test": "npm run jest", |
101 | | - "jest": "jest --coverage", |
102 | | - "jest:legacy": "jest --coverage -c jest-legacy.config.js", |
103 | | - "e2e": "run-s test:e2e:bundle test:e2e", |
104 | | - "e2e:ui": "run-s test:e2e:bundle test:e2e:ui", |
105 | | - "e2e:debug": "run-s test:e2e:bundle test:e2e:debug", |
106 | | - "test:e2e": "playwright test", |
107 | | - "test:e2e:ui": "playwright test --ui", |
108 | | - "test:e2e:debug": "playwright test --debug", |
109 | | - "test:e2e:bundle": "tsx scripts/make-e2e-bundle.ts", |
| 92 | + "build:lib": "run-s ts2lib task:copy-dts task:copy-lib", |
| 93 | + "e2e": "run-s task:bundle-e2e task:run-e2e", |
| 94 | + "e2e:debug": "run-s task:bundle-e2e task:run-e2e-debug", |
| 95 | + "e2e:ui": "run-s task:bundle-e2e task:run-e2e-ui", |
110 | 96 | "prepare": "husky", |
111 | 97 | "prepare-legacy-node13": "node ./scripts/prepare-legacy.js node13", |
112 | | - "prepare-legacy-node15": "node ./scripts/prepare-legacy.js node15" |
| 98 | + "prepare-legacy-node15": "node ./scripts/prepare-legacy.js node15", |
| 99 | + "prepublishOnly": "run-s build test", |
| 100 | + "task:add-umd-header": "tsx scripts/add-umd-header-comments.ts", |
| 101 | + "task:build-es": "father build", |
| 102 | + "task:bundle-e2e": "tsx scripts/make-e2e-bundle.ts", |
| 103 | + "task:copy-dts": "shx cp ./src/*.d.ts ./lib", |
| 104 | + "task:copy-lib": "tsx scripts/copy-lib.ts", |
| 105 | + "task:jest": "jest --coverage", |
| 106 | + "task:jest:legacy": "jest --coverage -c jest-legacy.config.js", |
| 107 | + "task:run-e2e": "playwright test", |
| 108 | + "task:run-e2e-debug": "playwright test --debug", |
| 109 | + "task:run-e2e-ui": "playwright test --ui", |
| 110 | + "test": "npm run task:jest", |
| 111 | + "test-legacy": "run-s ts2lib task:jest:legacy", |
| 112 | + "ts2lib": "tsc -p tsconfig.lib.json" |
| 113 | + }, |
| 114 | + "overrides": { |
| 115 | + "@umijs/babel-preset-umi": { |
| 116 | + "@babel/runtime": "^7.27.1" |
| 117 | + }, |
| 118 | + "esbuild": "^0.25.4" |
113 | 119 | }, |
114 | 120 | "devDependencies": { |
115 | 121 | "@playwright/test": "^1.52.0", |
116 | 122 | "@rollup/plugin-node-resolve": "^16.0.1", |
117 | | - "@swc/core": "^1.3.53", |
118 | | - "@tiny-codes/code-style-all-in-one": "^1.1.4", |
119 | | - "@types/fs-extra": "^11.0.4", |
| 123 | + "@swc/core": "^1.11.29", |
| 124 | + "@tiny-codes/code-style-all-in-one": "^1.1.5", |
120 | 125 | "@types/jest": "^29.5.14", |
121 | | - "@types/node": "^22.15.3", |
122 | | - "codecov": "^3.8.2", |
| 126 | + "@types/node": "^22.15.21", |
| 127 | + "codecov": "^3.8.3", |
123 | 128 | "cross-env": "^7.0.3", |
124 | | - "esbuild": "^0.25.0", |
125 | | - "father": "^4.5.2", |
126 | | - "fs-extra": "^11.3.0", |
| 129 | + "esbuild": "^0.25.4", |
| 130 | + "father": "^4.5.5", |
127 | 131 | "jest": "^29.7.0", |
128 | | - "npm-run-all2": "^7.0.2", |
| 132 | + "npm-run-all2": "^8.0.3", |
129 | 133 | "playwright": "^1.52.0", |
130 | | - "rollup": "^4.40.0", |
| 134 | + "rollup": "^4.41.1", |
131 | 135 | "shx": "^0.4.0", |
132 | | - "ts-jest": "^29.3.0", |
| 136 | + "ts-jest": "^29.3.4", |
133 | 137 | "tsx": "^4.19.4", |
134 | | - "typescript": "^5.8.2" |
| 138 | + "typescript": "^5.8.3" |
135 | 139 | }, |
136 | | - "packageManager": "npm@10.9.2", |
| 140 | + "packageManager": "npm@11.4.1", |
137 | 141 | "engines": { |
138 | 142 | "node": ">=7.10.1" |
139 | 143 | }, |
140 | 144 | "publishConfig": { |
141 | 145 | "registry": "https://registry.npmjs.org/" |
142 | | - }, |
143 | | - "overrides": { |
144 | | - "esbuild": "^0.25.0" |
145 | 146 | } |
146 | 147 | } |
0 commit comments