Compare commits

..

No commits in common. "master" and "v1.0.3" have entirely different histories.

4 changed files with 18 additions and 13 deletions

View file

@ -1,4 +0,0 @@
Ava Gaiety Wroten <ava@wroten.me> Joe Wroten <joe@wroten.me>
Ava Gaiety Wroten <ava@wroten.me> Gaiety [Jo Wroten] <joe@wroten.me>
Ava Gaiety Wroten <ava@wroten.me> sharpshark28 <sharpshark28@gmail.com>
Ava Gaiety Wroten <ava@wroten.me> Joe L Wroten <joe@wroten.me>

3
cli.js
View file

@ -9,6 +9,7 @@ const argv = require('yargs')
.alias('help', 'h') .alias('help', 'h')
.help() .help()
.version() .version()
.wrap(process.stdout.columns)
.argv .argv
let [src, dest] = argv._ let [src, dest] = argv._
@ -18,6 +19,6 @@ svgdir2sprite(src, dest)
if (dest) { if (dest) {
console.log('Spritesheet successfully generated as ' + dest) console.log('Spritesheet successfully generated as ' + dest)
} else { } else {
console.error(svgContents) console.log(svgContents)
} }
}) })

18
package-lock.json generated
View file

@ -1,6 +1,6 @@
{ {
"name": "svgdir2sprite", "name": "svgdir2sprite",
"version": "1.0.5", "version": "1.0.3",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -15,6 +15,13 @@
"integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==",
"requires": { "requires": {
"lodash": "^4.17.10" "lodash": "^4.17.10"
},
"dependencies": {
"lodash": {
"version": "4.17.11",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
"integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg=="
}
} }
}, },
"balanced-match": { "balanced-match": {
@ -302,9 +309,10 @@
} }
}, },
"lodash": { "lodash": {
"version": "4.17.14", "version": "4.17.11",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.14.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
"integrity": "sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw==" "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
"dev": true
}, },
"minimatch": { "minimatch": {
"version": "3.0.4", "version": "3.0.4",
@ -596,7 +604,7 @@
"dependencies": { "dependencies": {
"load-json-file": { "load-json-file": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
"integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
"requires": { "requires": {
"graceful-fs": "^4.1.2", "graceful-fs": "^4.1.2",

View file

@ -1,8 +1,8 @@
{ {
"name": "svgdir2sprite", "name": "svgdir2sprite",
"version": "1.0.5", "version": "1.0.3",
"description": "Creates a spritesheet from a directory of svgs.", "description": "Creates a spritesheet from a directory of svgs.",
"repository": "git@gitlab.com:gaiety/svgdir2sprite.git", "repository": "sharpshark28/svgdir2sprite",
"main": "index.js", "main": "index.js",
"bin": { "bin": {
"svgdir2sprite": "./cli.js" "svgdir2sprite": "./cli.js"
@ -19,7 +19,7 @@
"icon", "icon",
"icons" "icons"
], ],
"author": "Ava Gaiety W. <ava@wroten.me> (https://gaiety.me/)", "author": "Joe Wroten <joe@wroten.me> (https://www.wroten.me/)",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"async": "^2.6.1", "async": "^2.6.1",