Decorates a path to a package.json file w/ property accessors and
| Constructor and description |
|---|
Package
(java.lang.String path)
|
| Type | Name and description |
|---|---|
java.lang.Object |
getProperty(java.lang.String name) |
java.util.List |
getRepositories()A lot of projects don't properly implement the CommonJS spec, so we'll assume the package.json is at the root of any repository |
protected java.lang.String |
packagePathToRepo(java.lang.String packagePath)@return
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
path - The path to a package.json file.A lot of projects don't properly implement the CommonJS spec, so we'll assume the package.json is at the root of any repository
packagePath - Full path to a package.json