Giter Club home page Giter Club logo

Comments (4)

searls avatar searls commented on July 23, 2024

To try and get clarity here, this is what I get when I run npm run without args on this branch of one of my projects:

$ npm run
Lifecycle scripts included in testdouble:
  test
    scripty
  preversion
    scripty
  postversion
    scripty
  version
    scripty
  prepublish
    scripty

available via `npm run-script`:
  clean:dist
    scripty
  clean
    scripty
  compile:node
    scripty
  compile:test
    scripty
  compile:browser
    scripty
  compile
    scripty
  test:cover:instrument
    scripty
  test:cover:run
    scripty
  test:cover:report
    scripty
  test:cover
    scripty
  test:browser
    scripty
  test:example:webpack
    scripty
  test:example:node
    scripty
  test:example:lineman
    scripty
  test:example
    scripty
  test:all
    scripty
  test:ci
    scripty
  version:write
    scripty
  version:changelog
    scripty

Since npm owns the npm run command, I'm not sure what I could do to override its behavior short of wrapping the npm bin, which nobody would get behind.

Do you have any insight into how this could be improved cleanly?

from scripty.

zeke avatar zeke commented on July 23, 2024

Shameless self-promotion and not a solution per se, but I prefer npe to npm run.

npm i -g npe && npe scripts

from scripty.

deanrad avatar deanrad commented on July 23, 2024

Closing on account of my not remembering what I thought the problem was with that output, which LGTM.

from scripty.

searls avatar searls commented on July 23, 2024

Haha ok dean

On Jul 25, 2016, at 13:41, Dean Radcliffe [email protected] wrote:

Closing on account of my not remembering what I thought the problem was with that output, which LGTM.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from scripty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.