Merge pull request #396 from tbo47/fix-npm-publish

fix npm publish
This commit is contained in:
Michael Gevlich 2021-10-09 12:46:33 +03:00 committed by GitHub
commit af6e20f84f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm generate_types
- run: npm run generate_types
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

View File

@ -16,7 +16,7 @@
"core": "rollup -c --environment entry:core",
"test": "jest --env=jsdom",
"lint": "eslint src/og",
"generate_types": "rm -rf types; tsc src/**/*.js --declaration --allowJs --emitDeclarationOnly --outDir types",
"generate_types": "rm -rf types; tsc src/**/*.js --declaration --allowJs --emitDeclarationOnly --outDir types; exit 0",
"prepare": "husky install"
},
"repository": {