chore: update build

This commit is contained in:
Ayo 2023-09-19 14:18:18 +02:00
parent 9a49e8905f
commit 1104b53df9

View file

@ -5,9 +5,9 @@
"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": "tsc --allowJs src/* --outDir dist --declaration --emitDeclarationOnly",
"clean": "rm -rf dist", "clean": "rm -rf dist",
"publish": "npm run clean && npm run build && cp package.json ./dist && cd ./dist && npm publish --access public" "publish": "npm run clean && npm run build && cp package.json ./dist && cp ./src/* ./dist && cd ./dist && npm publish --access public"
}, },
"repository": { "repository": {
"type": "git", "type": "git",