-
-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathpackage.json
More file actions
306 lines (306 loc) · 11.7 KB
/
package.json
File metadata and controls
306 lines (306 loc) · 11.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
{
"name": "weapp-tailwindcss-monorepo",
"type": "module",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@10.33.0",
"description": "把tailwindcss jit引擎,带给小程序开发者们! bring tailwindcss jit engine to miniprogram developers!",
"author": "ice breaker <1324318532@qq.com>",
"license": "MIT",
"homepage": "https://tw.icebreaker.top",
"repository": {
"type": "git",
"url": "git+https://github.com/sonofmagic/weapp-tailwindcss.git"
},
"bugs": {
"url": "https://github.com/sonofmagic/weapp-tailwindcss/issues"
},
"keywords": [
"tailwindcss",
"weapp",
"wechat",
"mini",
"miniprogram",
"mini app",
"weapp-tw",
"weapp-tailwindcss",
"taro",
"uni-app",
"remax",
"rax",
"mpx",
"jit",
"mp",
"android",
"ios",
"小程序",
"vite",
"postcss",
"webpack",
"webpack-plugin",
"gulp",
"gulp-plugin"
],
"engines": {
"node": ">=20.19.0"
},
"scripts": {
"build": "cross-env WEAPP_TW_SKIP_INTERACTIVE_TARO_BUILD=1 WEAPP_TW_SKIP_INTERACTIVE_UNI_BUILD=1 turbo run build",
"postbuild": "pnpm run e2e:update-snapshots",
"clean:build-cache": "rimraf .turbo node_modules/.cache/turbo",
"build:clean-cache": "pnpm run clean:build-cache",
"build:nocache": "cross-env TURBO_FORCE=1 WEAPP_TW_SKIP_INTERACTIVE_TARO_BUILD=1 WEAPP_TW_SKIP_INTERACTIVE_UNI_BUILD=1 turbo run build",
"build:docs": "turbo run build --filter=./website/",
"build:apps": "cross-env WEAPP_TW_SKIP_INTERACTIVE_TARO_BUILD=1 WEAPP_TW_SKIP_INTERACTIVE_UNI_BUILD=1 turbo run build --filter=./apps/*",
"build:pkgs": "turbo run build --filter=./packages/* --filter=./packages-runtime/*",
"build:demo": "cross-env WEAPP_TW_SKIP_INTERACTIVE_TARO_BUILD=1 WEAPP_TW_SKIP_INTERACTIVE_UNI_BUILD=1 turbo run build --filter=./demo/*",
"build:analyze": "tsx scripts/check-build-size.ts",
"test": "vitest run",
"test:bench": "vitest bench",
"bench": "pnpm --filter benchmark-* bench",
"bench:framework:prepare": "node benchmark/framework-compare/scripts/prepare-minimal-projects.mjs",
"bench:framework:matrix": "node benchmark/framework-compare/scripts/run-matrix.mjs",
"bench:framework:sanitize": "node benchmark/framework-compare/scripts/sanitize-results.mjs",
"bench:framework:report": "node benchmark/framework-compare/scripts/generate-report.mjs",
"test:plugins": "vitest run --coverage.enabled --coverage.all=false --project=@weapp-tailwindcss/*",
"test:typography": "vitest run --coverage.enabled --coverage.all=false --project=@weapp-tailwindcss/typography",
"test:core": "vitest run --coverage.enabled --coverage.all=false --project=weapp-tailwindcss",
"test:dev": "vitest",
"test:ui": "vitest --ui",
"tsd": "turbo run tsd",
"tsd:runtime": "turbo run tsd --filter=./packages-runtime/*",
"tsd:weapp-tailwindcss": "pnpm --filter weapp-tailwindcss tsd",
"e2e": "pnpm e2e:static && pnpm e2e:hot-update",
"e2e:dev": "vitest -c ./e2e/vitest.e2e.config.ts",
"e2e:u": "pnpm e2e:static:u && pnpm e2e:hot-update",
"e2e:static": "vitest run -c ./e2e/vitest.e2e.config.ts",
"e2e:static:dev": "vitest -c ./e2e/vitest.e2e.config.ts",
"e2e:static:u": "vitest run -u -c ./e2e/vitest.e2e.config.ts",
"e2e:hot-update": "pnpm exec tsx ./e2e/run-hot-update.ts",
"e2e:hot-update:dev": "pnpm e2e:hot-update",
"e2e:hot-update:demo": "cross-env E2E_HOT_UPDATE_TARGET=demo pnpm e2e:hot-update",
"e2e:hot-update:apps": "cross-env E2E_HOT_UPDATE_TARGET=apps pnpm e2e:hot-update",
"e2e:watch": "vitest run -c ./e2e/vitest.e2e.watch.config.ts",
"e2e:watch:full": "cross-env E2E_WATCH_SKIP_BUILD=0 pnpm e2e:watch",
"e2e:watch:dev": "vitest -c ./e2e/vitest.e2e.watch.config.ts",
"e2e:watch:demo": "cross-env E2E_WATCH_CASE=demo pnpm e2e:watch",
"e2e:watch:apps": "cross-env E2E_WATCH_CASE=apps pnpm e2e:watch",
"e2e:watch:taro": "cross-env E2E_WATCH_CASE=taro pnpm e2e:watch",
"e2e:watch:uni": "cross-env E2E_WATCH_CASE=uni-app-vue3-vite pnpm e2e:watch",
"e2e:watch:mpx": "cross-env E2E_WATCH_CASE=mpx pnpm e2e:watch",
"e2e:watch:weapp-vite": "cross-env E2E_WATCH_CASE=weapp-vite pnpm e2e:watch",
"e2e:update-snapshots": "node scripts/e2e-update-snapshots-runner.mjs",
"demo:build": "pnpm run build:demo && pnpm run build:apps",
"demo:install": "tsx scripts/demo/install.ts",
"demo:install:beta": "tsx scripts/demo/install.ts --beta",
"demo:install:alpha": "tsx scripts/demo/install.ts --alpha",
"sync": "cnpm sync weapp-tailwindcss-webpack-plugin weapp-tailwindcss weapp-tw @weapp-tailwindcss/cli @weapp-tailwindcss/typography",
"sync:all": "turbo run sync",
"templates:sync": "tsx scripts/sync-templates.ts",
"templates:push": "tsx scripts/push-templates.ts",
"templates:update-deps": "tsx scripts/update-template-deps.ts",
"generate:readme": "tsx scripts/readme/write.ts",
"docs:api": "tsx website/scripts/generate-api-docs.ts",
"format": "prettier --check \"src/**/*.{ts,js}\" -w",
"format:test": "prettier --check \"test/**/*.test.{ts,js}\" -w",
"ls:pack": "npm pack --dry-run",
"cli:patch": "node bin/weapp-tailwindcss.js patch",
"prepare": "husky",
"css-build": "css2plugin build css-plugin.css css-plugin-scss.scss --cwd test/fixtures/css",
"css-build-out": "css2plugin build css-plugin.css css-plugin-scss.scss --cwd test/fixtures/css --out tw-plugins",
"-------": "-----------",
"release": "changeset",
"pr": "changeset pre enter alpha",
"pr:beta": "changeset pre enter beta",
"pr:rc": "changeset pre enter rc",
"pr:exit": "changeset pre exit",
"cv": "changeset version ",
"--------": "----------------",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:view": "npx @eslint/config-inspector",
"publish-packages": "pnpm build && pnpm test && changeset version && changeset publish",
"dev:apps": "pnpm -r --parallel --filter ./apps/react-app --filter ./apps/vue-app run dev",
"run:watch": "tsx scripts/watcher",
"showcase:update": "tsx scripts/update-showcase.ts",
"set-private": "tsx scripts/setPrivate.ts",
"script:init": "monorepo init",
"script:sync": "monorepo sync",
"script:clean": "monorepo clean",
"script:mirror": "monorepo mirror",
"commitlint": "commitlint --edit",
"up:pkg:latest": "pnpm up -rLi \"!@dcloudio/*\"",
"up:pkg": "pnpm up -ri \"!@dcloudio/*\"",
"up:uniapp": "pnpx @dcloudio/uvm@latest"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"devDependencies": {
"@ampproject/remapping": "^2.3.0",
"@babel/core": "catalog:babelCore7285",
"@babel/generator": "~7.29.1",
"@changesets/changelog-github": "^0.6.0",
"@changesets/cli": "^2.30.0",
"@commitlint/cli": "^20.5.0",
"@csstools/css-color-parser": "^4.0.2",
"@csstools/css-parser-algorithms": "^4.0.0",
"@csstools/css-tokenizer": "^4.0.0",
"@csstools/postcss-is-pseudo-class": "^6.0.0",
"@dcloudio/hbuilderx-cli": "^1.2.0",
"@eslint/config-inspector": "^1.5.0",
"@icebreakers/changelog-github": "^1.0.0",
"@icebreakers/commitlint-config": "^2.0.0",
"@icebreakers/eslint-config": "^4.0.0",
"@icebreakers/monorepo": "^3.2.18",
"@icebreakers/stylelint-config": "^3.0.0",
"@swc/core": "^1.15.21",
"@tailwindcss/postcss": "catalog:tailwindcss4",
"@tailwindcss/vite": "catalog:tailwindcss4",
"@tsconfig/recommended": "^1.0.13",
"@types/babel__core": "^7.20.5",
"@types/babel__generator": "^7.27.0",
"@types/babel__traverse": "^7.28.0",
"@types/debug": "^4.1.13",
"@types/dlv": "^1.1.5",
"@types/express": "^5.0.6",
"@types/fs-extra": "^11.0.4",
"@types/get-value": "^3.0.5",
"@types/gulp": "^4.0.18",
"@types/gulp-debug": "^2.0.36",
"@types/gulp-if": "^3.0.5",
"@types/gulp-less": "^0.0.36",
"@types/gulp-plumber": "^0.0.37",
"@types/gulp-postcss": "^8.0.6",
"@types/gulp-rename": "^2.0.7",
"@types/gulp-sass": "^6.0.0",
"@types/js-beautify": "^1.14.3",
"@types/jsdom": "^28.0.1",
"@types/klaw": "^3.0.7",
"@types/loader-utils": "^3.0.0",
"@types/lodash": "^4.17.24",
"@types/lodash-es": "^4.17.12",
"@types/md5": "^2.3.6",
"@types/micromatch": "^4.0.10",
"@types/node": "catalog:typesNode2410",
"@types/npm-registry-fetch": "^8.0.9",
"@types/postcss-js": "^4.1.0",
"@types/semver": "^7.7.1",
"@types/set-value": "^4.0.3",
"@types/traverse": "^0.6.37",
"@types/vinyl": "^2.0.12",
"@types/vinyl-fs": "^3.0.7",
"@types/webpack": "^5.28.5",
"@types/webpack-sources": "^3.2.3",
"@types/webpack4": "npm:@types/webpack@^4.41.39",
"@vitest/coverage-v8": "~4.1.2",
"@vitest/ui": "~4.1.2",
"@weapp-tailwindcss/shared": "workspace:*",
"@weapp-tailwindcss/test-helper": "workspace:*",
"anymatch": "^3.1.3",
"autoprefixer": "catalog:autoprefixer10",
"babel-loader": "^10.1.1",
"boxen": "^8.0.1",
"browserslist": "^4.28.2",
"chokidar": "^5.0.0",
"ci-info": "^4.4.0",
"clsx": "catalog:clsx",
"colorette": "^2.0.20",
"consola": "^3.4.2",
"cross-env": "catalog:crossEnv",
"css-loader": "^7.1.4",
"css-to-tailwindcss-plugin": "^0.3.0",
"debug": "4.4.3",
"dedent": "^1.7.2",
"deep-object-diff": "^1.1.9",
"defu": "^6.1.6",
"del": "^8.0.1",
"diff": "^8.0.4",
"dlv": "^1.1.3",
"domhandler": "^5.0.3",
"es-toolkit": "^1.45.1",
"esbuild": "^0.28.0",
"eslint": "catalog:eslint10",
"execa": "^9.6.1",
"express": "^5.2.1",
"fast-glob": "^3.3.3",
"fs-extra": "^11.3.4",
"get-value": "^4.0.1",
"gulp": "^5.0.1",
"gulp-postcss": "^10.0.0",
"html-loader": "^5.1.0",
"husky": "^9.1.7",
"js-beautify": "^1.15.4",
"jsdom": "^29.0.1",
"klaw": "^4.1.0",
"lightningcss": "^1.32.0",
"lint-staged": "^16.4.0",
"local-pkg": "^1.1.2",
"lodash": "^4.18.1",
"lodash-es": "^4.18.1",
"md5": "2.3.0",
"micromatch": "^4.0.8",
"mini-css-extract-plugin": "^2.10.2",
"minimatch": "^10.2.5",
"miniprogram-automator": "^0.12.1",
"normalize-newline": "^5.0.0",
"npm-registry-fetch": "^19.1.1",
"only-allow": "^1.2.2",
"oxc-parser": "^0.123.0",
"pathe": "^2.0.3",
"picocolors": "^1.1.1",
"pkg-types": "^2.3.0",
"postcss": "catalog:postcss85",
"postcss-js": "^5.1.0",
"postcss-load-config": "^6.0.1",
"postcss-loader": "^8.2.1",
"postcss-preset-env": "^10.6.1",
"postcss-scss": "^4.0.9",
"pptxgenjs": "^4.0.1",
"prettier": "catalog:prettier371",
"promisify-loader-runner": "^1.0.1",
"rimraf": "^6.1.3",
"rollup": "^4.60.1",
"sass": "catalog:sass195",
"sass-embedded": "^1.99.0",
"sass-true": "^10.1.0",
"semver": "7.7.4",
"set-value": "^4.1.0",
"style-loader": "^4.0.0",
"stylelint": "catalog:stylelint1625",
"tailwindcss": "catalog:tailwindcss3",
"tailwindcss4": "catalog:tailwindcss4",
"terser-webpack-plugin": "^5.4.0",
"traverse": "^0.6.11",
"ts-morph": "^27.0.2",
"tsd": "^0.33.0",
"tsdown": "0.21.7",
"tslib": "^2.8.1",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"turbo": "^2.9.3",
"type-fest": "^5.5.0",
"typescript": "catalog:typescript59",
"unbuild": "^3.6.1",
"undici": "^8.0.0",
"uuid": "^13.0.0",
"vinyl": "^3.0.1",
"vinyl-fs": "^4.0.2",
"vite": "catalog:vite724",
"vite-plugin-inspect": "catalog:vitePluginInspect",
"vitest": "catalog:vitest",
"weapp-tailwindcss": "workspace:*",
"weapp-tailwindcss-children": "catalog:weappChildren",
"webpack": "5.105.4",
"webpack-build-utils": "^0.0.7",
"wrangler": "catalog:wrangler",
"yaml": "^2.8.3"
},
"pnpm": {
"overrides": {
"postcss-urlrewrite": "0.3.0"
},
"packageExtensions": {}
}
}