Socket
Socket
Sign inDemoInstall

@atlassian/connect-module-core

Package Overview
Dependencies
8
Maintainers
16
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @atlassian/connect-module-core

Core modules providing client side Atlassian Connect capabilities.


Version published
Weekly downloads
4
decreased by-50%
Maintainers
16
Install size
858 kB
Created
Weekly downloads
 

Readme

Source

Connect-Client - Module Framework and Core Modules

npm run <script>Description
buildProduction ready output (es2015/es5)
cleanClean .lib (rm -rf ./dist)
lintRun tslint
testRun unit tests
compatCheck supported browser compatibility
coverageGenerate 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)

FAQs

Last updated on 31 Jul 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc