1.0.12 • Published 11 months ago

@atools/pm v1.0.12

Weekly downloads
41
License
MIT
Repository
-
Last release
11 months 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.11

11 months ago

1.0.12

11 months ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.10

3 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago