2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-15 11:59:37 +03:00
Files
bbob/packages/bbob-vue2/package.json
T
Long Nguyen 0edd490a24 fix: proper module resolution in all cases (Node CJS, Node ESM, bundler)
* Add extensions to all imports

* Set module resolution to `bundler` to avoid Node specific behavior

* Use `ts2mjs` to rename files to `mjs`

* Add extensions to `@bbob/types` imports

* Fix `package.json` for proper ESM extension and type separation

* More module resolution stuff change (`node16` for everything, `node` for Vue 2 plugin)

* Use `ts-jest-resolver` for `js` -> `ts` resolving in Jest

* Add changeset

* Add import extensions to frontend libs
2025-08-18 19:13:22 +02:00

93 lines
1.9 KiB
JSON

{
"name": "@bbob/vue2",
"version": "4.2.0",
"description": "A BBCode to Vue2 Renderer part of @bbob",
"keywords": [
"vue",
"vue2",
"bbcode",
"parser",
"bbob"
],
"dependencies": {
"@bbob/core": "*",
"@bbob/html": "*",
"@bbob/plugin-helper": "*",
"@bbob/types": "*"
},
"peerDependencies": {
"vue": "2.x"
},
"devDependencies": {
"@bbob/preset-vue": "*",
"@testing-library/vue": "5.9.0",
"vue": "2.7.16",
"vue-template-compiler": "2.7.16"
},
"main": "lib/index.js",
"module": "es/index.mjs",
"jsnext:main": "es/index.mjs",
"browser": "dist/index.js",
"browserName": "BbobVue",
"types": "types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./types/index.d.mts",
"default": "./es/index.mjs"
},
"require": {
"types": "./types/index.d.ts",
"default": "./lib/index.js"
},
"browser": "./dist/index.min.js",
"umd": "./dist/index.min.js"
}
},
"homepage": "https://github.com/JiLiZART/bbob",
"author": "Nikolay Kostyurin <jilizart@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/JiLiZART/bbob/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/JiLiZART/bbob.git"
},
"scripts": {
"build:commonjs": "pkg-task",
"build:es": "pkg-task",
"build:umd": "pkg-task",
"build": "pkg-task",
"test": "pkg-task",
"cover": "pkg-task",
"lint": "pkg-task",
"size": "pkg-task",
"bundlesize": "pkg-task",
"types": "pkg-task",
"prepublishOnly": "npm run build"
},
"size-limit": [
{
"path": "./dist/index.min.js",
"size": "8 KB"
}
],
"bundlesize": [
{
"path": "./dist/index.min.js",
"maxSize": "8 KB"
}
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"lib",
"src",
"es",
"types"
]
}