mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
31 lines
577 B
YAML
31 lines
577 B
YAML
|
distributable:
|
||
|
url: https://registry.npmjs.org/snaplet/-/snaplet-{{version}}.tgz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
url: https://www.npmjs.com/package/snaplet?activeTab=versions
|
||
|
match: /v\/\d+\.\d+\.\d+/
|
||
|
strip:
|
||
|
- /^v\//
|
||
|
|
||
|
dependencies:
|
||
|
nodejs.org: ^10.13.0 || ^12 || ^14 || ^16 || ^18 || ^19
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
npmjs.com: "*"
|
||
|
script:
|
||
|
- chmod +x bin/snaplet.js
|
||
|
- npm install .
|
||
|
--global
|
||
|
--prefix="{{prefix}}"
|
||
|
--install-links
|
||
|
|
||
|
provides:
|
||
|
- bin/snaplet
|
||
|
|
||
|
test:
|
||
|
script:
|
||
|
- snaplet -v | grep {{version}}
|
||
|
- snaplet config list
|