0.0.11 ā€¢ Published 5 years ago

@guscrawford.com/fpm v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

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

0.0.11

5 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0-alpha-rev9

6 years ago

0.0.0-alpha-rev8

6 years ago

0.0.0-alpha-rev6

6 years ago

0.0.0-alpha-rev5

6 years ago

0.0.0-alpha-rev4

6 years ago

0.0.0-alpha-rev3

6 years ago

0.0.0-alpha-rev2

6 years ago

0.0.0-alpha

6 years ago