🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@vin_coder/pg-cli

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

@vin_coder/pg-cli

pg-cli 构建项目工具

latest
Source
npmnpm
Version
0.0.41
Version published
Weekly downloads
4
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

const descriptions = { build: 'Compiles and minifies for production', serve: 'Compiles and hot-reloads for development', lint: 'Lints and fixes files', test: 'Run your tests', 'test:e2e': 'Run your end-to-end tests', 'test:unit': 'Run your unit tests' }

function printScripts(pkg, packageManager) { return Object.keys(pkg.scripts || {}).map(key => { if (!descriptions[key]) return '' return [ \n### ${descriptions[key]}, '', `${packageManager} run ${key}`, '', '' ].join('\n') }).join('') }

module.exports = function generateReadme(pkg, packageManager) { return [ # ${pkg.name}\n, '## Project setup', '', `${packageManager} install`, '', printScripts(pkg, packageManager), '### Customize configuration', 'See Configuration Reference.', '' ].join('\n') }

Keywords

pg-cli

FAQs

Package last updated on 27 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts