Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Latest commit

 

History

History
95 lines (56 loc) · 2.12 KB

CONTRIBUTING.md

File metadata and controls

95 lines (56 loc) · 2.12 KB

logo

media-dupes

Contributing

general

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

jsdoc

The current jsdoc documentation can be found on https://yafp.github.io/media-dupes/. It is auto-generated (using JsDoc Action) on each commit of this project.

Building media-dupes

Building media-dupes yourself is pretty easy. Please see the building instructions for more details.

Sentry (Crashreports)

Crashreport informations are located here.

Getting started

1. First steps

Clone repo
  • Clone the repository: git clone https://github.com/yafp/media-dupes
Install dependencies
  • Go into the repository: cd media-dupes
  • Install dependencies: npm install
Run the code
  • Execute: npm start
Run the code with debug logging
  • Execute npm run start-debug
Run some basic test
  • Execute: npm test

2. Misc howto's

Auditing
npm auditing (scan for vulnerabilities)
  • npm audit
Install packages
install single package
  • npm install PACKAGENAME --save
npm: install single package in specific version
Outdated packages
check for outdated npm packages
  • npm outdated

or using npm-check:

  • Install requirements: npm install -g npm-check
  • Run:
    • npm-check or
    • npm-check -s (-s = Skip check for unused packages)
Updating
check dependencies
  • Install requirements: npm install depcheck
  • Run check: depcheck
update single package
  • npm install PACKAGENAME --save
update all packages
  • npm update
Others
List all package.json scripts
  • npm run

or a dynamic solution

  • Install requirements: npm i -g ntl
  • Execute ntl