web-component-wrapper
Version:
Generic web-component base class and framework specific wrapper.
240 lines • 6.78 kB
JSON
{
"name": "web-component-wrapper",
"version": "0.0.611",
"description": "Generic web-component base class and framework specific wrapper.",
"keywords": [
"component",
"decouple",
"encapsulate",
"isolate",
"native",
"web",
"webcomponent",
"web-component"
],
"homepage": "https://torben.website/web-component-wrapper",
"bugs": {
"email": "info@torben.website",
"url": "https://github.com/thaibault/web-component-wrapper/issues"
},
"license": "CC-BY-3.0",
"author": {
"name": "Torben Sickert",
"email": "info@torben.website",
"url": "https://torben.website"
},
"main": "dist/index.js",
"type": "module",
"exports": {
".": "./dist/index.js",
"./compatible": "./dist/compatible/index.js",
"./decorator": "./dist/decorator.js",
"./compatible/decorator": "./dist/compatible/decorator.js",
"./ReactWeb": "./dist/ReactWeb.js",
"./compatible/ReactWeb": "./dist/compatible/ReactWeb.js",
"./Web": "./dist/Web.js",
"./compatible/Web": "./dist/compatible/Web.js",
"./type": "./dist/type.js"
},
"typesVersions": {
"*": {
"type": [
"./dist/type.d.ts"
]
}
},
"files": [
"dist",
"polyfill.html.ejs"
],
"repository": {
"type": "git",
"url": "https://github.com/thaibault/web-component-wrapper"
},
"scripts": {
"build": "yarn build:types; yarn build:plain; yarn build:compatible; yarn build:bundle; yarn build:bundle:compatible",
"build:bundle": "weboptimizer build '{__reference__: \"target:bundle\"}'",
"build:bundle:compatible": "weboptimizer build '{__reference__: [\"target:bundle\", \"target:compatible\", \"target:bundle:compatible\"]}'",
"build:plain": "weboptimizer build",
"build:compatible": "weboptimizer build '{__reference__: \"target:compatible\"}'",
"build:types": "weboptimizer build:types",
"check": "yarn check:types; yarn lint",
"check:types": "weboptimizer check:types",
"clear": "weboptimizer clear",
"document": "weboptimizer document",
"lint": "weboptimizer lint",
"prepare": "yarn build",
"serve": "weboptimizer serve",
"start": "yarn serve",
"test": "yarn clear; weboptimizer test",
"test:browser": "yarn clear; weboptimizer test:browser",
"test:coverage": "yarn clear; weboptimizer test:coverage",
"test:coverage:report": "yarn clear; weboptimizer test:coverage:report",
"update:documentation": "web-documentation",
"watch": "weboptimizer build --watch"
},
"devDependencies": {
"@babel/eslint-parser": "^8.0.1",
"@babel/runtime": "^8.0.0",
"@eslint/js": "^10.0.1",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/ejs": "^3.1.5",
"@types/html-minifier": "^4.0.6",
"@types/jsdom": "^28.0.3",
"@types/node": "^26.1.2",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@types/webpack-env": "^1.18.8",
"@typescript-eslint/eslint-plugin": "^8.66.0",
"@typescript-eslint/parser": "^8.66.0",
"@webcomponents/webcomponentsjs": "^2.8.0",
"clientnode": "^4.0.1483",
"eslint": "^10.8.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-jsdoc": "^63.3.3",
"jest": "30.4.2",
"jsdoc": "^4.0.5",
"prop-types": "^15.8.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"typescript-eslint": "^8.66.0",
"web-documentation": "^1.0.45",
"weboptimizer": "^4.0.50",
"webpack-dev-server": "^6.0.0"
},
"peerDependencies": {
"@babel/runtime": "*",
"@types/react": "*",
"@types/react-dom": "*",
"clientnode": "*",
"react": "*",
"react-dom": "*"
},
"peerDependenciesMeta": {
"@babel/runtime": {
"optional": true
},
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"engines": {
"node": ">=24",
"npm": ">=11",
"yarn": ">=4"
},
"resolutions": {
"colors": "1.4.0",
"globals@npm:^9.18.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",
"globals@npm:^11.1.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",
"globals@npm:^14.0.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch"
},
"sideEffects": false,
"webDocumentation": {
"languages": [
"deDE",
"enUS"
],
"tagline": "Encapsulate your components as web-components.",
"trackingCode": "TODO"
},
"webOptimizer": {
"commandLine": {
"test": {
"environments": [
"jsdom"
]
}
},
"generic": {
"supportedBrowsers": [
"browserslist config and supports es6-class"
]
},
"injection": {
"entry": {
"__evaluate__": "2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2].startsWith('test') ? {testBundle: './test.ts'} : 2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2] === 'serve' ? {clientnode: 'clientnode', index: './index'} : '__auto__'"
}
},
"module": {
"optimizer": {
"terser": {
"terserOptions": {
"compress": {
"#": "To provide a logging output we need to exclude this feature.",
"drop_console": {
"__evaluate__": "false"
},
"drop_debugger": {
"__evaluate__": "false"
}
}
}
}
}
},
"path": {
"source": {
"base": "src/"
},
"target": {
"base": "dist/"
}
},
"target:bundle": {
"inPlace": {
"externalLibrary": {
"dynamic": true,
"normal": true
}
},
"module": {
"preprocessor": {
"javaScript": {
"options": {
"plugins": {
"__remove__": "@babel/plugin-transform-runtime"
}
}
}
}
},
"path": {
"target": {
"base": "dist/bundle/"
}
}
},
"target:compatible": {
"generic": {
"supportedBrowsers": [
"IE >= 11",
"last 2 versions",
"> 5%"
]
},
"path": {
"target": {
"base": "dist/compatible/"
}
}
},
"target:bundle:compatible": {
"path": {
"target": {
"base": "dist/bundle/compatible/"
}
}
}
},
"packageManager": "yarn@4.14.1+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
}