Exclude src from npm packages

This commit is contained in:
Adria Navarro 2024-11-19 10:33:46 +01:00
parent 1a65ef3e4b
commit 2867515c0e
3 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,4 @@
*
!dist/**/*
dist/tsconfig.build.tsbuildinfo
!package.json
!src/**
!tests/**
!package.json

View File

@ -0,0 +1,4 @@
*
!dist/**/*
dist/tsconfig.build.tsbuildinfo
!package.json

View File

@ -14,10 +14,6 @@
"./package.json": "./package.json",
"./iife": "./src/iife.js"
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsc --emitDeclarationOnly && rollup -c",
"dev": "rollup -cw",