@superhuman/shared

0.0.15 • Public • Published

This directory is there to hold the shared libraries between web, backend, and iOS.

Publish

  • Log into npm with an account that has publish permissions (if you don't have this, create one and ask Conrad) (npm login)
  • Bump the version number in package.json
  • Run npm publish

Tests

Web tests should be run with the web test suite as detailed in ../README.md

To run iOS tests against the updated library:

  • start Xcode (make sure you have the latest version, ask the iOS team if you don't)
  • run yarn build to build the shared.js file
  • go to ios/Superhuman/SuperhumanLib/ and run yarn build
  • copy shared/build/shared.js into ios/Superhuman/SuperhumanLib/node_modules/@superhuman/shared/build/shared.js
cp build/shared.js ../../ios/Superhuman/SuperhumanLib/node_modules/@superhuman/shared/build/shared.js
  • run yarn build from ios/Superhuman/SuperhumanLib/
  • run the tests from Xcode:
    • open the ios project
    • Select Product>Test

Backend

See https://github.com/superhuman/backend/tree/master/lib/js

/@superhuman/shared/

    Package Sidebar

    Install

    npm i @superhuman/shared

    Weekly Downloads

    0

    Version

    0.0.15

    License

    none

    Unpacked Size

    1.18 MB

    Total Files

    5

    Last publish

    Collaborators

    • superhumanengineering
    • patrickdbakke
    • timsuperhuman
    • gvohra
    • gabeshahbazian
    • mkassoff_superhuman