1.0.10 • Published 2 years ago

@atools/pm v1.0.10

Weekly downloads
41
License
MIT
Repository
-
Last release
2 years ago

About

📦 a tiny package manager.

Quick Start

Step 1

$ npm install -D @atools/pm

Step 2

"scripts": {
  "pm_install": "./node_modules/.bin/pm run install"
}

Advanced Usage

.pmrc.js

const path = require("path");
module.exports = {
  root: path.join(__dirname, "./_fixtures/packages"),
  hooks: {
    cmd: {
      beforeExec: function (cmd) {
        if (cmd === "npm i") {
          return "cnpm ii";
        } else if (cmd === "npm uninstall") {
          return "cnpm uninstall";
        }
      },
    },
  },
};

Internal Handles

  • cmd / install
  • cmd / uninstall
1.0.9

2 years ago

1.0.8

2 years ago

1.0.10

2 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago