diff --git a/.npmignore b/.npmignore deleted file mode 100644 index e69de29..0000000 diff --git a/.travis.yml b/.travis.yml index 7937b08..29e1d9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,3 @@ script: - cat ./coverage/lcov.info | coveralls after_success: - npm run release - - ls dist - - ls tarball - - tar --gzip --list --verbose --file=tarball/*.tgz diff --git a/package.json b/package.json index 3edaf5f..cf6f7bc 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "test-only": "karma start karma.conf.js --single-run --report-coverage", "test": "npm run lint && npm run test-only", "build": "del-cli dist && webpack --config webpack.config.dist.js", - "release": "semantic-release" + "release": "npm run build && semantic-release" }, "keywords": [ "sweetalert",