django-compressor-toolkit
django-compressor-toolkit copied to clipboard
Use npx
What do you think about using https://www.npmjs.com/package/npx for local npm packages? IMHO. it would be a much nicer way of handling the situation.~, now that npx is included in npm by default...~
*edit: oops
Nice feature request, indeed! ;)
Though I don't know when I'll have a chance to implement it. @ashnur - could you, please, try to make a pull-request for it? (with a couple of tests included)
I have very little experience with python so far, not sure if I could do it. Even working with the module is a struggle, here are a couple questions that I think would help me to integrate npx:
- how to enable logging in case any of the
command
s in the filters fail? (or simply just seeing the commands and their output every time they are run would be great) - how to know in what current working directory the commands are run? Ideally I would like to be able to configure this to the directory where my
package.json
is.