diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 1b77589..3be9aef 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -13,6 +13,7 @@ jobs: with: node-version: 12 - run: npm ci + - run: npm run build - run: npm test publish-npm: @@ -25,6 +26,7 @@ jobs: node-version: 12 registry-url: https://registry.npmjs.org/ - run: npm ci + - run: npm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/package-lock.json b/package-lock.json index 6fb5f2c..eefd10f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "read-gedcom", - "version": "0.0.5", + "version": "0.0.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 978cff4..13e06bd 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "read-gedcom", "description": "Gedcom file reader", - "version": "0.0.5", - "main": "dist/cjs/index.js", - "browser": "dist/umd/index.js", - "module": "dist/esm/index.js", + "version": "0.0.6", + "main": "dist/cjs/gedcom.js", + "browser": "dist/umd/gedcom.js", + "module": "dist/esm/gedcom.js", "files": [ + "src", "dist" ], "keywords": [