pantry/projects/github.com/antfu/ni/package.yml

32 lines
496 B
YAML
Raw Normal View History

2023-06-23 15:25:45 +03:00
distributable:
url: https://github.com/antfu/ni/archive/refs/tags/v0.21.4.tar.gz
strip-components: 1
versions:
github: antfu/ni
dependencies:
nodejs.org: '>=14'
build:
dependencies:
npmjs.com: '*'
script:
- npm install --include=dev
- npm run build
- npm install .
--global
--prefix={{prefix}}
--install-links
provides:
- bin/na
- bin/nci
- bin/ni
- bin/nlx
- bin/nr
- bin/nu
- bin/nun
test:
ni --version | grep {{version}}