chore: update build
This commit is contained in:
parent
9a49e8905f
commit
1104b53df9
1 changed files with 2 additions and 2 deletions
|
@ -5,9 +5,9 @@
|
|||
"main": "index.d.ts",
|
||||
"scripts": {
|
||||
"start": "npx simple-server .",
|
||||
"build": "tsc --allowJs src/* --outDir dist --declaration",
|
||||
"build": "tsc --allowJs src/* --outDir dist --declaration --emitDeclarationOnly",
|
||||
"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": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in a new issue