pomy
Based on the concept of a project object model (POM), POMY can manage a project's build, reporting and documentation from a central piece of information.
Last updated a year ago by lico .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pomy 
SYNC missed versions from official npm registry.

POMY



Welcome to POMY

Pomy is a software project management and comprehension tool. Based on the concept of a project object model (POM), Pomy can manage a project's build, reporting and documentation from a central piece of information.

Install

$ mkdir project-name && cd project-name
$ npm install pomy -g

Pomy depends on Node.js and npm.

Configuration

Your project need to be configured using JSON in a pomy.json file.

{
  "group": "lico.atom",
  "artifact": "pomy-test",
  "version": "1.0.1",
  "name": "pomy-test",
  "title": "pomy-test - test pomy tool",
  "description": "test pomy tool",
  "private": false,
  "license": "MIT",
  "debug": true,
  "skin": "default",
  "define": "cmd",
  "keywords": "JSRT, Node.js, Gulp, Angularjs, Markdown, API Document, JsDoc, Open Source",
  "repository": {
    "type": "git",
    "url": "git@github.com/licoliu/pomy-test.git"
  },
  "bugs": {
    "url": "http://github.com/liujc/pomy-test/issues"
  },
  "homepage": "http://github.com/liujc/pomy-test",
  "dependencies": {},
  "devDependencies": {
    "pomy": "^1.0.1"
  },
  "site": {
    "domain": "127.0.0.1",
    "port": 8421,
    "user": "root",
    "nohup": true
  },
  "manual": {
    "url": "http://github.com/liujc/pomy-test",
    "email": "lico.atom@gmail.com"
  },
  "registry": "https://registry.npm.taobao.org",
  "googleWebmasterMeta": "",
  "author": "lico",
  "developers": [{
    "id": "lico",
    "name": "lico liu",
    "email": "lico.atom@gmail.com",
    "url": "https://github.com/licoliu"
  }],
  "contributors": [],
  "organization": {
    "name": "atomunion",
    "url": "https://github.com/atomunion"
  },
  "target": "local"
}

Usage

If you want to pack your project:

$ pomy package --target release --version 1.0.1

The syntax for running Pomy is as follows:

$ pomy [<phase>] [options]
  • All available options are listed below:

    --target release/snapshort/local/test/...

    --version x.xx.xxx

  • The built in life cycles and their phases are in order are:

    clean - pre-clean -> clean -> post-clean

    default - validate -> dependancy -> initialize -> generate-sources -> process-sources -> generate-resources -> process-resources -> compile -> process-classes -> generate-test-sources -> process-test-sources -> generate-test-resources -> process-test-resources -> test-compile -> process-test-classes -> test -> prepare-package -> package -> pre-integration-test -> integration-test -> post-integration-test -> verify -> install -> deploy

    site - pre-site -> site -> post-site -> site-deploy

A fresh build of a project generating all packaged outputs and the documentation site could be done with:

$ pomy clean && pomy package && pomy site

Just creating the site and running it can be done with:

$ pomy clean && pomy site && pomy site:run

Just Formating all js, css, sass, scss, less and html files can be done with:

$ pomy format

or

$ pomy format-js && pomy format-css && pomy format-html

Just Fetching all js dependancies can be done with:

$ pomy dependancy

Just executing all unit test cases can be done with:

$ pomy test

This is the most common build invocation for a Pomy project.

When not working with a project, and in some other use cases, you might want to invoke a specific task implemented by a part of Pomy - this is called a goal of a plugin. E.g.:

$ pomy archetype:generate

There are many different plugins avaiable and they all implement different goals.

Support

Contributing

We welcome contributions of all kinds from anyone.

License

Copyright (c) 2009~2016 lico and other contributors(https://github.com/licoliu/pomy/graphs/contributors)

Licensed under the MIT License

Current Tags

  • 1.6.3                                ...           latest (a year ago)

88 Versions

  • 1.6.3                                ...           a year ago
  • 1.6.0                                ...           a year ago
  • 1.5.30                                ...           2 years ago
  • 1.5.29                                ...           2 years ago
  • 1.5.28                                ...           2 years ago
  • 1.5.27                                ...           2 years ago
  • 1.5.26                                ...           2 years ago
  • 1.5.25                                ...           2 years ago
  • 1.5.24                                ...           2 years ago
  • 1.5.23                                ...           2 years ago
  • 1.5.22                                ...           2 years ago
  • 1.5.18                                ...           2 years ago
  • 1.5.17                                ...           2 years ago
  • 1.5.15                                ...           2 years ago
  • 1.5.14                                ...           2 years ago
  • 1.5.13                                ...           2 years ago
  • 1.5.12                                ...           2 years ago
  • 1.5.11                                ...           2 years ago
  • 1.5.10                                ...           3 years ago
  • 1.5.9                                ...           3 years ago
  • 1.5.8                                ...           3 years ago
  • 1.5.7                                ...           3 years ago
  • 1.5.6                                ...           3 years ago
  • 1.5.5                                ...           3 years ago
  • 1.5.3                                ...           3 years ago
  • 1.5.1                                ...           3 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.9                                ...           3 years ago
  • 1.4.8                                ...           3 years ago
  • 1.4.7                                ...           3 years ago
  • 1.4.6                                ...           3 years ago
  • 1.4.5                                ...           3 years ago
  • 1.4.4                                ...           3 years ago
  • 1.4.3                                ...           3 years ago
  • 1.4.1                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.18                                ...           3 years ago
  • 1.3.17                                ...           3 years ago
  • 1.3.16                                ...           3 years ago
  • 1.3.15                                ...           3 years ago
  • 1.3.14                                ...           3 years ago
  • 1.3.13                                ...           3 years ago
  • 1.3.12                                ...           3 years ago
  • 1.3.11                                ...           3 years ago
  • 1.3.10                                ...           3 years ago
  • 1.3.9                                ...           3 years ago
  • 1.3.8                                ...           3 years ago
  • 1.3.7                                ...           3 years ago
  • 1.3.6                                ...           3 years ago
  • 1.3.5                                ...           3 years ago
  • 1.3.4                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.11                                ...           3 years ago
  • 1.2.10                                ...           3 years ago
  • 1.2.9                                ...           3 years ago
  • 1.2.8                                ...           4 years ago
  • 1.2.7                                ...           4 years ago
  • 1.2.6                                ...           4 years ago
  • 1.2.4                                ...           4 years ago
  • 1.2.3                                ...           4 years ago
  • 1.1.10                                ...           4 years ago
  • 1.1.8                                ...           4 years ago
  • 1.1.7                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.1-release                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.0.25                                ...           4 years ago
  • 1.0.23                                ...           4 years ago
  • 1.0.22                                ...           4 years ago
  • 1.0.21                                ...           4 years ago
  • 1.0.20                                ...           4 years ago
  • 1.0.19                                ...           4 years ago
  • 1.0.18                                ...           4 years ago
  • 1.0.17                                ...           4 years ago
  • 1.0.16                                ...           4 years ago
  • 1.0.15                                ...           4 years ago
  • 1.0.14                                ...           4 years ago
  • 1.0.13                                ...           4 years ago
  • 1.0.11                                ...           4 years ago
  • 1.0.10                                ...           4 years ago
  • 1.0.9                                ...           4 years ago
  • 1.0.8                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (37)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2016 © taobao.org |