Skip to content

Commit

Permalink
Adjust code for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
lukix committed Jul 27, 2024
1 parent 462e337 commit 173be29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run verify
- run: npm run build
- run: npm publish --provenance --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 0 additions & 3 deletions .npmignore

This file was deleted.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@
],
"repository": {
"type": "git",
"url": "https://github.com/lukix/declarative-canvas.git"
"url": "git+https://github.com/lukix/declarative-canvas.git"
},
"files": ["lib/", "!lib/storybook/", "!__tests__/"],
"scripts": {
"dev": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"build": "tsc",
"lint": "eslint ./src/**/*.ts",
"verify": "npm run lint && npm run test && prettier --check ./src/* && tsc --noEmit",
"prepublishOnly": "npm run build && npm run verify",
"prepublishOnly": "npm run verify && npm run build",
"storybook": "vite dev",
"build-storybook": "vite build --outDir out",
"prepare": "husky"
Expand Down

0 comments on commit 173be29

Please sign in to comment.