UNPKG

vue3-sfc-loader

Version:
139 lines (138 loc) 5.25 kB
{ "name": "vue3-sfc-loader", "description": "Single File Component loader", "keywords": [ "vue", "vuejs", "vue3", "component-loader", "nobuild" ], "homepage": "https://github.com/FranckFreiburger/vue3-sfc-loader", "author": { "name": "Franck FREIBURGER", "email": "franck.freiburger@gmail.com", "url": "https://franck-freiburger.com/" }, "repository": { "type": "git", "url": "https://github.com/FranckFreiburger/vue3-sfc-loader" }, "license": "MIT", "version": "0.9.5", "browserslist": "> 1%, last 8 versions, Firefox ESR and not dead", "browser": "./dist/vue3-sfc-loader.js", "main": "./dist/vue3-sfc-loader.js", "module": "./dist/vue3-sfc-loader.esm.js", "types": "./dist/types/vue3-esm/index.d.ts", "exports": { ".": { "node": { "import": "./dist/vue3-sfc-loader-node.mjs", "require": "./dist/vue3-sfc-loader-node.js" }, "import": "./dist/vue3-sfc-loader.esm.js", "require": "./dist/vue3-sfc-loader.js" }, "./vue2": { "node": { "import": "./dist/vue2-sfc-loader-node.mjs", "require": "./dist/vue2-sfc-loader-node.js" }, "import": "./dist/vue2-sfc-loader.esm.js", "require": "./dist/vue2-sfc-loader.js" }, "./dist/*": "./dist/*", "./package.json": "./package.json" }, "scripts": { "coverage": "node test/coverageTest.mjs", "test": "cd test && yarn run start", "testVue2": "cd test && cross-env VUE_VERSION=2 yarn run start", "tests": "jest --runInBand \"tests/.*\\.test.js\"", "dev": "webpack --mode=development --config ./build/webpack.config.js --progress --watch", "build-web": "rimraf ./dist/ && cross-env-shell webpack --mode=production --config ./build/webpack.config.js --progress --env targetsBrowsers=\\\"$npm_package_browserslist\\\"", "build-node": "rollup --config ./build/rollup.config-node.mjs", "docs": "cross-env-shell \"node build/evalHtmlComments.js README.md $npm_package_version && node build/evalHtmlComments.js docs/examples.md $npm_package_version && typedoc --logLevel 1 --plugin typedoc-plugin-markdown --tsconfig ./build/tsconfig.json --out ./docs/api --readme none --excludeInternal --namedAnchors true ./src/index.ts\"", "pushDocs": "yarn run docs && git add docs/ README.md && cross-env-shell git commit -m \\\"chore(docs): v$npm_package_version API docs & examples \\\" docs", "release": "standard-version --header \"\"" }, "standard-version": { "scripts": { "postbump": "yarn run build-web && yarn run build-node && yarn run tests && yarn run pushDocs" } }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.23.9", "@babel/preset-env": "^7.23.9", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/babel__code-frame": "^7.0.2", "@types/babel__core": "^7.1.18", "@types/babel__traverse": "^7.14.0", "@types/spark-md5": "^3.0.2", "assert": "^2.0.0", "babel-loader": "^9.1.3", "babel-plugin-polyfill-corejs3": "^0.9.0", "bn.js": "5", "buffer": "^6.0.3", "caniuse-api": "^3.0.0", "compression-webpack-plugin": "^11.0.0", "core-js": "^3.35.1", "core-js-pure": "^3.35.1", "cross-env": "^7.0.3", "dts-bundle": "^0.7.3", "duplicate-package-checker-webpack-plugin": "^3.0.0", "jest": "29", "lodash-es": "^4.17.21", "lru-cache": "^6.0.0", "memory-fs": "^0.5.0", "path-browserify": "^1.0.1", "process": "^0.11.10", "puppeteer": "^13.1.1", "rimraf": "5", "rollup": "^4.9.6", "safe-buffer": "^5.2.1", "semver": "^7.3.5", "source-map-explorer": "2.5", "standard-version": "^9.3.2", "stream-browserify": "^3.0.0", "terser-webpack-plugin": "^5.3.0", "ts-loader": "^9.2.6", "tslib": "^2.6.2", "typedoc": "^0.25.7", "typedoc-plugin-markdown": "^3.17.1", "typescript": "^5.3.3", "url": "^0.11.0", "util": "^0.12.4", "vm-browserify": "^1.1.2", "vue": "^3.4.15", "vue2": "npm:vue@^2.7.16", "webpack": "^5.90.1", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^5.1.4" }, "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/core": "^7.23.9", "@babel/generator": "^7.16.8", "@babel/parser": "^7.23.9", "@babel/plugin-proposal-dynamic-import": "^7.16.7", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", "@babel/plugin-proposal-optional-chaining": "^7.16.7", "@babel/plugin-transform-arrow-functions": "^7.16.7", "@babel/plugin-transform-modules-commonjs": "^7.16.8", "@babel/plugin-transform-typescript": "^7.23.6", "@vue/babel-helper-vue-jsx-merge-props": "^1.2.1", "@vue/babel-plugin-jsx": "^1.2.1", "@vue/babel-preset-jsx": "^1.2.4", "@vue/compiler-dom": "^3.4.15", "@vue/compiler-sfc": "^3.4.15", "@vue/component-compiler-utils": "^3.3.0", "@vue/shared": "^3.4.15", "spark-md5": "^3.0.2", "vue-template-compiler": "^2.7.16" } }