{ "name": "web-component-base", "version": "1.12.20", "description": "A zero-dependency, ~600 Bytes (minified & gzipped), JS base class for creating reactive custom elements easily", "main": "WebComponent.js", "type": "module", "scripts": { "start": "npx simple-server .", "build": "npm run clean && npm run generate:types && npm run copy:meta && npm run copy:source && npm run minify", "clean": "rm -rf dist", "minify": "npx uglifyjs ./dist/WebComponent.js -o ./dist/WebComponent.min.js", "generate:types": "tsc --allowJs src/* --outDir dist --declaration --emitDeclarationOnly", "copy:meta": "node prepare.js && cp README.md ./dist && cp LICENSE ./dist", "copy:source": "cp ./src/* ./dist", "pub": "npm run clean && npm run build && cd ./dist && npm publish --access public", "publish:patch": "npm version patch && npm run pub", "publish:minor": "npm version minor && npm run pub", "check:size": "npm run build && size-limit ./dist/WebComponent.min.js" }, "repository": "https://git.sr.ht/~ayoayco/web-component-base", "homepage": "https://git.sr.ht/~ayoayco/web-component-base#readme", "keywords": [ "web components", "web component", "custom elements", "custom element" ], "author": "Ayo Ayco", "license": "MIT", "bugs": { "url": "https://todo.sr.ht/~ayoayco/web-component-base" }, "devDependencies": { "@size-limit/preset-small-lib": "^11.0.0", "typescript": "^5.2.2", "uglify-js": "^3.17.4" } }