diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..715ed92 --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +out/github-action.cjs \ No newline at end of file diff --git a/package.json b/package.json index 1e11381..fe238bb 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "author": "https://github.com/di-sukharev", "license": "MIT", "files": [ - "out/**/*" + "out/cli.cjs", + "out/tiktoken_bg.wasm" ], "release": { "branches": [ @@ -42,7 +43,7 @@ "dev": "ts-node ./src/cli.ts", "build": "rimraf out && node esbuild.config.js", "build:push": "npm run build && git add . && git commit -m 'build' && git push", - "deploy": "npm run build:push && npm version patch && git push --follow-tags && npm publish --tag latest", + "deploy": "npm run build:push && npm version patch && git push --tags && npm publish --tag latest", "lint": "eslint src --ext ts && tsc --noEmit", "format": "prettier --write src" },