-
Notifications
You must be signed in to change notification settings - Fork 144
/
package.json
40 lines (40 loc) · 1.28 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
{
"name": "svg-injector",
"description": "Fast, caching, dynamic inline SVG DOM injection library",
"version": "1.1.3",
"author": {
"name": "Iconic",
"email": "[email protected]",
"url": "https://useiconic.com/"
},
"main": "svg-injector.js",
"homepage": "https://github.com/iconic/SVGInjector",
"repository": {
"type": "git",
"url": "https://github.com/iconic/SVGInjector"
},
"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": "0.0.11"
},
"scripts": {
"test": "jshint svg-injector.js",
"build": "uglifyjs ./svg-injector.js --stats --compress --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 iconic -r SVGInjector --use-commit-body",
"changelog-post": "git add CHANGELOG.md && git commit -m 'Updated CHANGELOG'",
"release": "for TASK in (test build changelog changelog-post tag); do npm run $TASK; done",
"tag": "git tag ${npm_package_version} && git push --tags",
"test-version": "bash -c 'echo $npm_package_version'"
}
}