diff options
author | Jelle Licht <jlicht@fsfe.org> | 2023-02-08 22:05:20 +0100 |
---|---|---|
committer | Jelle Licht <jlicht@fsfe.org> | 2023-05-06 13:53:21 +0200 |
commit | 06be5228f063dc931528b3f20ca227a1326ae51c (patch) | |
tree | 7fb93581fd2f87ade2ac0543756274bcab3f34ed /gnu/packages | |
parent | aa0dbc31709f8df03139d1b87ce6a12df09def9d (diff) |
gnu: node-crx3: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-crx3)[arguments]<phases>: Explicitly patch
out development dependencies. Re-enable configure phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/node-xyz.scm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 96901e7bf8..00d93d3185 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -179,10 +179,16 @@ and fancy character sets, signed or unsigned data and has tests, for Node.") (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") |