"files": [ "lib", "LICENSE" ], "engines": { "npm": ">= 1.3 < 2", "node": ">= 0.10 <= 0.11" }, "devDependencies": { "mocha": "^1.18.0", "coffee-script": "^1.7.1" }, "dependencies": { "underscore": "*" }, "optionalDependencies": { "es6-promise": "^0.1.1" } } Files to be included Where does it work? Required to build/ test/etc Required to use Not required, but nice to have
Given a version number MAJOR.MINOR.PATCH, increment the: ! MAJOR version when you make incompatible API changes ! MINOR version when you add functionality in a backwards- compatible manner. ! PATCH version when you make backwards-compatible bug fixes. ! Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format. Summary
Note Software using Semantic Versioning MUST declare a public API. ! This API could be declared in the code itself or exist strictly in documentation. However it is done, it should be precise and comprehensive.
Note Once a versioned package has been released, the contents of that version MUST NOT be modified. ! Any modifications MUST be released as a new version.
Keep up-to-date npmedge $ npmedge es6-promise has 1.0.0, but ^0.1.1 is specified jsontool has 7.0.2, but 7.0.1 is specified jscov has 0.6.14, but ^0.5.7 is specified chai-as-promised has 4.1.1, but ^3.3.1 is specified