aboutsummaryrefslogtreecommitdiff
path: root/pkgs/postcss-plugins/find.sh
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2018-12-11 18:10:48 +0300
committerIgor Pashev <pashev.igor@gmail.com>2018-12-11 18:10:48 +0300
commit8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3 (patch)
treed03b70f693463fc836a8dbe4240424d2547530c8 /pkgs/postcss-plugins/find.sh
parentc4273035cf5876e3ba8ed2c6b492d31c2de290ee (diff)
downloadnixsap-8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3.tar.gz
(* HUGE *) Use nixpkgs overlays
Diffstat (limited to 'pkgs/postcss-plugins/find.sh')
-rwxr-xr-xpkgs/postcss-plugins/find.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/postcss-plugins/find.sh b/pkgs/postcss-plugins/find.sh
new file mode 100755
index 0000000..732fca1
--- /dev/null
+++ b/pkgs/postcss-plugins/find.sh
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+curl --globoff 'https://registry.npmjs.org/-/_view/byKeyword?startkey=["postcss-plugin"]&endkey=["postcss-plugin",{}]&group_level=2' \
+ | jq '.rows | map(.key | .[1])' > plugins.json
+