Comparing version 2.1.39 to 2.1.40
@@ -26,3 +26,2 @@ { | ||
"mocha": "^3.0.2", | ||
"node-webcrypto-ossl": "^1.0.36", | ||
"nyc": "^11.6.0", | ||
@@ -63,3 +62,4 @@ "rollup": "latest", | ||
"build:tests": "npm run build:examples", | ||
"test": "cross-env NODE_ENV=test nyc mocha --timeout 40000 --require babel-register --require babel-polyfill test/s_*.js && cross-env NODE_ENV=test nyc --clean=false mocha --timeout 40000 --require babel-register --require babel-polyfill test/n_*.js", | ||
"test:node": "cross-env NODE_ENV=test nyc mocha --timeout 40000 --require babel-register --require babel-polyfill test/s_*.js && cross-env NODE_ENV=test nyc --clean=false mocha --timeout 40000 --require babel-register --require babel-polyfill test/n_*.js", | ||
"test": "node -e \"console.log('\\nWARNING: !!! in order to test PKIjs in Node environment you\\nwould need to install additional package node-webcrypto-ossl !!!\\n\\nThe node-webcrypto-ossl is not referenced in PKIjs dependencies\\nanymore because we were noticed users have a problems with\\nthe package installation, especially on Windows platform.\\n\\nThe node-webcrypto-ossl is NOT a mandatory for testing PKIjs -\\nyou could visit test/browser subdir and run all the same tests\\nin your favorite browser.\\n\\nAlso you could check CircleCI - for each build the service runs\\nall tests and results could be easily observed.\\n\\nIf you do need to run PKIjs tests locally using Node please use\\nnpm run test:node')\"", | ||
"prepublishOnly": "npm run build" | ||
@@ -86,4 +86,4 @@ }, | ||
"name": "pkijs", | ||
"version": "2.1.39", | ||
"version": "2.1.40", | ||
"license": "MIT" | ||
} |
@@ -204,2 +204,18 @@ # PKIjs | ||
## Tests using Node environment | ||
**WARNING:** | ||
!!! in order to test PKIjs in Node environment you would need to install additional package `node-webcrypto-ossl` !!! | ||
The `node-webcrypto-ossl` is not referenced in PKIjs dependencies anymore because we were noticed users have a problems with the package installation, especially on Windows platform. | ||
The `node-webcrypto-ossl` is NOT a mandatory for testing PKIjs - you could visit test/browser subdir and run all the same tests in your favorite browser. | ||
Also you could check [CircleCI](https://circleci.com/gh/PeculiarVentures/PKI.js) - for each build the service runs all tests and results could be easily observed. | ||
If you do need to run PKIjs tests locally using Node please use | ||
```command | ||
npm run test:node | ||
``` | ||
## Limitations | ||
@@ -206,0 +222,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4094949
13
290