Skip to content

Instantly share code, notes, and snippets.

View indus's full-sized avatar
♾️

Stefan Keim indus

♾️
View GitHub Profile
@indus
indus / nodep package.json
Last active July 7, 2024 01:37
my minimal bower replacement: just download the package.json (or copy the script over to yours) and hit "npm install".
{
"name": "bower-replacement",
"version": "0.0.1",
"description": "bower replacement made simple (noDep)",
"scripts": {
"postinstall":"npm link download && node -e \"require('./package.json').download.forEach(a => require('download').apply(0,a))\" && npm unlink download"
},
"download": [
["https://gist.github.com/favicon.ico","."],
["https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.js","src/script/org"],