UNPKG

unocss-preset-weapp

Version:

the unocss preset for wechat miniprogram (uniapp, taro)

123 lines (122 loc) 3.73 kB
{ "name": "unocss-preset-weapp", "version": "66.0.2", "type": "module", "packageManager": "pnpm@9.14.2", "description": "the unocss preset for wechat miniprogram (uniapp, taro)", "author": "MellowCo", "license": "MIT", "homepage": "https://github.com/MellowCo/unocss-prest-weapp", "repository": { "type": "git", "url": "https://github.com/MellowCo/unocss-prest-weapp" }, "bugs": { "url": "https://github.com/MellowCo/unocss-prest-weapp/issues" }, "keywords": [ "unocss", "unocss-preset", "wechat", "uniapp", "taro", "miniprogram" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.cjs", "import": "./dist/index.mjs" }, "./theme": { "types": "./dist/theme.d.ts", "require": "./dist/theme.cjs", "import": "./dist/theme.mjs" }, "./variants": { "types": "./dist/variants.d.ts", "require": "./dist/variants.cjs", "import": "./dist/variants.mjs" }, "./rules": { "types": "./dist/rules.d.ts", "require": "./dist/rules.cjs", "import": "./dist/rules.mjs" }, "./colors": { "types": "./dist/colors.d.ts", "require": "./dist/colors.cjs", "import": "./dist/colors.mjs" }, "./utils": { "types": "./dist/utils.d.ts", "require": "./dist/utils.cjs", "import": "./dist/utils.mjs" }, "./transformer": { "types": "./dist/transformer.d.ts", "require": "./dist/transformer.cjs", "import": "./dist/transformer.mjs" }, "./*": "./*" }, "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "*.d.ts", "*.css" ], "scripts": { "build": "unbuild", "stub": "unbuild --stub", "test": "vitest", "test:ui": "vitest --ui", "coverage": "vitest run --coverage", "test:debug": "vitest debug", "taze": "taze minor -wI", "uniapp3": "npm -C examples/uniapp_vue3 run dev:mp-weixin", "uniapp3:h5": "npm run build && npm -C examples/uniapp_vue3 run dev:h5", "uniapp2": "nr build &&npm -C examples/uniapp_vue2 run dev:mp-weixin", "uniapp2:h5": "nr build &&npm -C examples/uniapp_vue2 run dev:h5", "taro": "nr build &&npm -C examples/taro_react run dev:weapp", "taro:h5": "nr build &&npm -C examples/taro_react run dev:h5", "taro_vue2": "nr build &&npm -C examples/taro_vue2 run dev:weapp", "taro_vue2:h5": "nr build &&npm -C examples/taro_vue2 run dev:h5", "taro_vue3": "nr build &&npm -C examples/taro_vue3 run dev:weapp", "taro_vue3:h5": "nr build &&npm -C examples/taro_vue3 run dev:h5", "prepublishOnly": "nr build", "release": "bumpp", "lint": "eslint --cache . -f mo", "lint:fix": "nr lint --fix" }, "dependencies": { "@rollup/pluginutils": "^5.1.4", "@unocss/core": "^66.1.3", "@unocss/extractor-arbitrary-variants": "^66.1.3", "@unocss/rule-utils": "^66.1.3", "unplugin-attributify-to-class": "^0.2.5", "unplugin-transform-class": "^0.6.0" }, "devDependencies": { "@antfu/eslint-config": "4.13.2", "@antfu/ni": "^24.4.0", "@types/node": "^22.15.29", "@unocss/autocomplete": "^66.1.3", "@vitest/coverage-v8": "3.1.4", "@vitest/ui": "3.1.4", "bumpp": "^10.1.1", "eslint": "^9.28.0", "eslint-formatter-mo": "^2.3.0", "magic-string": "^0.30.17", "msw": "1.0.1", "std-env": "^3.9.0", "taze": "^19.1.0", "typescript": "^5.8.3", "unbuild": "^3.5.0", "vite": "^6.3.5", "vitest": "^3.1.4" } }