1.1.2 • Published 8 years ago
@purecars/oauth-js v1.1.2
Oauth JS
Contents
Features
- Minimal Oauth 2.0 client library
- Simple management of Oauth flow
- Compliant with bundle tree-shaking
Contributing
npm start- execute code insrcdirectory with live reload vianodemontranspiled withbabel-nodenpm run serve:dev <target>- execute target code with live reload vianodemontranspiled withbabel-nodenpm run benchmark- run benchmark tests withbenchmark.jsnpm run benchmark:watch- run benchmark tests withbenchmark.jsand watch for file changesnpm run lint- code linting witheslintnpm run lint:fix- fix problems automatically witheslintnpm test- run tests withmochaandchaiwith spec as reporter andnyccode coveragenpm run test:watch- run tests withmochaandchaiand watch for changesnpm run test:report- export tests results as html files in the./reportsfolder viamochasomenpm run build:dist- transpile and minify ES6+ code and create sourcemaps withbabel&babilinpm run serve:dist- serve production files from the./distfolder vianodenpm run scan:security- run vulnerability tests via the node security platformnsp
Testing
Testing with Mocha and Chai, HTML Reports via mochawesome
npm testBenchmarking Suite
Benchmark Testing with Benchmark.js
npm run benchmarkSecurity
Run vulnerability tests via Node Security Project