add-prettier
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -7,9 +7,12 @@ #!/usr/bin/env node | ||
const yargs = require('yargs') | ||
const path = require('path') | ||
const { argv } = yargs.boolean('eslint').default('eslint', true) | ||
const yarnPath = path.resolve(__dirname, 'node_modules/yarn/bin/yarn') | ||
const tasks = new Listr([ | ||
{ | ||
title: 'Install Prettier', | ||
task: () => execa('yarn', ['add', '-D', 'prettier-eslint-cli']), | ||
task: () => execa(yarnPath, ['add', '-D', 'prettier-eslint-cli']), | ||
}, | ||
@@ -19,3 +22,3 @@ { | ||
task: () => | ||
execa('yarn', [ | ||
execa(yarnPath, [ | ||
'add', | ||
@@ -22,0 +25,0 @@ '-D', |
@@ -1,1 +0,1 @@ | ||
{"name":"add-prettier","version":"1.3.1","bin":"index.js","repository":"https://github.com/Yellowiki/add-prettier.git","author":"GloriousYellow <yellowglorious@gmail.com>","license":"MIT","dependencies":{"execa":"^0.8.0","fs-extra":"^4.0.2","listr":"^0.12.0","yargs":"^10.0.3","yarn":"^1.2.1"},"engines":{"node":">= 8.0.0"},"prettier":{"singleQuote":true,"trailingComma":"all","semi":false},"scripts":{"format":"prettier-eslint '{src,test,app}/**/*.{js,ts,css}' --write","semantic-release":"semantic-release pre && npm publish && semantic-release post","test":"npm run lint","lint":"eslint ."},"eslintConfig":{"extends":"airbnb","rules":{"semi":["error","never"]}},"devDependencies":{"eslint":"^4.10.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-react":"^7.4.0","prettier-eslint-cli":"^4.4.0","semantic-release":"^8.0.3"}} | ||
{"name":"add-prettier","version":"1.3.2","bin":"index.js","repository":"https://github.com/Yellowiki/add-prettier.git","author":"GloriousYellow <yellowglorious@gmail.com>","license":"MIT","dependencies":{"execa":"^0.8.0","fs-extra":"^4.0.2","listr":"^0.12.0","yargs":"^10.0.3","yarn":"^1.2.1"},"engines":{"node":">= 8.0.0"},"prettier":{"singleQuote":true,"trailingComma":"all","semi":false},"scripts":{"format":"prettier-eslint '{src,test,app}/**/*.{js,ts,css}' --write","semantic-release":"semantic-release pre && npm publish && semantic-release post","test":"npm run lint","lint":"eslint ."},"eslintConfig":{"extends":"airbnb","rules":{"semi":["error","never"]}},"devDependencies":{"eslint":"^4.10.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-react":"^7.4.0","prettier-eslint-cli":"^4.4.0","semantic-release":"^8.0.3"}} |
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
145201
57