Socket
Socket
Sign inDemoInstall

add-prettier

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-prettier - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

7

index.js

@@ -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"}}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc