chore: add scripts

This commit is contained in:
Ayo 2023-09-19 14:09:00 +02:00
parent d78de84238
commit fdf09762f9

View file

@ -5,15 +5,14 @@
"main": "index.d.ts", "main": "index.d.ts",
"scripts": { "scripts": {
"start": "npx simple-server .", "start": "npx simple-server .",
"build": "tsc --allowJs src/* --outDir dist --declaration" "build": "npm run clean && tsc --allowJs src/* --outDir dist --declaration",
"clean": "rm -rf dist",
"publish": "npm run build && cp package.json ./dist && cd ./dist && npm publish --access public"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.sr.ht/~ayoayco/web-component-base" "url": "https://git.sr.ht/~ayoayco/web-component-base"
}, },
"files": [
"dist"
],
"keywords": [ "keywords": [
"web components", "web components",
"web component", "web component",