@guscrawford.com/fpm v0.0.11

ā ļø in early beta
The Fake / Faux / Fugazzi Package Manager
Manage interdependant packages that are under development.
echo "š May require elevated privs"
yarn global add @guscrawford.com/fpmfpm 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-corefpm transform
Transform a package.json in a project, and copy it into a dist folder
fpm transform path/to/package --distFolder distThe 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"
}
}
}
}7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
