generated from melange-re/melange-opam-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opam-check-npm-deps.opam
44 lines (44 loc) · 1.21 KB
/
opam-check-npm-deps.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
opam-version: "2.0"
synopsis:
"An opam plugin to check for npm depexts inside the node_modules folder"
description:
"Provides the `opam check-npm-deps` command, which given an opam switch, gathers all the depexts belonging to the npm platform and their version constraints, and checks the `node_modules` folder to see if the constraints are satisfied."
maintainer: ["Javier Chávarri <[email protected]>"]
authors: ["Javier Chávarri <[email protected]>"]
tags: ["melange" "org:ahrefs"]
license: "MIT"
homepage: "https://github.com/ahrefs/opam-check-npm-deps"
bug-reports: "https://github.com/ahrefs/opam-check-npm-deps/issues"
depends: [
"ocaml" {>= "4.14.0"}
"reason" {>= "3.8.1"}
"dune" {>= "3.8"}
"opam-client" {>= "2.3" & < "2.4"}
"mccs" {>= "1.1+14"}
"angstrom" {>= "0.15.0"}
"fmt" {>= "0.9.0"}
"bos"
"lwt_ppx"
"ppx_deriving_yojson"
"ppx_expect"
"ppx_inline_test"
"ppx_let"
"ppx_sexp_conv"
"odoc" {with-doc}
]
available: opam-version >= "2.3" & opam-version < "2.4"
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ahrefs/opam-check-npm-deps.git"
flags: plugin