junk-puppeteer-test
v1.2.1
Published
See instructions at https://docs.npmjs.com/getting-started/publishing-npm-packages
Downloads
50
Readme
Publishing NPM Packages
See instructions at https://docs.npmjs.com/getting-started/publishing-npm-packages
Testing
Locally
You can test locally by running npm test
. This calls node ./src/index.test.js
which tests the program.
NPM Package
You can test the published package by running npm run test-npm
under the test folder. This folder contains another node project where we are importing junk-puppeteer-test using it like index.test.js
above. The difference is that it is consuming an npm package.
The package is called junk-puppeteer-test on npm. You can find it @ https://www.npmjs.com/package/junk-puppeteer-test
Changes
You need to update package.json with your details and publish the package to your account