@atlassian/connect-module-core
TypeScript icon, indicating that this package has built-in type declarations

2.1.5 • Public • Published

Connect-Client - Module Framework and Core Modules

npm run <script> Description
build Production ready output (es2015/es5)
clean Clean .lib (rm -rf ./dist)
lint Run tslint
test Run unit tests
compat Check supported browser compatibility
coverage Generate coverage report (results are stored in coverage/)

Development

Make sure you have typescript, typings and webpack installed globally.

npm install -g typescript typings webpack

Run npm install followed by typings install and you should be good to go.

Dev Loop

Run npm run build to clean, lint, compile and test.

Before raising a PR

  • Make sure you have a green build on your branch
  • Check your code is well covered - we aim for > 90% coverage where possible. To view coverage report use npm run coverage and browse the coverage dir.
  • Include changes to package-lock.json

Consuming

For es5:

import ... from '@atlassian/connect-module-core'

For es2015:

import ... from '@atlassian/connect-module-core/dist/es2015'

Publishing

Manually bump package.json

npm publish to publish externally

then comment out .npmrc and

npm publish again to publish internally (for the Bamboo build)

Readme

Keywords

none

Package Sidebar

Install

npm i @atlassian/connect-module-core

Weekly Downloads

3

Version

2.1.5

License

Apache-2.0

Unpacked Size

878 kB

Total Files

887

Last publish

Collaborators

  • kbielaski
  • dwalker
  • atlassian-aui
  • jvdl
  • mdejongh
  • mszczepanski
  • cdarroch
  • macku
  • dboyd
  • dmorrow
  • mstaas
  • cwhittington
  • doklovic
  • 1999-atlassian
  • amcculloch
  • wyasvoin
  • jmoynihan
  • xqiu
  • gleal-atlassian
  • mszpyra
  • bcytrowski
  • plai1
  • sraj
  • tilwin_atlassian
  • mrzymski
  • media-build-bot
  • akishore
  • timse
  • mkem114
  • tsebastian
  • sfp-release-bot