diff --git a/docs/src/installation.njk b/docs/src/installation.njk index 58d70ae..9e31047 100644 --- a/docs/src/installation.njk +++ b/docs/src/installation.njk @@ -46,7 +46,7 @@ toc:

Add Basecoat to your Tailwind CSS file.

- {% set code %}npm install @hunvreus/basecoat{% endset %} + {% set code %}npm install hunvreus/basecoat{% endset %} {{ code_block(code, "bash") }}

Alternatively, you can directly copy the basecoat.css file into your project.

@@ -97,7 +97,7 @@ toc:

If you're using Nunjucks or Jinja, you can use the CLI to install the CSS and macros for any of the complex components(e.g. Dialog). It will copy the JS and `.html.jinja or .njk macros into your code.

For example, to add the Dialog component, run:

- {% set code %}npx @hunvreus/basecoat add dialog{% endset %} + {% set code %}npx hunvreus/basecoat add dialog{% endset %} {{ code_block(code, "bash") }}

You will be asked to confirm the template engine and destination directory for the Javascript and macros.

diff --git a/package.json b/package.json index 384b553..8161212 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@hunvreus/basecoat", + "name": "basecoat-ui", "version": "0.1.0", "description": "shadcn/ui for the rest of us", "author": "hunvreus", @@ -12,7 +12,7 @@ "cli" ], "bin": { - "basecoat": "./cli/index.js" + "basecoat": "cli/index.js" }, "exports": { ".": "./src/css/basecoat.css" @@ -48,11 +48,13 @@ "dev": "concurrently \"npm:css:dev\" \"npm:eleventy:serve\"", "build": "tailwindcss -i ./docs/css/styles.css -o ./docs/src/assets/styles.css --minify && eleventy" }, + "dependencies": { + "commander": "^13.1.0" + }, "devDependencies": { "@11ty/eleventy": "^3.0.0", "@grimlink/eleventy-plugin-lucide-icons": "^2.1.4", "@tailwindcss/cli": "^4.1.3", - "commander": "^13.1.0", "concurrently": "^9.1.2", "fs-extra": "^11.3.0", "inquirer": "^12.6.0",