@guscrawford.com/fpm

![FPM](https://github.com/GUSCRAWFORD/fpm/raw/master/fpm-logo.png)

Stats

StarsIssuesVersionUpdatedCreatedSize
@guscrawford.com/fpm
100.0.113 years ago3 years agoMinified + gzip package size for @guscrawford.com/fpm in KB

Readme

FPM

āš ļø in early beta

Build Status Maintainability Test Coverage

The Fake / Faux / Fugazzi Package Manager

Manage interdependant packages that are under development.

echo "šŸ”‘  May require elevated privs"
yarn global add @guscrawford.com/fpm

fpm install

Install a package to your working directory's node_modules folder

$ fpm install path/to/my-core-package
šŸ“¦  Installing @guscrawford.com/jyve-core@2.0.1c
  šŸ“‚ in /Users/me/jyve/mongo/node_modules/@guscrawford.com/jyve-core

fpm transform

Transform a package.json in a project, and copy it into a dist folder

fpm transform path/to/package --distFolder dist

The above example will output the package.json found at path/to/package to path/to/package/dist/package.json; the --distFolder option by default is dist.

Annotate your package.json as so:

{
    "scripts":{
        "build":"echo building..."
    },
    "@fpm:transform":{
        "scripts":"@fpm:remove"
    }
}

More Annotation Examples

Replace in string properties

{ .., "@fpm:transform": { "main": { "@fpm:replace": { "dist\/": "" } } } }


Add properties and data to data properties

{
..,
  "@fpm:transform": {
    "scripts": {
      "@fpm:add": {
          "do":"anything you want"
      }
    }
  }
}

NPM

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.