#!/usr/bin/env bash
# set configurations that will be "sticky" on this system,
# surviving npm self-updates.
CONFIGS=()
i=0
# get the location of this file.
unset CDPATH
CONFFILE=$(cd $(dirname "$0"); pwd -P)/npmrc
while [ $# -gt 0 ]; do
conf="$1"
case $conf in
--help)
echo "./configure --param=value ..."
exit 0
;;
--*)
CONFIGS[$i]="${conf:2}"
;;
*)
CONFIGS[$i]="$conf"
;;
esac
let i++
shift
done
for c in "${CONFIGS[@]}"; do
echo "$c" >> "$CONFFILE"
done
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| bin | Folder | 0755 |
|
|
| changelogs | Folder | 0755 |
|
|
| lib | Folder | 0755 |
|
|
| man | Folder | 0755 |
|
|
| node_modules | Folder | 0755 |
|
|
| scripts | Folder | 0755 |
|
|
| tap-snapshots | Folder | 0755 |
|
|
| .licensee.json | File | 245 B | 0644 |
|
| .mailmap | File | 3.2 KB | 0644 |
|
| .npmignore | File | 368 B | 0644 |
|
| .npmrc | File | 0 B | 0644 |
|
| .travis.yml | File | 262 B | 0644 |
|
| AUTHORS | File | 26.44 KB | 0644 |
|
| CHANGELOG.md | File | 156.31 KB | 0644 |
|
| CONTRIBUTING.md | File | 9.29 KB | 0644 |
|
| LICENSE | File | 9.51 KB | 0644 |
|
| Makefile | File | 4.02 KB | 0644 |
|
| README.md | File | 4.39 KB | 0644 |
|
| configure | File | 529 B | 0644 |
|
| File | 0 B | 0 |
|
|
| make.bat | File | 156 B | 0644 |
|
| package.json | File | 7.84 KB | 0644 |
|