generated from sonofmagic/npm-lib-template
-
-
Notifications
You must be signed in to change notification settings - Fork 92
/
package.json
243 lines (243 loc) · 8.16 KB
/
package.json
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
{
"name": "weapp-tailwindcss-monorepo",
"type": "module",
"version": "0.0.0",
"private": true,
"packageManager": "[email protected]",
"description": "把tailwindcss jit引擎,带给小程序开发者们! bring tailwindcss jit engine to miniprogram developers!",
"author": "ice breaker <[email protected]>",
"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": ">=18.0.0"
},
"scripts": {
"build": "turbo run build --filter=./packages/* && turbo run build --filter=./plugins/*",
"build:vite-docs": "turbo run build --filter=./website-weapp-vite/",
"build:tw-docs": "turbo run build --filter=./website/",
"test": "vitest run",
"test:plugins": "vitest run --coverage.enabled --coverage.all=false --project=@weapp-tailwindcss/*",
"test:cli": "vitest run --coverage.enabled --coverage.all=false --project=@weapp-tailwindcss/cli",
"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",
"e2e": "vitest run -c ./e2e/vitest.e2e.config.ts",
"e2e:dev": "vitest -c ./e2e/vitest.e2e.config.ts",
"e2e:u": "vitest run -u -c ./e2e/vitest.e2e.config.ts",
"demo:build": "node scripts/demo/build.js --babel && pnpm run --filter \"@native-app/*\" build",
"demo:build:ast": "node scripts/demo/build.js",
"demo:bench": "node scripts/demo/bench.js",
"demo:install": "node scripts/demo/install.js",
"demo:install:beta": "node scripts/demo/install.js --beta",
"demo:install:alpha": "node scripts/demo/install.js --alpha",
"demo:sync-dist": "node scripts/demo/copy-dist.js",
"demo:del-dist": "node scripts/demo/del-dist.js",
"sync": "cnpm sync weapp-tailwindcss-webpack-plugin weapp-tailwindcss weapp-tw @weapp-tailwindcss/cli @weapp-tailwindcss/typography",
"sync:all": "turbo run sync",
"generate:readme": "tsx scripts/readme/write.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",
"run:watch": "tsx scripts/watcher",
"set-private": "tsx scripts/setPrivate.ts",
"script:init": "monorepo init",
"script:sync": "monorepo sync",
"script:clean": "monorepo clean",
"script:mirror": "monorepo mirror"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"devDependencies": {
"@ast-grep/napi": "^0.29.0",
"@babel/core": "^7.26.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@commitlint/prompt-cli": "^19.5.0",
"@commitlint/types": "^19.5.0",
"@eslint/config-inspector": "^0.5.6",
"@icebreakers/eslint-config": "^0.7.0",
"@icebreakers/monorepo": "^0.6.13",
"@icebreakers/readme": "0.1.0",
"@icebreakers/stylelint-config": "^0.1.2",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@rollup/pluginutils": "^5.1.3",
"@tsconfig/recommended": "^1.0.8",
"@types/babel__generator": "^7.6.8",
"@types/babel__traverse": "^7.20.6",
"@types/debug": "^4.1.12",
"@types/diff": "^6.0.0",
"@types/dlv": "^1.1.4",
"@types/express": "^5.0.0",
"@types/fs-extra": "^11.0.4",
"@types/get-value": "^3.0.5",
"@types/git-url-parse": "^9.0.3",
"@types/gulp": "^4.0.17",
"@types/gulp-debug": "^2.0.36",
"@types/gulp-if": "^3.0.4",
"@types/gulp-less": "^0.0.36",
"@types/gulp-plumber": "^0.0.37",
"@types/gulp-postcss": "^8.0.6",
"@types/gulp-rename": "^2.0.6",
"@types/gulp-sass": "^5.0.4",
"@types/js-beautify": "^1.14.3",
"@types/jsdom": "^21.1.7",
"@types/klaw": "^3.0.6",
"@types/lint-staged": "^13.3.0",
"@types/loader-utils": "^2.0.6",
"@types/lodash": "^4.17.13",
"@types/lodash-es": "^4.17.12",
"@types/md5": "^2.3.5",
"@types/micromatch": "^4.0.9",
"@types/node": "^22.9.0",
"@types/npm-registry-fetch": "^8.0.7",
"@types/postcss-js": "^4.0.4",
"@types/semver": "^7.5.8",
"@types/set-value": "^4.0.3",
"@types/uuid": "^10.0.0",
"@types/vinyl": "^2.0.12",
"@types/vinyl-fs": "^3.0.5",
"@types/webpack": "^5.28.5",
"@types/webpack-sources": "^3.2.3",
"@types/webpack4": "npm:@types/webpack@^4.41.39",
"@vitest/coverage-v8": "~2.1.4",
"@vitest/ui": "~2.1.4",
"@weapp-tailwindcss/cli": "workspace:*",
"anymatch": "^3.1.3",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"chokidar": "^4.0.1",
"ci-info": "^4.0.0",
"colorette": "^2.0.20",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"css-to-tailwindcss-plugin": "^0.3.0",
"debug": "4.3.7",
"dedent": "^1.5.3",
"deep-object-diff": "^1.1.9",
"defu": "^6.1.4",
"del": "^8.0.0",
"diff": "^7.0.0",
"dlv": "^1.1.3",
"domhandler": "^5.0.3",
"eslint": "^9.14.0",
"execa": "^9.5.1",
"express": "^4.21.1",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"get-value": "^3.0.1",
"git-url-parse": "^15.0.0",
"gulp": "^5.0.0",
"gulp-postcss": "^10.0.0",
"html-loader": "^5.1.0",
"husky": "^9.1.6",
"js-beautify": "^1.15.1",
"jsdom": "^25.0.1",
"klaw": "^4.1.0",
"lint-staged": "^15.2.10",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"micromatch": "^4.0.8",
"mini-css-extract-plugin": "^2.9.2",
"miniprogram-automator": "^0.12.1",
"normalize-newline": "^4.1.0",
"npm-registry-fetch": "^18.0.2",
"only-allow": "^1.2.1",
"pathe": "^1.1.2",
"pkg-types": "^1.2.1",
"postcss": "^8.4.47",
"postcss-js": "^4.0.1",
"postcss-load-config": "^6.0.1",
"postcss-loader": "^8.1.1",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.3",
"promisify-loader-runner": "^1.0.1",
"rimraf": "^6.0.1",
"rollup": "^4.24.4",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.80.6",
"sass-embedded": "^1.80.6",
"sass-true": "^8.1.0",
"semver": "7.6.3",
"set-value": "^4.1.0",
"style-loader": "^4.0.0",
"tailwindcss": "^3.4.14",
"terser-webpack-plugin": "^5.3.10",
"ts-morph": "^24.0.0",
"tsd": "^0.31.2",
"tslib": "^2.8.1",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"turbo": "^2.2.3",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"uuid": "^11.0.2",
"vinyl": "^3.0.0",
"vinyl-fs": "^4.0.0",
"vite": "^5.4.10",
"vite-plugin-inspect": "^0.8.7",
"vitest": "~2.1.4",
"weapp-tailwindcss-children": "^0.1.0",
"webpack": "^5.96.1",
"webpack-build-utils": "^0.0.7",
"yaml": "^2.6.0"
}
}