Update read. Add some comments

This commit is contained in:
Walter Barbagallo 2017-03-10 12:46:46 +01:00
parent d061c4e31e
commit 587661b603
2 changed files with 9 additions and 0 deletions

View File

@ -43,3 +43,11 @@ Get all the omocodie for a given Codice Fiscale. It returns an array of strings
```js
var omocodie = CodiceFiscale.getOmocodie("VNDLDL10A01G410Z");
```
-------
## Available npm scripts:
- `npm run build`: build the bundle into `dist` directory.
- `npm run test`: launch the karma tests.

View File

@ -7,6 +7,7 @@ module.exports = {
'codice.fiscale': './lib/codice.fiscale.js'
},
output: {
// this will publish the module on the window object in order to support the karma tests
library: 'CodiceFiscale',
libraryTarget: 'window',
filename: '[name].js',