chore: add scripts
This commit is contained in:
parent
d78de84238
commit
fdf09762f9
1 changed files with 3 additions and 4 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue