forked from flobacher/SVGInjector2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.56 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "svg-injector-2",
"description": "forked version of iconic/SVGInjector, extended by the ability to use spritesheets and support for angularjs",
"version": "2.0.22",
"author": "",
"contributors": [
{
"name": "Iconic",
"email": "yourfriends@useiconic.com",
"url": "https://useiconic.com/"
},
{
"name": "Florian Bacher",
"email": "flo@digital-fuse.net"
}
],
"main": "svg-injector.js",
"homepage": "https://github.com/flobacher/SVGInjector2",
"repository": {
"type": "git",
"url": "https://github.com/flobacher/SVGInjector2.git"
},
"keywords": [
"SVG",
"Scalable Vector Graphics",
"SVG injector",
"images",
"img",
"html",
"DOM"
],
"license": "MIT",
"devDependencies": {
"jshint": "^2.5.0",
"uglify-js": "^2.4.13",
"github-changes": "^1.0.2"
},
"scripts": {
"test": "jshint svg-injector.js",
"build": "uglifyjs ./svg-injector.js --stats --compress drop_console=true --mangle --comments --output ./svg-injector.min.js --source-map svg-injector.map.js && mv -f svg-injector.{map,min}.js ./dist",
"changelog": "github-changes -o flobacher -r SVGInjector2 --use-commit-body",
"versionpatch": "npm version patch --no-git-tag-version",
"commit": "git add ./dist/ && git add CHANGELOG.md && git add package.json && git commit -m ${npm_package_version}",
"tag": "git tag ${npm_package_version}",
"release": "for TASK in test build changelog versionpatch commit tag; do npm run $TASK; done",
"prepublish": "git push && git push --tags"
}
}