52 строки
1.7 KiB
JSON
52 строки
1.7 KiB
JSON
{
|
|
"name": "@github/tab-container-element",
|
|
"version": "3.1.1",
|
|
"description": "Tab container element",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"license": "MIT",
|
|
"repository": "github/tab-container-element",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./define": "./dist/index.js",
|
|
"./tab-container": "./dist/tab-container-element.js",
|
|
"./tab-container/define": "./dist/tab-container-element-define.js"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"lint": "eslint . --ext .js,.ts && tsc --noEmit",
|
|
"lint:fix": "eslint --fix . --ext .js,.ts",
|
|
"prebuild": "npm run clean && npm run lint && mkdir dist",
|
|
"bundle": "esbuild --bundle dist/index.js --keep-names --outfile=dist/bundle.js --format=esm",
|
|
"build": "tsc && npm run bundle && npm run manifest",
|
|
"pretest": "npm run build",
|
|
"test": "web-test-runner",
|
|
"prepublishOnly": "npm run build",
|
|
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'",
|
|
"manifest": "custom-elements-manifest analyze"
|
|
},
|
|
"prettier": "@github/prettier-config",
|
|
"devDependencies": {
|
|
"@custom-elements-manifest/analyzer": "^0.8.3",
|
|
"@github/prettier-config": "^0.0.6",
|
|
"@open-wc/testing": "^3.2.0",
|
|
"@web/dev-server-esbuild": "^0.4.1",
|
|
"@web/test-runner": "^0.19.0",
|
|
"@web/test-runner-playwright": "^0.11.0",
|
|
"esbuild": "^0.18.3",
|
|
"eslint": "^8.42.0",
|
|
"eslint-plugin-custom-elements": "^0.0.8",
|
|
"eslint-plugin-github": "^4.8.0",
|
|
"typescript": "^5.1.3"
|
|
},
|
|
"customElements": "custom-elements.json",
|
|
"eslintIgnore": [
|
|
"dist/"
|
|
]
|
|
}
|