coins-validate
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -12,2 +12,3 @@ var validate = require('git-validate'); | ||
]; | ||
var lintDirs = 'src/**/*.js test/**/*.js'; | ||
@@ -20,4 +21,4 @@ var projPkg = require(path.resolve(root, 'package.json')); | ||
validate.copy('templates/.jscsrc', '.jscsrc'); | ||
if (!projPkg.scripts || !projPkg.scripts['lint']) validate.installScript('lint', 'jscs .'); | ||
if (!projPkg.scripts || !projPkg.scripts['postlint']) validate.installScript('postlint', 'jshint .'); | ||
if (!projPkg.scripts || !projPkg.scripts['lint']) validate.installScript('lint', 'jscs ' + lintDirs); | ||
if (!projPkg.scripts || !projPkg.scripts['postlint']) validate.installScript('postlint', 'jshint ' + lintDirs); | ||
if (!projPkg.scripts || !projPkg.scripts['validate']) validate.installScript('validate', 'npm ls'); | ||
@@ -24,0 +25,0 @@ if (!projPkg.scripts || !projPkg.scripts['preversion']) validate.installScript('preversion', 'git checkout master && git pull && npm ls'); |
{ | ||
"name": "coins-validate", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "configures a package to fall inline with coins standards", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6892
57