norman-client-tp v0.3.1
Norman Common
##1/ Norman Client-Side Dependencies This module provides a single point to include common/shared dependencies.
IMPORTANT: Please Do Not add to or Modify this module without prior approval from the Architecture team.
####Adding a Shared Dependency
To add e.g. angular.js
to the client shared dependencies:
- Add it to
peerDependencies
and to (dependencies
ordevDependencies
) of theclient/package.json
file in this repository (remember tonpm publish
client or server folder afterwards)
peerDependencies
will ensure that the dependency is installed in the root of the node_modules
folder instead of the node_modules
of your custom module.
e.g. client/package.json
:
{
"peerDependencies": {
"angular": "^1.3.3"
},
"dependencies": {
"angular": "^1.3.3"
}
}
##2/ Norman Common Server Components This collection of modules provide shared server services and management of shared dependencies for production and test environments
BUILD on GitHub
Click here to visit the central BUILD project on GitHub, where you can find out more!
Click here to view the BUILD Contribution Guidelines.