@tfdf/ext-scripts

0.0.2 • Public • Published

Shared NPM script for tfdf packages.

tfdfext is a command line tool to run shared npm scripts in tfdf packages.

For instance, if you want add a new hello script that prints Hello World:

{
    "name": "@tfdf/ext-scripts",
    "scripts": {
        "ext:hello": "echo 'Hello World'"
    }
}
  • install tfdfext in your package (the actual version can be different)
{
    "name": "@tfdf/myextension",
    "devDependencies": {
        "@tfdf/ext-scripts": "^0.1.1"
    }
}
  • you should be able to call hello script in the context of your package:
    npx tfdfext hello
  • and from npm scripts of your package:
{
    "name": "@tfdf/myextension",
    "scripts": {
        "hello": "tfdfext hello"
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @tfdf/ext-scripts

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

4.2 kB

Total Files

4

Last publish

Collaborators

  • pittlu