math-codegen 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -10
  2. package/package.json +11 -12
package/README.md CHANGED
@@ -2,8 +2,7 @@
2
2
 
3
3
  [![Build Status][travis-image]][travis-url]
4
4
  [![NPM][npm-image]][npm-url]
5
- [![Coverage Status][coveralls-image]][coveralls-url]
6
- [![Stability](https://img.shields.io/badge/stability-unstable-yellow.svg)]()
5
+ [![codecov](https://codecov.io/gh/mauriciopoppe/math-codegen/branch/master/graph/badge.svg)](https://codecov.io/gh/mauriciopoppe/math-codegen)
7
6
 
8
7
  [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
9
8
 
@@ -44,7 +43,7 @@ in addition an expression can be evaluated under any adapted namespace providing
44
43
 
45
44
  ### Lifecycle
46
45
 
47
- - `parse`: a mathematical expression is parsed with [`mr-parse`](https://github.com/maurizzzio/mr-parser), in the ideal scenario
46
+ - `parse`: a mathematical expression is parsed with [`mr-parse`](https://github.com/mauriciopoppe/mr-parser), in the ideal scenario
48
47
  it would use [math.js expression parser](http://mathjs.org/docs/expressions/index.html) however it's not modularized yet
49
48
  and including all math.js is just an overkill, probably `mr-parse` will be replaced with math.js expression parser when
50
49
  it reaches npm as a module :)
@@ -206,10 +205,10 @@ that exist during the instance lifespan
206
205
  **params**
207
206
  * `code` {string} string to be parsed
208
207
 
209
- Parses a program using [`mr-parse`](https://github.com/maurizzzio/mr-parser), each Expression Statement is saved in
208
+ Parses a program using [`mr-parse`](https://github.com/mauriciopoppe/mr-parser), each Expression Statement is saved in
210
209
  `instance.statements`
211
210
 
212
- The documentation for the available nodes is described in [`mr-parse`](https://github.com/maurizzzio/mr-parser)
211
+ The documentation for the available nodes is described in [`mr-parse`](https://github.com/mauriciopoppe/mr-parser)
213
212
 
214
213
  ### `instance.compile(namespace)`
215
214
 
@@ -346,11 +345,7 @@ instance
346
345
 
347
346
  ## License
348
347
 
349
- 2015 MIT © [Mauricio Poppe]()
348
+ MIT
350
349
 
351
350
  [npm-image]: https://img.shields.io/npm/v/math-codegen.svg?style=flat
352
351
  [npm-url]: https://npmjs.org/package/math-codegen
353
- [travis-image]: https://travis-ci.org/maurizzzio/math-codegen.svg?branch=master
354
- [travis-url]: https://travis-ci.org/maurizzzio/math-codegen
355
- [coveralls-image]: https://coveralls.io/repos/maurizzzio/math-codegen/badge.svg?branch=master
356
- [coveralls-url]: https://coveralls.io/r/maurizzzio/math-codegen?branch=master
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "math-codegen",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Generates code from mathematical expressions",
5
- "bugs": "https://github.com/maurizzzio/math-codegen/issues",
5
+ "bugs": "https://github.com/mauricopoppe/math-codegen/issues",
6
6
  "license": "MIT",
7
7
  "main": "index.js",
8
8
  "author": "Mauricio Poppe <mauricio.poppe@gmail.com>",
@@ -24,20 +24,19 @@
24
24
  "parse"
25
25
  ],
26
26
  "dependencies": {
27
- "extend": "3.0.0",
28
- "mr-parser": "0.2.1"
27
+ "extend": "^3.0.2",
28
+ "mr-parser": "^0.2.1"
29
29
  },
30
30
  "devDependencies": {
31
- "coveralls": "2.11.4",
32
- "doctoc": "0.14.2",
33
- "istanbul": "0.3.21",
34
- "mocha": "2.3.3",
35
- "mocha-lcov-reporter": "0.0.2",
36
- "nodemon": "1.7.1",
37
- "standard": "4.5.4"
31
+ "coveralls": "^2.11.4",
32
+ "doctoc": "^0.14.2",
33
+ "mocha": "^2.3.3",
34
+ "nodemon": "^1.7.1",
35
+ "standard": "^4.5.4",
36
+ "nyc": "^15.1.0"
38
37
  },
39
38
  "scripts": {
40
- "istanbul": "istanbul cover _mocha --report lcovonly -- -R spec test/",
39
+ "coverage": "nyc npm run test",
41
40
  "lint": "standard",
42
41
  "test": "mocha -R spec test/",
43
42
  "test:watch": "nodemon --watch lib --watch test --watch index.js --exec 'npm test'",