<commit_before># Introduction

This plugin allows you to integrate `npm` (and indirectly the rest of the Node.js
toolchain) into a larger Maven build containing a mix of Java and Node projects. 
It accomplishes this by keeping things simple and making the following assumptions:

1. Node projects should use the standard Node project structure, not Maven project
   structure. Maven should get out of the way.
1. JavaScript developers should use the standard Node/JavaScript tools, such as 
   [npm](https://www.npmjs.com), [Grunt](http://gruntjs.com), [Bower](http://bower.io),
   [Mocha](http://mochajs.org) and [Karma](http://karma-runner.github.io/0.13/index.html)
   for dependency management, build orchestration, unit and integration testing, packaging
   and publishing. Maven should get out of the way.      
1. There is already `package.json` that can be used to test, bundle and publish 
   Node package using `npm`, so all Maven needs to do is delegate to `npm`... 
   and get out of the way.

This plugin defines `npm` packaging type for Maven project and delegates all phases
of the lifecycle to `npm`. As long as there is a script for the Maven lifecycle
phase in `package.json`, it will be executed.

# Prerequisites

You should have `node` and `npm` executables in the path. 
<commit_msg>minor doc changes<commit_after># Introduction

This plugin allows you to integrate `npm` (and indirectly the rest of the Node.js
toolchain) into a larger Maven build containing a mix of Java and Node projects. 
It accomplishes this by keeping things simple and making the following assumptions:

1. Node projects should use the standard Node project structure, not Maven project
   structure. *Maven should get out of the way.*
1. JavaScript developers should use the standard Node/JavaScript tools, such as 
   [npm](https://www.npmjs.com), [Grunt](http://gruntjs.com), [Bower](http://bower.io),
   [Mocha](http://mochajs.org) and [Karma](http://karma-runner.github.io/0.13/index.html)
   for dependency management, build orchestration, unit and integration testing, packaging
   and publishing. *Maven should get out of the way.*      
1. There is already `package.json` that can be used to test, bundle and publish 
   Node package using `npm`, so all Maven needs to do is delegate to `npm`... 
   *and get out of the way.*

This plugin defines `npm` packaging type for Maven project and delegates all phases
of the lifecycle to `npm`. As long as there is a script for the Maven lifecycle
phase in `package.json`, it will be executed.

# Prerequisites

You should have `node` and `npm` executables in the path. 

{'fraction_non_alphanumeric': 0.08091603053435115, 'fraction_numerical': 0.004580152671755725, 'mean_word_length': 4.030710172744722, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2509136', 'n_tokens_mistral': 747, 'n_tokens_neox': 704, 'n_words': 362}