Skip to content

Commit

Permalink
Do not publish artifacts on git, only in the npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
oncletom committed Dec 3, 2015
1 parent 3ae3388 commit 077ea4f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.*
1 change: 0 additions & 1 deletion dist/Imager.map.js

This file was deleted.

2 changes: 0 additions & 2 deletions dist/Imager.min.js

This file was deleted.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"description": "Imager.js is an alternative solution to the issue of how to handle responsive image loading, created by developers at BBC News.",
"main": "Imager.js",
"scripts": {
"test": "npm run test-pre && ./node_modules/karma/bin/karma start",
"test-pre": "jshint Imager.js",
"test-watch": "./node_modules/karma/bin/karma start --auto-watch --no-single-run",
"build": "uglifyjs ./Imager.js -c -m -o ./Imager.min.js --source-map ./Imager.map.js && mv -f Imager.{map,min}.js ./dist"
"test": "./node_modules/karma/bin/karma start",
"posttest": "jshint Imager.js",
"test-watch": "npm test -- --auto-watch --no-single-run",
"build": "uglifyjs ./Imager.js -c -m -o ./Imager.min.js --source-map ./Imager.map.js && mv -f Imager.{map,min}.js ./dist",
"preversion": "npm run build && npm run test"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 077ea4f

Please sign in to comment.