pantry/projects/npmjs.com/package.yml

24 lines
416 B
YAML
Raw Normal View History

2022-10-27 05:41:27 +03:00
distributable:
url: https://github.com/npm/cli/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
versions:
github: npm/cli
provides:
- bin/npm
- bin/npx
dependencies:
nodejs.org: '>=14'
2022-10-27 05:41:27 +03:00
build:
script:
node . install --global --prefix={{prefix}}
2022-10-27 05:41:27 +03:00
test:
dependencies:
git-scm.org: '*' # `npm doctor` checks for, but doesn't use, `git`
2022-10-27 05:41:27 +03:00
script: |
npm doctor
2022-10-27 05:41:27 +03:00
npx -q tldr ls