vue-tiny-validate
Advanced tools
Comparing version
{ | ||
"name": "vue-tiny-validate", | ||
"version": "0.2.0", | ||
"description": "Tiny (1KB gzipped) Vue 3 Validate Composition", | ||
"main": "dist/vue-tiny-validate.cjs.js", | ||
"module": "dist/vue-tiny-validate.es.js", | ||
"version": "0.2.1", | ||
"description": "Tiny (2.5KB minified) Vue Validate Composition", | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.es.js", | ||
"sideEffects": false, | ||
@@ -14,3 +14,5 @@ "author": "Anh Le<ledzanh@gmail.com>", | ||
"vue-validate", | ||
"vue-tiny-validate" | ||
"vue-tiny-validate", | ||
"validate", | ||
"async-validate" | ||
], | ||
@@ -22,6 +24,6 @@ "repository": { | ||
"files": [ | ||
"dist/*.js", | ||
"dist/vue-tiny-validate.d.ts" | ||
"dist", | ||
"*.md" | ||
], | ||
"types": "dist/vue-tiny-validate.d.ts", | ||
"types": "dist/index.d.ts", | ||
"bugs": { | ||
@@ -32,10 +34,11 @@ "url": "https://github.com/FrontLabsOfficial/vue-tiny-validate/issues" | ||
"scripts": { | ||
"type": "tsc src/*.ts --declaration --emitDeclarationOnly --esModuleInterop --skipLibCheck --outfile dist/vue-tiny-validate.d.ts", | ||
"clean": "rm -rf dist dist-example", | ||
"pretty": "prettier --write '**/*.{ts,css,md,vue,html}'", | ||
"clean": "rm -rf dist dist-example docs/.vitepress/dist", | ||
"pretty": "prettier --write '**/*.{ts,js,css,md,vue,html}'", | ||
"type": "tsc src/*.ts --declaration --emitDeclarationOnly --esModuleInterop --skipLibCheck --outdir dist", | ||
"test": "jest", | ||
"dev": "vite", | ||
"build": "yarn clean && yarn pretty && vite build --mode library && yarn type && yarn size", | ||
"dev:docs": "vitepress dev docs --port 4000", | ||
"build": "yarn clean && yarn pretty && vite build --mode library && yarn type && size-limit", | ||
"build:docs": "yarn clean && vitepress build docs", | ||
"build:example": "yarn clean && yarn pretty && vite build --mode example", | ||
"prepare": "husky install", | ||
"size": "size-limit", | ||
"release": "np" | ||
@@ -45,5 +48,9 @@ }, | ||
"@size-limit/preset-small-lib": "^4.11.0", | ||
"@types/jest": "^26.0.23", | ||
"@vitejs/plugin-vue": "^1.2.3", | ||
"@vue/compiler-sfc": "^3.0.5", | ||
"@vue/test-utils": "^2.0.0-rc.9", | ||
"@windicss/plugin-scrollbar": "^1.2.3", | ||
"husky": ">=6", | ||
"jest": "^27.0.4", | ||
"json-tree-view-vue3": "^0.1.15", | ||
@@ -55,5 +62,10 @@ "lint-staged": ">=10", | ||
"size-limit": "^4.11.0", | ||
"ts-jest": "^27.0.3", | ||
"typescript": "^4.3.2", | ||
"vite": "^2.3.5", | ||
"vue": "^3.0.11" | ||
"vite-plugin-windicss": "^1.0.4", | ||
"vitepress": "^0.15.3", | ||
"vue": "^3.0.11", | ||
"vue-jest": "^5.0.0-alpha.10", | ||
"windicss": "^3.1.3" | ||
}, | ||
@@ -64,4 +76,4 @@ "peerDependencies": { | ||
"lint-staged": { | ||
"**/*.{ts,css,md,vue,html}": "prettier --write" | ||
"**/*.{ts,js,css,md,vue,html}": "prettier --write" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
20506
94.54%10
100%124
20.39%1
-50%36
Infinity%22
69.23%1
Infinity%