@wc-toolkit/cem-inheritance
Version:
A tool for mapping inherited content (including class members, attributes, CSS parts, CSS variables, slots, and events) from parent web component classes in the Custom Elements Manifest
80 lines • 2.3 kB
JSON
{
"name": "@wc-toolkit/cem-inheritance",
"version": "1.1.0",
"description": "A tool for mapping inherited content (including class members, attributes, CSS parts, CSS variables, slots, and events) from parent web component classes in the Custom Elements Manifest",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"index.js",
"index.d.ts",
"/dist"
],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/wc-toolkit/cem-inheritance.git"
},
"bugs": {
"url": "https://github.com/wc-toolkit/cem-inheritance/issues"
},
"homepage": "https://wc-toolkit.com/documentation/cem-inheritance",
"devDependencies": {
"@changesets/cli": "^2.27.12",
"@custom-elements-manifest/analyzer": "^0.10.4",
"@eslint/js": "^9.19.0",
"@types/node": "^22.13.2",
"@wc-toolkit/cem-utilities": "^1.2.0",
"comment-parser": "^1.4.1",
"custom-elements-manifest": "2.1.0",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"husky": "^9.1.7",
"prettier": "3.4.2",
"tsup": "^8.3.6",
"typescript": "^5.7.3",
"typescript-eslint": "^8.21.0",
"vitest": "^3.0.4"
},
"keywords": [
"custom-elements",
"custom-elements-manifest",
"web-components",
"components",
"cem",
"typescript",
"@wc-toolkit/cem-inheritance"
],
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.--write": "prettier --write"
},
"publishConfig": {
"provenance": true,
"access": "public"
},
"dependencies": {
"@wc-toolkit/jsdoc-tags": "^1.1.0"
},
"scripts": {
"analyze": "npm run build && cem analyze",
"changeset": "changeset add",
"build": "tsup src/index.ts --dts --format cjs,esm",
"clean": "git clean -fdX",
"deploy": "npm run build && npm publish",
"format": "prettier . --write",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"test": "npm run analyze && vitest --run --passWithNoTests",
"release": "pnpm run build && changeset publish --access=public"
}
}