Use files instead of npmignore

This commit is contained in:
Jonathan Staab
2023-09-20 14:00:19 -07:00
parent f89c63d67c
commit 7ee07e6f5e
2 changed files with 4 additions and 3 deletions
-2
View File
@@ -1,2 +0,0 @@
node_modules
src
+4 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "paravel", "name": "paravel",
"version": "0.3.4", "version": "0.3.5",
"description": "Yet another toolkit for nostr", "description": "Yet another toolkit for nostr",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
@@ -20,6 +20,9 @@
}, },
"./types": "./build/src/main.d.ts" "./types": "./build/src/main.d.ts"
}, },
"files": [
"build"
],
"scripts": { "scripts": {
"pub": "npm i && npm run lint && tsc-multi && npm publish", "pub": "npm i && npm run lint && tsc-multi && npm publish",
"build": "tsc-multi", "build": "tsc-multi",