diff --git a/.npmignore b/.npmignore index aa8e45f..0ae3847 100644 --- a/.npmignore +++ b/.npmignore @@ -1 +1,7 @@ -src/ \ No newline at end of file +.DS_Store +.eslintcache +node_modules +npm-debug.log +.travis.yml +src/ +examples/ diff --git a/.travis.yml b/.travis.yml index b8997de..8db2880 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,9 +15,9 @@ notifications: scripts: - npm run lint - npm run compile + - npm run coverage after_success: - npm config set loglevel info - - npm run coverage - npm run coveralls - npm run semantic-release branches: diff --git a/package.json b/package.json index cadebce..9afde15 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "lint": "eslint src", "test": "mocha --recursive --compilers js:babel-core/register", "semantic-release": "semantic-release pre && npm publish && semantic-release post", - "commit": "git-cz" + "commit": "git-cz", + "prepublish": "npm run compile" }, "author": "Jae Bradley", "license": "MIT",