mirror of
https://github.com/ivabus/pantry
synced 2024-11-15 13:05:08 +03:00
35 lines
570 B
YAML
35 lines
570 B
YAML
|
distributable:
|
||
|
url: https://github.com/zaach/jsonlint/archive/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: zaach/jsonlint/tags
|
||
|
|
||
|
dependencies:
|
||
|
nodejs.org: ^20
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
npmjs.com: ^10
|
||
|
script:
|
||
|
npm i $ARGS .
|
||
|
env:
|
||
|
ARGS:
|
||
|
- -ddd
|
||
|
- --global
|
||
|
- --build-from-source
|
||
|
- --prefix={{prefix}}
|
||
|
- --install-links
|
||
|
- --unsafe-perm
|
||
|
|
||
|
provides:
|
||
|
- bin/jsonlint
|
||
|
|
||
|
test:
|
||
|
- run: jsonlint $FIXTURE | grep test
|
||
|
fixture:
|
||
|
contents: |
|
||
|
{"name": "test"}
|
||
|
extname: json
|
||
|
- jsonlint --help
|