Fixed publishing not full lib folder

This commit is contained in:
Dmitriy Shishkov 2021-10-05 09:59:24 +03:00
parent f74cd51d0b
commit 10793fb770
No known key found for this signature in database
GPG Key ID: 14358F96FCDD8060
2 changed files with 2 additions and 1 deletions

1
.npmignore Normal file
View File

@ -0,0 +1 @@
*.html

View File

@ -5,7 +5,7 @@
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
"files": [ "files": [
"./lib/**/*" "lib"
], ],
"scripts": { "scripts": {
"test:browser": "npm run build && cp ./src/__tests__/index.html ./lib/ && serve -s lib", "test:browser": "npm run build && cp ./src/__tests__/index.html ./lib/ && serve -s lib",