Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit 077ea4f

Browse files
author
oncletom
committed
Do not publish artifacts on git, only in the npm package
1 parent 3ae3388 commit 077ea4f

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

dist/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.*

dist/Imager.map.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/Imager.min.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
"description": "Imager.js is an alternative solution to the issue of how to handle responsive image loading, created by developers at BBC News.",
55
"main": "Imager.js",
66
"scripts": {
7-
"test": "npm run test-pre && ./node_modules/karma/bin/karma start",
8-
"test-pre": "jshint Imager.js",
9-
"test-watch": "./node_modules/karma/bin/karma start --auto-watch --no-single-run",
10-
"build": "uglifyjs ./Imager.js -c -m -o ./Imager.min.js --source-map ./Imager.map.js && mv -f Imager.{map,min}.js ./dist"
7+
"test": "./node_modules/karma/bin/karma start",
8+
"posttest": "jshint Imager.js",
9+
"test-watch": "npm test -- --auto-watch --no-single-run",
10+
"build": "uglifyjs ./Imager.js -c -m -o ./Imager.min.js --source-map ./Imager.map.js && mv -f Imager.{map,min}.js ./dist",
11+
"preversion": "npm run build && npm run test"
1112
},
1213
"repository": {
1314
"type": "git",

0 commit comments

Comments
 (0)