shadcn-vue/packages/cli/package.json
Sadegh Barati 0e84af73de
feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324)
* feat: add devDeps, add nypm for installing deps

* feat: custom ui dir

* refactor: use consola instead of chalk

* test: ui alias

* refactor: import { z } from 'zod' instead of *, replace node:path with pathe

* chore: add components name to `configFile` option

* chore: update `c12` which fix json5 parse issue

and it also supports .config directory

* chore: update `https-proxy-agent`

* fix: await until dependencies are installed then run detypes process

* feat: add tailwind prefix

* test: tw-prefix snapshot

* chore: add prefix option to init

* test: apply prefix

* fix: tw-prefix parse wrongly

* chore: hide prefix temporarily

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-03-06 05:38:19 +03:30

84 lines
2.2 KiB
JSON

{
"name": "shadcn-vue",
"type": "module",
"version": "0.9.0",
"description": "Add components to your apps.",
"publishConfig": {
"access": "public"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/radix-vue/shadcn-vue.git",
"directory": "packages/cli"
},
"keywords": [
"components",
"ui",
"vue",
"nuxt",
"tailwind",
"radix-ui",
"radix-vue",
"shadcn",
"shadcn-vue"
],
"exports": "./dist/index.js",
"bin": "./dist/index.js",
"files": [
"dist"
],
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"typecheck": "tsc --noEmit",
"clean": "node ./scripts/rimraf.js",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"start:dev": "COMPONENTS_REGISTRY_URL=http://localhost:3001 node dist/index.js",
"start": "node dist/index.js",
"release": "changeset version",
"pub:beta": "pnpm build && pnpm publish --no-git-checks --access public --tag beta",
"pub:next": "pnpm build && pnpm publish --no-git-checks --access public --tag next",
"pub:release": "pnpm build && pnpm publish --no-git-checks --access public",
"test": "vitest run",
"test:ui": "vitest --ui"
},
"dependencies": {
"@babel/core": "^7.24.0",
"@babel/parser": "^7.24.0",
"@vue/compiler-sfc": "^3.4",
"c12": "^1.9.0",
"commander": "^12.0.0",
"consola": "^3.2.3",
"detype": "npm:detypes@^0.7.9",
"diff": "^5.2.0",
"fs-extra": "^11.2.0",
"https-proxy-agent": "^7.0.4",
"lodash.template": "^4.5.0",
"magic-string": "^0.30.8",
"nypm": "^0.3.8",
"ofetch": "^1.3.3",
"ora": "^8.0.1",
"pathe": "^1.1.2",
"prompts": "^2.4.2",
"radix-vue": "^1.4.9",
"ts-morph": "^21.0.1",
"tsconfig-paths": "^4.2.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/babel__core": "^7.20.5",
"@types/diff": "^5.0.9",
"@types/fs-extra": "^11.0.4",
"@types/lodash.template": "^4.5.3",
"@types/node": "^20.11.24",
"@types/prompts": "^2.4.9",
"@vitest/ui": "^0.34.4",
"tsup": "^8.0.2",
"type-fest": "^4.10.3",
"typescript": "^5.3.3",
"vite-tsconfig-paths": "^4.3.1"
}
}