@fedeghe/pangjs 0.0.2 → 0.0.3

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.
package/.coveralls.yml ADDED
@@ -0,0 +1,2 @@
1
+ service_name: travis
2
+ repo_token: s70zTJdyYdnFJD63dVSg9iCovgQ80azIz
package/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ install: yarn
2
+ language: node_js
3
+ script: yarn test
4
+ after_success:
5
+ - yarn coveralls
6
+ node_js:
7
+ - "10.12.0"
package/README.md CHANGED
@@ -1,7 +1,8 @@
1
- # PANGjs (0.0.2)
1
+ # PANGjs (0.0.3)
2
2
 
3
3
  ![alt text](https://github.com/fedeghe/pangjs/blob/main/pangjs.png?raw=true "Pang js")
4
4
 
5
+ [![Coverage Status](https://coveralls.io/repos/github/fedeghe/pangjs/badge.svg?branch=main)](https://coveralls.io/github/fedeghe/pangjs?branch=main)
5
6
 
6
7
  # Simple asynchronous state manager
7
8
 
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
  /*
3
3
  PANGjs
4
- v. 0.0.2
4
+ v. 0.0.3
5
5
 
6
6
  Size: ~3.82KB
7
7
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedeghe/pangjs",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "main": "dist/index.js",
5
5
  "author": "fedeghe <fedeghe@gmail.com>",
6
6
  "license": "MIT",
@@ -9,8 +9,8 @@
9
9
  "dev": "malta source/buildev.json",
10
10
  "test": "jest --coverage --rootDir=test",
11
11
  "watch": "jest --watch --coverage --rootDir=test",
12
- "cover": "jest --coverage --rootDir=test",
13
- "coveralls": "jest --coverage --rootDir=test | coveralls"
12
+ "cover": "jest --coverage --rootDir=test --coverageReporters=text",
13
+ "coveralls": "jest --coverage --rootDir=test --coverageReporters=text && cat ./test/coverage/lcov.info | coveralls"
14
14
  },
15
15
  "devDependencies": {
16
16
  "coveralls": "^3.1.1",
@@ -24,6 +24,15 @@
24
24
  "malta": "^4.1.41",
25
25
  "malta-header-comment": "^1.0.12",
26
26
  "malta-js-uglify": "^1.0.13",
27
+ "mocha-lcov-reporter": "^1.3.0",
27
28
  "nyc": "^17.1.0"
29
+ },
30
+ "jest": {
31
+ "collectCoverage": true,
32
+ "coverageReporters": [
33
+ "json",
34
+ "lcov",
35
+ "html"
36
+ ]
28
37
  }
29
38
  }