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 @@ and fancy character sets, signed or unsigned data and has tests, for Node.")
|
||||||
(substitute* "lib/configuration.js"
|
(substitute* "lib/configuration.js"
|
||||||
(("mri")
|
(("mri")
|
||||||
"minimist"))))
|
"minimist"))))
|
||||||
(replace 'configure
|
(add-after 'patch-dependencies 'delete-dependencies
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "npm" "--offline" "--ignore-scripts" "install"
|
(delete-dependencies '("c8"
|
||||||
"--production"))))))
|
"docdash"
|
||||||
|
"eslint"
|
||||||
|
"eslint-plugin-jsdoc"
|
||||||
|
"jsdoc"
|
||||||
|
"tap-diff"
|
||||||
|
"tape"
|
||||||
|
"tape-catch")))))))
|
||||||
(inputs (list node-minimist node-pbf node-yazl))
|
(inputs (list node-minimist node-pbf node-yazl))
|
||||||
(home-page "https://github.com/ahwayakchih/crx3")
|
(home-page "https://github.com/ahwayakchih/crx3")
|
||||||
(synopsis "Create CRXv3 browser extensions with Javascript")
|
(synopsis "Create CRXv3 browser extensions with Javascript")
|
||||||
|
|
Reference in a new issue