Skip to content

Commit

Permalink
Fixed broken NPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jul 7, 2017
1 parent 6569e25 commit e5777b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
/tests

# Coverage reports
/.nyc_output
/coverage

# Configuration
Expand All @@ -42,8 +41,9 @@
.eslintrc
.gitignore
.npmignore
.nycrc
.travis.yml
webpack.config.js

# Git hooks
/.githooks
/.github
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "karma-viewport",
"version": "0.1.0",
"version": "0.1.1",
"description": "Karma viewport resizer",
"keywords": [
"breakpoint",
Expand Down
6 changes: 3 additions & 3 deletions scripts/travis
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ if [[ ! -d "$(npm bin)" ]]; then
exit 1
fi

# Clean build directory
rm -rf dist

# Lint sources
"$(npm bin)"/eslint --max-warnings 0 .

# Copy ES5-compatible files directly
"$(npm bin)"/copyfiles --up 1 src/index.js src/config/** dist

# Build library for production
"$(npm bin)"/cross-env NODE_ENV=production \
"$(npm bin)"/webpack
Expand Down

0 comments on commit e5777b7

Please sign in to comment.