diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 913916a..f1fec89 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,10 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Testando binĂ¡rio - run: npm run test + run: | + npm run test + npm install + npm run build-web-npm - name: Publicando NPM run: npm publish diff --git a/package.json b/package.json index c6d421f..66e4059 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "egua": "egua", "build-web": "browserify src/web.js --s Egua > web/dist.js", + "build-web-npm": "browserify src/web.js --s Egua > dist/dist.js", "test": "./bin/egua tests/tests.egua", "test-wsl": "node index.js tests/tests.egua" }, @@ -26,7 +27,6 @@ }, "homepage": "https://github.com/eguatech/egua#readme", "devDependencies": { - "browserify": "^17.0.0", - "egua": "^1.2.0" + "browserify": "^17.0.0" } }