Skip to content

Commit

Permalink
Fix setup package
Browse files Browse the repository at this point in the history
  • Loading branch information
cesxhin committed Sep 29, 2024
1 parent 1069921 commit f50daf3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ jobs:
run: npm i

- name: Start build
run: npm run build && mv package.json ./dist/
run: npm run build

- name: Publish Package
run: cd ./dist && npm publish
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"name": "logger",
"version": "1.0.0",
"author": "cesxhin",
"license": "MIT",
"description": "Simplfy logger and user friendly",
"main": "index.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": ["dist"],
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit",
"eslint": "eslint",
"eslint-fix": "eslint --fix",
"test-dev": "cd ./test && vitest",
"test": "cd ./test && FORCE_COLOR=1 vitest run",
"build": "tsc",
"build": "tsc --checkJs",
"clear": "rm -rf node_modules package-lock.json"
},
"keywords": [],
"author": "cesxhin",
"license": "MIT",
"dependencies": {
"@stylistic/eslint-plugin-js": "^2.8.0",
"@types/capture-console": "^1.0.5",
Expand Down

0 comments on commit f50daf3

Please sign in to comment.