Skip to content

Commit

Permalink
update aramaic-mapper dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
borota committed Jan 15, 2018
1 parent a8bd507 commit a992237
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -25,7 +25,7 @@ Following bundles are available:
libraries and applications

The package could also be downloaded directly from:
[https://registry.npmjs.org/hebrew-code-util/-/hebrew-code-util-1.0.5.tgz](https://registry.npmjs.org/hebrew-code-util/-/hebrew-code-util-1.0.5.tgz)
[https://registry.npmjs.org/hebrew-code-util/-/hebrew-code-util-1.0.6.tgz](https://registry.npmjs.org/hebrew-code-util/-/hebrew-code-util-1.0.6.tgz)

## More information

Expand Down
2 changes: 1 addition & 1 deletion doc/readme.hbs
Expand Up @@ -25,7 +25,7 @@ Following bundles are available:
libraries and applications

The package could also be downloaded directly from:
[https://registry.npmjs.org/hebrew-code-util/-/hebrew-code-util-1.0.5.tgz](https://registry.npmjs.org/hebrew-code-util/-/hebrew-code-util-1.0.5.tgz)
[https://registry.npmjs.org/hebrew-code-util/-/hebrew-code-util-1.0.6.tgz](https://registry.npmjs.org/hebrew-code-util/-/hebrew-code-util-1.0.6.tgz)

## More information

Expand Down
16 changes: 8 additions & 8 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "hebrew-code-util",
"version": "1.0.5",
"version": "1.0.6",
"description": "Hebrew unicode utilities",
"main": "build/hebrew-code-util.js",
"mainMin": "build/hebrew-code-util.min.js",
Expand Down Expand Up @@ -63,19 +63,19 @@
},
"homepage": "https://github.com/peshitta/hebrew-code-util#readme",
"dependencies": {
"aramaic-mapper": "^1.1.4"
"aramaic-mapper": "^1.1.5"
},
"devDependencies": {
"coveralls": "^3.0.0",
"eslint": "^4.11.0",
"eslint": "^4.15.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"istanbul": "^0.4.5",
"jsdoc-to-markdown": "^3.0.1",
"mocha": "^4.0.1",
"rollup": "^0.51.5",
"rollup-plugin-buble": "^0.17.0",
"rollup-plugin-istanbul": "^1.1.0",
"jsdoc-to-markdown": "^3.0.4",
"mocha": "^4.1.0",
"rollup": "^0.54.0",
"rollup-plugin-buble": "^0.18.0",
"rollup-plugin-istanbul": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1"
}
}
45 changes: 30 additions & 15 deletions rollup.config.js
Expand Up @@ -8,7 +8,7 @@ const isDev = process.env.BUILD === 'dev';
const banner = isProduction
? '/**\n' +
'* @file Hebrew unicode utilities\n' +
'* @version 1.0.5\n' +
'* @version 1.0.6\n' +
'* @author Greg Borota\n' +
'* @copyright (c) 2017 Greg Borota.\n' +
'* @license MIT\n' +
Expand Down Expand Up @@ -48,24 +48,34 @@ const plugins = [buble()];
const targets = [
{
input,
output: [{ file: pkg.main, format }],
output: [
{
file: pkg.main,
format,
name,
globals,
banner,
sourcemap
}
],
external,
plugins: plugins.slice(0),
name,
globals,
banner,
sourcemap
plugins: plugins.slice(0)
}
];

if (isProduction) {
// ES module (for bundlers) build.
targets.push({
input,
output: [{ file: pkg.module, format: 'es' }],
output: [
{
file: pkg.module,
format: 'es',
banner
}
],
external,
plugins: plugins.slice(0),
banner
plugins: plugins.slice(0)
});

plugins.push(
Expand All @@ -82,12 +92,17 @@ if (isProduction) {
// browser/nodejs-friendly minified UMD build
targets.push({
input,
output: [{ file: pkg.mainMin, format }],
output: [
{
file: pkg.mainMin,
format,
name,
globals,
banner
}
],
external,
plugins,
name,
globals,
banner
plugins
});
} else if (!isDev) {
targets[0].plugins.push(
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Expand Up @@ -573,4 +573,4 @@ export const endify = word => {
* @param { string } word2 second word to compare
* @returns { number } -1, 0, 1 depending on word sorting
*/
export const sort = getSort(letterAsciiMap, removeDotting);
export const sort = getSort(letterAsciiMap, isConsonant);

0 comments on commit a992237

Please sign in to comment.