vue-sfc-inspector
Version:
Analyze Vue SFC script setup adoption
89 lines (88 loc) • 2.54 kB
JSON
{
"name": "vue-sfc-inspector",
"type": "module",
"version": "0.0.2",
"description": "Analyze Vue SFC script setup adoption",
"author": {
"name": "2nofa11",
"email": "agsh0505@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/2nofa11/Vue-SFC-Inspector#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/2nofa11/Vue-SFC-Inspector.git"
},
"bugs": {
"url": "https://github.com/2nofa11/Vue-SFC-Inspector/issues"
},
"keywords": [
"vue",
"vue3",
"sfc",
"single-file-component",
"script-setup",
"composition-api",
"options-api",
"analyzer",
"cli",
"developer-tools"
],
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"vue-sfc-inspector": "./dist/cli.mjs"
},
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"postbuild": "node -e \"const fs=require('fs'); const f='dist/cli.mjs'; const c=fs.readFileSync(f,'utf8'); if(!c.startsWith('#!')) fs.writeFileSync(f,'#!/usr/bin/env node\\n'+c); fs.chmodSync(f,0o755)\"",
"dev": "tsx src/cli.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "npm run lint && vitest run",
"test:watch": "vitest --watch",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"changelog": "changelogen",
"changelog:minor": "changelogen --minor",
"changelog:major": "changelogen --major",
"changelog:patch": "changelogen --patch",
"release": "changelogen --release --push",
"release:minor": "changelogen --release --minor --push",
"release:major": "changelogen --release --major --push",
"release:patch": "changelogen --release --patch --push",
"prepublishOnly": "npm run build && npm run test"
},
"dependencies": {
"@vue/compiler-sfc": "^3.5.16",
"citty": "^0.1.6",
"consola": "^3.4.2",
"eslint-typegen": "^2.2.0",
"fast-glob": "^3.3.3"
},
"devDependencies": {
"@antfu/eslint-config": "^4.13.2",
"@types/node": "^22.15.29",
"@vitejs/plugin-vue": "^5.2.4",
"@vitest/coverage-v8": "^3.1.4",
"@vitest/eslint-plugin": "^1.2.1",
"@vitest/ui": "^3.1.4",
"@vue/test-utils": "^2.4.6",
"changelogen": "^0.6.1",
"eslint": "^9.28.0",
"jsdom": "^26.1.0",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
"unbuild": "^3.5.0",
"vitest": "^3.1.4",
"vue": "^3.5.16"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}