PermanentOrg / node-sdk

Node.js SDK for Permanent.org
GNU Affero General Public License v3.0
4 stars 2 forks source link

Add npm prepare script #29

Closed meisekimiu closed 2 years ago

meisekimiu commented 2 years ago

console.log(Permanent); console.log("Does it work?");


  - Upon running `node index.js`, you should see that Permanent is properly imported in. There are no errors and the `Permanent` const is a function.
  - Go into the `package.json` for this temporary project and replace `meisekimiu/node-sdk` with `PermanentOrg/node-sdk`. Delete the `node_modules` folder and run `npm install`.
  - Run `node index.js` again and you should see errors as Permanent is undefined.
  - You should be able to swap back to my fork again, run `npm install`, and have it working again.