purgetss 5.3.13 → 5.3.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.
package/bin/purgetss CHANGED
@@ -4,7 +4,6 @@ const chalk = require('chalk');
4
4
  const program = require('caporal');
5
5
  const pkg = require('../package.json');
6
6
  const purgetss = require('../index.js');
7
- const package = require('../package.json');
8
7
  const updateNotifier = require('update-notifier');
9
8
 
10
9
  // check if a new version of PurgeTSS is available and print an update notification
@@ -14,8 +13,8 @@ if (notifier.update && notifier.update.latest !== pkg.version) {
14
13
  }
15
14
 
16
15
  program
17
- .version(package.version)
18
- .description(package.description + '\n\nPlease visit ' + chalk.yellow('https://github.com/macCesar/purgeTSS') + ' for details.')
16
+ .version(pkg.version)
17
+ .description(pkg.description + '\n\nPlease visit ' + chalk.yellow('https://github.com/macCesar/purgeTSS') + ' for details.')
19
18
  .help('PurgeTSS will create a clean app.tss file with only the classes used in your XML Files.\n\nIt works with tailwind.tss, fontawesome.tss, materialdesignicons.tss, framework7icons.tss.\n\nYour original classes will be backed up in _app.tss.\n\nYou can create your own custom classes and values by running `purgetss init` and `purgetss build`.')
20
19
  .option('-d, --debug', 'Show time taken to execute each process.')
21
20
  .option('-a, --all', 'Run all processes. purgetss build-fonts, purgetss build and purgetss')
@@ -58,9 +57,7 @@ program
58
57
  .description('Build a custom `tailwind.tss` file.')
59
58
  .help('It will generate a new custom `tailwind.tss` file based on the attributes defined in `./purgetss/config.js`.\n\nIt will also generate a custom `fontawesome.tss` file if you installed the proper dependencies, like FontAwesome Beta or FontAwesome Pro.')
60
59
  .action((args, options, logger) => {
61
- let completions = require('../testing-scripts/completions');
62
- // completions;
63
- // completions.motherGooseClassGeneration();
60
+ require('../testing-scripts/completions');
64
61
  });
65
62
 
66
63
  program