Generate latest package format

* Add npm support.
* Include latest build tools.
* Correct names in manifests.
* Update generated test file.
* Update code style in generated component.
0.4.0