@lui-ui/lui-vue
Advanced tools
Comparing version 0.34.8 to 0.35.0
{ | ||
"name": "@lui-ui/lui-vue", | ||
"version": "0.34.8", | ||
"version": "0.35.0", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "run-p type-check build-only", | ||
"preview": "vite preview", | ||
"test:unit": "vitest --environment jsdom --root src/", | ||
"build-only": "vite build", | ||
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", | ||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", | ||
"safelist": "npx tailwindcss build", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"pub": "yarn build && yarn safelist && yarn publish", | ||
"sb": "start-storybook -p 6006", | ||
"build-sb": "build-storybook -o docs", | ||
"deploy-sb": "gh-pages -d docs" | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook" | ||
}, | ||
"dependencies": {}, | ||
"peerDependencies": { | ||
@@ -19,19 +23,41 @@ "tailwindcss": "^3.0.8", | ||
"devDependencies": { | ||
"@babel/core": "^7.16.7", | ||
"@storybook/addon-actions": "^6.5.0-alpha.5", | ||
"@storybook/addon-essentials": "^6.5.0-alpha.5", | ||
"@storybook/addon-links": "^6.5.0-alpha.5", | ||
"@storybook/vue3": "^6.5.0-alpha.5", | ||
"@vitejs/plugin-vue": "^2.0.0", | ||
"autoprefixer": "^10.4.0", | ||
"babel-loader": "^8.2.3", | ||
"@babel/core": "^7.19.6", | ||
"@rushstack/eslint-patch": "^1.1.4", | ||
"@storybook/addon-actions": "^6.5.13", | ||
"@storybook/addon-essentials": "^6.5.13", | ||
"@storybook/addon-interactions": "^6.5.13", | ||
"@storybook/addon-links": "^6.5.13", | ||
"@storybook/builder-vite": "^0.2.5", | ||
"@storybook/testing-library": "^0.0.13", | ||
"@storybook/vue3": "^6.5.13", | ||
"@types/jsdom": "^20.0.0", | ||
"@types/node": "^16.11.68", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vue/eslint-config-prettier": "^7.0.0", | ||
"@vue/eslint-config-typescript": "^11.0.2", | ||
"@vue/test-utils": "^2.1.0", | ||
"@vue/tsconfig": "^0.1.3", | ||
"autoprefixer": "^10.4.13", | ||
"babel-loader": "^8.2.5", | ||
"classnames": "^2.3.2", | ||
"eslint": "^8.22.0", | ||
"eslint-plugin-storybook": "^0.6.6", | ||
"eslint-plugin-vue": "^9.3.0", | ||
"gh-pages": "^4.0.0", | ||
"postcss": "^8.4.5", | ||
"jsdom": "^20.0.1", | ||
"npm-run-all": "^4.1.5", | ||
"postcss": "^8.4.18", | ||
"prettier": "^2.7.1", | ||
"remixicon": "^2.5.0", | ||
"storybook-builder-vite": "^0.1.13", | ||
"storybook-darkmode-vue": "^1.1.8", | ||
"tailwind-safelist-generator": "^1.0.0", | ||
"tailwindcss": "^3.0.8", | ||
"vite": "^2.7.2", | ||
"vue": "^3.2.26", | ||
"vue-loader": "^16.8.3" | ||
"tailwindcss": "^3.2.1", | ||
"typescript": "~4.9.4", | ||
"vite": "^3.1.8", | ||
"vite-plugin-dts": "^1.7.1", | ||
"vitest": "^0.24.3", | ||
"vue": "^3.2.41", | ||
"vue-docgen-api": "^4.54.2", | ||
"vue-loader": "^16.8.3", | ||
"vue-tsc": "^1.0.11" | ||
}, | ||
@@ -43,2 +69,3 @@ "files": [ | ||
"module": "./dist/lui-vue.es.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
@@ -56,3 +83,7 @@ ".": { | ||
"keywords": [ | ||
"ui" | ||
"ui", | ||
"tailwind", | ||
"lui", | ||
"vue", | ||
"components" | ||
], | ||
@@ -64,3 +95,3 @@ "author": "lui-ui", | ||
}, | ||
"homepage": "https://github.com/LUI-UI/lui-vue#readme" | ||
"homepage": "https://LUI-UI.github.io/lui-vue" | ||
} |
@@ -1,7 +0,52 @@ | ||
# Vue 3 + Vite | ||
# lui-ui | ||
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more. | ||
This template should help get you started developing with Vue 3 in Vite. | ||
## Recommended IDE Setup | ||
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) | ||
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). | ||
## Type Support for `.vue` Imports in TS | ||
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types. | ||
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps: | ||
1. Disable the built-in TypeScript Extension | ||
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette | ||
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)` | ||
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette. | ||
## Customize configuration | ||
See [Vite Configuration Reference](https://vitejs.dev/config/). | ||
## Project Setup | ||
```sh | ||
npm install | ||
``` | ||
### Compile and Hot-Reload for Development | ||
```sh | ||
npm run dev | ||
``` | ||
### Type-Check, Compile and Minify for Production | ||
```sh | ||
npm run build | ||
``` | ||
### Run Unit Tests with [Vitest](https://vitest.dev/) | ||
```sh | ||
npm run test:unit | ||
``` | ||
### Lint with [ESLint](https://eslint.org/) | ||
```sh | ||
npm run lint | ||
``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
234148
42
5359
53
0
39
3