swatchkit 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build.js +8 -0
  2. package/package.json +1 -1
package/build.js CHANGED
@@ -243,6 +243,14 @@ function runInit(settings, options) {
243
243
  console.log(`Created starter stylesheet at ${settings.stylesCssFile}`);
244
244
  }
245
245
 
246
+ // Copy CSS Reset
247
+ const resetSrc = path.join(__dirname, 'src/blueprints/reset.css');
248
+ const resetDest = path.join(settings.cssDir, 'reset.css');
249
+ if (fs.existsSync(resetSrc) && !fs.existsSync(resetDest)) {
250
+ fs.copyFileSync(resetSrc, resetDest);
251
+ console.log(`Created CSS reset at ${resetDest}`);
252
+ }
253
+
246
254
  // Copy Compositions
247
255
  const compositionsSrc = path.join(__dirname, 'src/blueprints/compositions');
248
256
  const compositionsDest = path.join(settings.cssDir, 'compositions');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swatchkit",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "A lightweight tool for creating HTML pattern libraries.",
5
5
  "main": "build.js",
6
6
  "bin": {