Skip to content

Commit

Permalink
Cleanup repo name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmccall committed May 15, 2015
1 parent ee1814c commit b255fb2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
eMcellent-parse
eMcellent
=========

[![Build Status](https://travis-ci.org/mmccall/eMcellent-parse.svg?branch=master)](https://travis-ci.org/mmccall/eMcellent-parse) [![Coverage Status](https://coveralls.io/repos/mmccall/eMcellent-parse/badge.svg)](https://coveralls.io/r/mmccall/eMcellent-parse)

A most excellent M/MUMPS parsing library; eMcellent-parse takes input M/MUMPS code and transforms it into JSON-based representations of the code. This can be used in translation and/or markup to make the source code more readily interpretable.
A most excellent M/MUMPS parsing library; eMcellent takes input M/MUMPS code and transforms it into JSON-based representations of the code. This can be used in translation and/or markup to make the source code more readily interpretable.

### Getting Started

The code is built to be run in either Node.js or the browser; it uses native Javascript parsing and has no intrinsic dependencies outside of those used during builds.

To use in Node.js, the package is available via `npm`. To use locally, you will only need to install dependencies using `npm install`. To test, the default `grunt` task will execute all test cases.

To use in the browser, install dependencies with `npm install`, and run `grunt build:browser`. Browserify will convert the package into a Commonjs format, minify it, and output it to `/dist/emcellent-parse.min.js`.
To use in the browser, install dependencies with `npm install`, and run `grunt build:browser`. Browserify will convert the package into a Commonjs format, minify it, and output it to `/dist/emcellent.min.js`.

### Functions

The library has two entry functions; note that both functions are synchronous. In the browser, these can be accessed as elements of the mParse object (ex. `mParse.parse();` ).
The library has two entry functions; note that both functions are synchronous. In the browser, these can be accessed as elements of the emcellent object (ex. `emcellent.parse();` ).

#### parse()

Expand Down
8 changes: 4 additions & 4 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ module.exports = function (grunt) {
browserify: {
dist: {
files: {
'dist/emcellent-parse.min.js': ['index.js']
'dist/emcellent.min.js': ['index.js']
},
options: {
browserifyOptions: {
standalone: 'mParse'
standalone: 'emcellent'
}
},
}
Expand All @@ -80,7 +80,7 @@ module.exports = function (grunt) {
},
my_target: {
files: {
'dist/emcellent-parse.min.js': ['dist/emcellent-parse.min.js']
'dist/emcellent.min.js': ['dist/emcellent.min.js']
}
}
},
Expand All @@ -100,4 +100,4 @@ module.exports = function (grunt) {
}
}
});
};
};
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "emcellent-parse",
"version": "0.0.2",
"name": "eMcellent",
"version": "0.0.3",
"description": "A most excellent M/MUMPS parsing library.",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/mmccall/eMcellent-parse.git"
"url": "https://github.com/mmccall/eMcellent.git"
},
"keywords": [
"M",
Expand All @@ -17,9 +17,9 @@
"author": "Matthew McCall",
"license": "Apache 2.0",
"bugs": {
"url": "https://github.com/mmccall/eMcellent-parse/issues"
"url": "https://github.com/mmccall/eMcellent/issues"
},
"homepage": "https://github.com/mmccall/eMcellent-parse",
"homepage": "https://github.com/mmccall/eMcellent",
"dependencies": {},
"devDependencies": {
"mocha": "~2.0.1",
Expand All @@ -37,4 +37,4 @@
"istanbul": "~0.3.5",
"coveralls": "~2.11.2"
}
}
}
2 changes: 1 addition & 1 deletion test/unit/renderIndentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ describe('Render Indentation >', function () {
done();
});

});
});
2 changes: 1 addition & 1 deletion test/unit/renderLabels.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ describe('Render Labels >', function () {
done();
});

});
});
2 changes: 1 addition & 1 deletion test/unit/renderRoutines.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ describe('Render Routines >', function () {
done();
});

});
});

0 comments on commit b255fb2

Please sign in to comment.