gnu: node-crx3: Ignore development dependencies.

* gnu/packages/node-xyz.scm (node-crx3)[arguments]<phases>: Explicitly patch
out development dependencies. Re-enable configure phase.
This commit is contained in:
Jelle Licht 2023-02-08 22:05:20 +01:00
parent aa0dbc3170
commit 06be5228f0
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -179,10 +179,16 @@ (define-public node-crx3
(substitute* "lib/configuration.js"
(("mri")
"minimist"))))
(replace 'configure
(add-after 'patch-dependencies 'delete-dependencies
(lambda _
(invoke "npm" "--offline" "--ignore-scripts" "install"
"--production"))))))
(delete-dependencies '("c8"
"docdash"
"eslint"
"eslint-plugin-jsdoc"
"jsdoc"
"tap-diff"
"tape"
"tape-catch")))))))
(inputs (list node-minimist node-pbf node-yazl))
(home-page "https://github.com/ahwayakchih/crx3")
(synopsis "Create CRXv3 browser extensions with Javascript")