125 lines
3.4 KiB
JSON
125 lines
3.4 KiB
JSON
{
|
|
"name": "unplugin-vue2-script-setup",
|
|
"version": "0.11.4",
|
|
"packageManager": "pnpm@8.6.0",
|
|
"description": "Bring <script setup> to Vue 2",
|
|
"homepage": "https://github.com/antfu/unplugin-vue2-script-setup#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/antfu/unplugin-vue2-script-setup/issues"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/antfu/unplugin-vue2-script-setup.git"
|
|
},
|
|
"funding": "https://github.com/sponsors/antfu",
|
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
"files": [
|
|
"dist",
|
|
"jest.js",
|
|
"*.d.ts"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.js",
|
|
"import": "./dist/index.mjs",
|
|
"types": "./index.d.ts"
|
|
},
|
|
"./*": "./*",
|
|
"./esbuild": {
|
|
"require": "./dist/esbuild.js",
|
|
"import": "./dist/esbuild.mjs",
|
|
"types": "./esbuild.d.ts"
|
|
},
|
|
"./jest": "./jest.js",
|
|
"./nuxt": {
|
|
"require": "./dist/nuxt.js",
|
|
"import": "./dist/nuxt.mjs",
|
|
"types": "./nuxt.d.ts"
|
|
},
|
|
"./rollup": {
|
|
"require": "./dist/rollup.js",
|
|
"import": "./dist/rollup.mjs",
|
|
"types": "./rollup.d.ts"
|
|
},
|
|
"./types": {
|
|
"types": "./types.d.ts"
|
|
},
|
|
"./vite": {
|
|
"require": "./dist/vite.js",
|
|
"import": "./dist/vite.mjs",
|
|
"types": "./vite.d.ts"
|
|
},
|
|
"./webpack": {
|
|
"require": "./dist/webpack.js",
|
|
"import": "./dist/webpack.mjs",
|
|
"types": "./webpack.d.ts"
|
|
}
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "index.d.ts",
|
|
"peerDependencies": {
|
|
"@vue/composition-api": "*",
|
|
"@vue/runtime-dom": "^3.2.31",
|
|
"pug": "^3.0.2"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"pug": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@antfu/utils": "^0.7.4",
|
|
"@babel/core": "^7.22.1",
|
|
"@babel/generator": "^7.22.3",
|
|
"@babel/parser": "^7.22.4",
|
|
"@babel/traverse": "^7.22.4",
|
|
"@babel/types": "^7.22.4",
|
|
"@rollup/pluginutils": "^5.0.2",
|
|
"@vue/compiler-core": "^3.3.4",
|
|
"@vue/compiler-dom": "^3.3.4",
|
|
"@vue/reactivity-transform": "^3.3.4",
|
|
"@vue/shared": "^3.3.4",
|
|
"defu": "^6.1.2",
|
|
"magic-string": "^0.30.0",
|
|
"unplugin": "^1.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^0.39.5",
|
|
"@antfu/ni": "^0.21.3",
|
|
"@rollup/plugin-alias": "^5.0.0",
|
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
"@types/babel__core": "^7.20.1",
|
|
"@types/estree": "^1.0.1",
|
|
"@types/node": "^18.16.16",
|
|
"@types/pug": "^2.0.6",
|
|
"@types/ws": "^8.5.4",
|
|
"@vue/composition-api": "^1.7.1",
|
|
"@vue/runtime-dom": "^3.3.4",
|
|
"bumpp": "^9.1.0",
|
|
"eslint": "^8.42.0",
|
|
"fast-glob": "^3.2.12",
|
|
"pug": "^3.0.2",
|
|
"rimraf": "^5.0.1",
|
|
"rollup": "^3.23.1",
|
|
"rollup-plugin-dts": "^5.3.0",
|
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
"typescript": "^5.1.3",
|
|
"vite": "^4.3.9",
|
|
"vitest": "^0.31.4"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf dist && rollup -c",
|
|
"dev": "rollup -c --watch",
|
|
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
"lint:fix": "nr lint -- --fix",
|
|
"build:examples": "pnpm -r --filter=!unplugin-vue2-script-setup run build",
|
|
"play": "npm -C playground run dev",
|
|
"release": "bumpp --commit --push --tag && pnpm publish",
|
|
"test": "vitest",
|
|
"test:update": "vitest -u"
|
|
}
|
|
} |