Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 484 Bytes

NOTES.md

File metadata and controls

28 lines (18 loc) · 484 Bytes

compile

npm run compile

test the module

  • in module root folder, run npm link
  • in test folder, run npm link gplates
  • cd src/test
  • node test-use-require.cjs
  • cd dist/test
  • node main.cjs

or you can run npm run test

publish

  • npm login
  • npm publish

public scoped NPM packages

  • npm init --scope=@gplates
  • npm publish --access public/private

Check the package

  • run npm pack to make sure the correct files are included.