mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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:
parent
aa0dbc3170
commit
06be5228f0
1 changed files with 9 additions and 3 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue