Adding js and css from a module but only to node view, not node edit
A quick, dirty way would be to check the current path for 'edit':

$node = menu_get_object();
if (!empty($node) &amp;&amp; $node-&gt;type == 'my_node_type' &amp;&amp; arg(2) != 'edit') {
  // ...
}