x-widget
Version:
Adds the ability to define reusable Widgets (WebComponents) using Alpinejs.
61 lines (60 loc) • 1.56 kB
JSON
{
"name": "x-widget",
"version": "0.2.13",
"description": "Adds the ability to define reusable Widgets (WebComponents) using Alpinejs.",
"main": "./dist/x-widget-all.js",
"module": "./dist/x-widget-all.mjs",
"files": [
"README.md",
"LICENSE",
"dist/",
"src/",
"test/"
],
"scripts": {
"build": "zx build",
"format": "prettier --write build './src/**/*.mjs' './test/*.test.mjs'",
"test": "web-test-runner './test/*.test.mjs' --node-resolve",
"test:coverage": "npm run test -- --coverage",
"test:watch": "npm run test -- --watch",
"prepublishOnly": "npm run build"
},
"exports": {
".": {
"import": "./dist/x-widget-all.mjs",
"require": "./dist/x-widget-all.js"
},
"./core": {
"import": "./dist/x-widget.mjs",
"require": "./dist/x-widget.js"
},
"./data": {
"import": "./dist/x-widget-data.mjs",
"require": "./dist/x-widget-data.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/allain/x-widget.git"
},
"keywords": [
"Alpinejs",
"web",
"webcomponents"
],
"author": "Allain Lalonde <allain.lalonde@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/allain/x-widget/issues"
},
"homepage": "https://github.com/allain/x-widget#readme",
"devDependencies": {
"@esm-bundle/chai": "^4.3.4",
"@types/alpinejs": "^3.7.0",
"@web/test-runner": "^0.13.22",
"alpinejs": "^3.5.1",
"esbuild": "^0.13.15",
"prettier": "^2.5.1",
"zx": "^4.2.0"
}
}