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

Commit 7f4e3d9

Browse files
author
oncletom
committed
Do not publish artifacts on git, only in the npm package
1 parent de27f67 commit 7f4e3d9

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"test": "./node_modules/karma/bin/karma start",
88
"posttest": "jshint Imager.js",
99
"test:watch": "npm run 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"
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)