Comparing version 1.1.4 to 2.0.0
@@ -10,3 +10,3 @@ var gulp = require('gulp'); | ||
display: inline-block; | ||
vertical-align: middle; | ||
vertical-align: sub; | ||
cursor: pointer; | ||
@@ -21,3 +21,2 @@ }`; | ||
var className = 'nap-icon-' + (imagePath.dir ? imagePath.dir + '-' : '') + words[0]; | ||
console.log(className); | ||
var dimensions = sizeOf(file.path); | ||
@@ -52,4 +51,4 @@ var base64 = base64Img.base64Sync(file.path); | ||
var content = classList.join('\n'); | ||
fs.writeFile('./scss/sprite.scss', content, callback); | ||
fs.writeFile('./scss/_sprite.scss', content, callback); | ||
})); | ||
}); |
{ | ||
"name": "nap-theme", | ||
"version": "1.1.4", | ||
"main": "index.js", | ||
"author": "Leo Vo", | ||
"license": "MIT", | ||
"scripts": { | ||
"prebuild": "gulp", | ||
"build": "node-sass scss/theme.scss css/theme.css --output-style=expanded --source-map=true --importer=sass-importer.js", | ||
"prepublish": "yarn run build" | ||
}, | ||
"peerDependencies": { | ||
"bootstrap": "4.0.0-alpha.6" | ||
}, | ||
"devDependencies": { | ||
"base64-img": "^1.0.3", | ||
"bootstrap": "4.0.0-alpha.6", | ||
"gulp": "^3.9.1", | ||
"image-size": "^0.6.1", | ||
"node-sass": "^4.5.3", | ||
"parse-filepath": "^1.0.1", | ||
"rimraf": "^2.6.1", | ||
"through2": "^2.0.3" | ||
} | ||
} | ||
"name": "nap-theme", | ||
"version": "2.0.0", | ||
"main": "index.js", | ||
"author": "Leo Vo", | ||
"license": "MIT", | ||
"scripts": { | ||
"prebuild": "gulp", | ||
"build": "node-sass scss/theme.scss css/theme.css --output-style=expanded --source-map=true --importer=sass-importer.js", | ||
"prepublish": "npm run build" | ||
}, | ||
"peerDependencies": { | ||
"bootstrap": "^4.0.0-beta.2" | ||
}, | ||
"devDependencies": { | ||
"base64-img": "^1.0.3", | ||
"bootstrap": "^4.0.0-beta.2", | ||
"gulp": "^3.9.1", | ||
"image-size": "^0.6.1", | ||
"node-sass": "^4.5.3", | ||
"parse-filepath": "^1.0.1", | ||
"rimraf": "^2.6.1", | ||
"through2": "^2.0.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
331013
19
7034