Skip to content

Instantly share code, notes, and snippets.

View felpin's full-sized avatar
💭
Felipe ❤️ JavaScript

Felipe de Alencar Pinheiro felpin

💭
Felipe ❤️ JavaScript
  • AvantStay
  • São José, SC - Brazil
View GitHub Profile
@hinkman
hinkman / gist:456743a1ba4e82d11968f248ebec4402
Last active May 15, 2020 15:01
package.json dep of a dep
## Let's say we are commiting into "project_one". The file project_one/package.json
## for npm has a dependencies section that includes a dependent project - call it
## project_two. For instance:
project_one/package.json
------------------------
"dependencies": {
"cors": "2.7.*",
"docdash": "0.4.*",
@DarrenN
DarrenN / get-npm-package-version
Last active April 17, 2024 16:57 — forked from yvele/get-npm-package-version.sh
Extract version from package.json (NPM) using bash / shell
# Version key/value should be on his own line
PACKAGE_VERSION=$(cat package.json \
| grep version \
| head -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g')
echo $PACKAGE_VERSION
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 9, 2024 19:52
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites