From 53944599a0a19ec098053583654599f6c85fce17 Mon Sep 17 00:00:00 2001 From: Travis Hoover Date: Tue, 22 Dec 2015 00:10:29 -0800 Subject: [PATCH] Make sure that dist files are added to npm --- .travis.yml | 7 ++++--- package.json | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3f63f7ff..80b8cf1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,12 +6,14 @@ sudo: false cache: directories: - node_modules -before_script: - - npm run lint install: - npm install +before_script: + - npm run lint script: - npm test +before_deploy: + - npm run build deploy: provider: npm email: thoov7@gmail.com @@ -20,6 +22,5 @@ deploy: skip_cleanup: true on: tags: true - after_success: - npm run publish_coverage diff --git a/package.json b/package.json index d522e748..ae28579e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mock-socket", - "version": "1.0.0", + "version": "1.0.1", "description": "A mocking library for WebSockets", "main": "./dist/mock-socket", "directories": { @@ -10,7 +10,6 @@ "start": "./node_modules/broccoli-cli/bin/broccoli serve", "test": "BABEL_ENV=test babel-node ./node_modules/.bin/isparta cover _mocha", "build": "rm -rf dist; broccoli build dist", - "browser": "npm run build; ./node_modules/testem/testem.js", "lint": "eslint src tests", "publish_coverage": "CODECLIMATE_REPO_TOKEN=81e42661a39fae978969b4a10f6cc0a629f613a3d88faaf8fa36750a02f00fa0 codeclimate-test-reporter < coverage/lcov.info" },