render chart
This commit is contained in:
parent
8c603e291e
commit
8a0bbb06dc
3
Makefile
3
Makefile
|
@ -5,9 +5,10 @@ concat:
|
|||
echo " " | tee -a scripts/stats.org
|
||||
bash scripts/concat_org.sh |tee -a scripts/stats.org;
|
||||
convert:
|
||||
bash scripts/concat_org.sh
|
||||
bash ./scripts/concat_org.sh
|
||||
mv all_tasks.org sources/
|
||||
node parse_orgmode_to_json.mjs
|
||||
ts-node render_chart.mjs
|
||||
start:
|
||||
npm start
|
||||
copyTasksJson :
|
||||
|
|
|
@ -27,6 +27,12 @@ Il suffit de lancer cette commande du Makefile
|
|||
Elle réalise la concaténation des fichiers tasks.org et tasks.org_archive faite dans all_tasks.org qui est ensuite utilisé par le script **parse_orgmode_to_json.mjs** pour fabriquer un fichier json.
|
||||
|
||||
la sortie est générée dans "outputAbsolutePath" définie dans "parse_orgmode_to_json.mjs"
|
||||
## rendu graphique
|
||||
|
||||
` ts-node render_chart.ts`
|
||||
sort un graphique des tâches crées et complétées selon les différents agrégats de temps. à configurer dans le fichier render_chart.ts.
|
||||
|
||||
|
||||
|
||||
## Données générées
|
||||
### Des statistiques
|
||||
|
|
|
@ -5,12 +5,15 @@
|
|||
*/
|
||||
import fs from 'node-fs';
|
||||
//import tasksList from './../sources/tasks.json' assert { type: "json" };
|
||||
import tasksList from './../sources/tasks.json';
|
||||
import tasksList from '/home/tykayn/Nextcloud/ressources/social sorting/output/emacs_export_tasks.json' assert { type: "json" };
|
||||
|
||||
|
||||
let folderPrefix = './emploi-du-temps/folders_build';
|
||||
|
||||
async function foldersGeneration(dirpath){
|
||||
if(dirpath.length > 30){
|
||||
dirpath = dirpath.slice(0,30)
|
||||
}
|
||||
await fs.promises.mkdir(`${folderPrefix}/${dirpath}`, { recursive: true })
|
||||
}
|
||||
export let sectionsCleaned = {}
|
||||
|
@ -35,10 +38,14 @@ export function get_sections_from_tasks_orgfile(generate_folders= false){
|
|||
console.log('section PARA: ', cleanSectionName)
|
||||
elem.contents.map( content => {
|
||||
let subSectionName = removeBrackets(content.properties['raw-value'])
|
||||
|
||||
console.log(' - ',subSectionName )
|
||||
sectionsCleaned[cleanSectionName][subSectionName] = subSectionName
|
||||
if(generate_folders){
|
||||
foldersGeneration(`${cleanSectionName}/${subSectionName}`)
|
||||
foldersGeneration(`${cleanSectionName}/${subSectionName}`).then(r => {
|
||||
console.log('r', r)
|
||||
console.log('folders have been generated')
|
||||
})
|
||||
}
|
||||
|
||||
})
|
||||
|
|
|
@ -3,253 +3,247 @@
|
|||
* cela permet de parcourir tous les aspects de la méthodologie PARA sur différents créneaux
|
||||
* @type {{duration: string, start: string, content: null}}
|
||||
*/
|
||||
import fs from 'node-fs';
|
||||
import tasksList from '../sources/tasks.json'
|
||||
import {get_sections_from_tasks_orgfile} from "./folder_from_tasks.mjs" ;
|
||||
// import tasksList from '/home/tykayn/Nextcloud/ressources/social sorting/output/emacs_export_tasks.json' assert { type: "json" };
|
||||
import { get_sections_from_tasks_orgfile } from './folder_from_tasks.mjs'
|
||||
|
||||
const timespan_base = {
|
||||
start: "8",
|
||||
duration: "60", // minutes
|
||||
content: null
|
||||
start: '8',
|
||||
duration: '60', // minutes
|
||||
content: null
|
||||
}
|
||||
|
||||
const day_start_hour = 9;
|
||||
const day_activities_hours = 10;
|
||||
const activity_duration_default=60;
|
||||
const day_start_hour = 9
|
||||
const day_activities_hours = 10
|
||||
const activity_duration_default = 60
|
||||
|
||||
const ressources_nope = [
|
||||
{
|
||||
label: "social sorting"
|
||||
},
|
||||
{
|
||||
label: "gestion de l'information"
|
||||
},
|
||||
{
|
||||
label: "lecture"
|
||||
}, {
|
||||
{
|
||||
label: 'social sorting'
|
||||
},
|
||||
{
|
||||
label: 'gestion de l\'information'
|
||||
},
|
||||
{
|
||||
label: 'lecture'
|
||||
}, {
|
||||
|
||||
label: "architecture"
|
||||
}, {
|
||||
label: "climat"
|
||||
}, {
|
||||
label: "nucléaire"
|
||||
}, {
|
||||
label: "dessins"
|
||||
}, {
|
||||
label: "partage de documents"
|
||||
}, {
|
||||
label: "recherche et éducation"
|
||||
},
|
||||
{
|
||||
label: "emploi du temps"
|
||||
},
|
||||
label: 'architecture'
|
||||
}, {
|
||||
label: 'climat'
|
||||
}, {
|
||||
label: 'nucléaire'
|
||||
}, {
|
||||
label: 'dessins'
|
||||
}, {
|
||||
label: 'partage de documents'
|
||||
}, {
|
||||
label: 'recherche et éducation'
|
||||
},
|
||||
{
|
||||
label: 'emploi du temps'
|
||||
},
|
||||
]
|
||||
|
||||
const categories = [
|
||||
'aires de responsabilité',
|
||||
'archives',
|
||||
'ressources',
|
||||
'projets',
|
||||
'aires de responsabilité',
|
||||
'archives',
|
||||
'ressources',
|
||||
'projets',
|
||||
]
|
||||
|
||||
let projects = ['emploi du temps','rangement','migration Rise','dev','calendar maker','noeud garage','report orgmode','partage ftp']
|
||||
let projects = ['emploi du temps', 'rangement', 'migration Rise', 'dev', 'calendar maker', 'noeud garage', 'report orgmode', 'partage ftp']
|
||||
let areas = [
|
||||
'achats',
|
||||
'administratif',
|
||||
'apprendre emacs',
|
||||
'associations',
|
||||
'boulot',
|
||||
'communication et écriture',
|
||||
'corvées',
|
||||
'habitudes',
|
||||
'santé',
|
||||
'social',
|
||||
'travaux bricolage',
|
||||
'vacances'
|
||||
'achats',
|
||||
'administratif',
|
||||
'apprendre emacs',
|
||||
'associations',
|
||||
'boulot',
|
||||
'communication et écriture',
|
||||
'corvées',
|
||||
'habitudes',
|
||||
'santé',
|
||||
'social',
|
||||
'travaux bricolage',
|
||||
'vacances'
|
||||
]
|
||||
let ressources = [
|
||||
'social sorting',
|
||||
'PIM',
|
||||
'lecture',
|
||||
'architecture',
|
||||
'climat',
|
||||
'nucléaire',
|
||||
'dessins',
|
||||
'partage de documents',
|
||||
'recherche et éducation'
|
||||
'social sorting',
|
||||
'PIM',
|
||||
'lecture',
|
||||
'architecture',
|
||||
'climat',
|
||||
'nucléaire',
|
||||
'dessins',
|
||||
'partage de documents',
|
||||
'recherche et éducation'
|
||||
]
|
||||
// préremplir avec des créneaux réservés
|
||||
|
||||
const hours_spans = [
|
||||
{
|
||||
start: "8",
|
||||
duration: "60", // minutes
|
||||
label: "matin",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
start: "12",
|
||||
duration: "60", // minutes
|
||||
label: "midi bouffe",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
start: "16",
|
||||
duration: "30", // minutes
|
||||
label: "goûter",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
start: "19",
|
||||
duration: "30", // minutes
|
||||
label: "bouffe soir",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
start: "21",
|
||||
duration: "30", // minutes
|
||||
label: "préparation dodo",
|
||||
color: "white"
|
||||
},
|
||||
{
|
||||
start: '8',
|
||||
duration: '60', // minutes
|
||||
label: 'matin',
|
||||
color: 'white'
|
||||
},
|
||||
{
|
||||
start: '12',
|
||||
duration: '60', // minutes
|
||||
label: 'midi bouffe',
|
||||
color: 'white'
|
||||
},
|
||||
{
|
||||
start: '16',
|
||||
duration: '30', // minutes
|
||||
label: 'goûter',
|
||||
color: 'white'
|
||||
},
|
||||
{
|
||||
start: '19',
|
||||
duration: '30', // minutes
|
||||
label: 'bouffe soir',
|
||||
color: 'white'
|
||||
},
|
||||
{
|
||||
start: '21',
|
||||
duration: '30', // minutes
|
||||
label: 'préparation dodo',
|
||||
color: 'white'
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
const days = [{
|
||||
label: "lundi"
|
||||
label: 'lundi'
|
||||
}, {
|
||||
label: "mardi"
|
||||
label: 'mardi'
|
||||
}, {
|
||||
label: "mercredi"
|
||||
label: 'mercredi'
|
||||
}, {
|
||||
label: "jeudi"
|
||||
label: 'jeudi'
|
||||
}, {
|
||||
label: "vendredi"
|
||||
label: 'vendredi'
|
||||
},
|
||||
/**
|
||||
/**
|
||||
{
|
||||
label: "samedi"
|
||||
},
|
||||
{
|
||||
label: "dimanche"
|
||||
},
|
||||
**/
|
||||
**/
|
||||
]
|
||||
|
||||
function displayDays() {
|
||||
function displayDays () {
|
||||
|
||||
console.log('projets', projects.length)
|
||||
console.log('aires de responsabilité', areas.length)
|
||||
console.log('ressources actuelles', ressources.length)
|
||||
console.log('projets', projects.length)
|
||||
console.log('aires de responsabilité', areas.length)
|
||||
console.log('ressources actuelles', ressources.length)
|
||||
|
||||
|
||||
days.forEach((elem, index) => {
|
||||
days.forEach((elem, index) => {
|
||||
|
||||
// ajouter les créneaux à chaque journée
|
||||
console.log('' )
|
||||
console.log('*' , elem.label )
|
||||
loopOneDay();
|
||||
|
||||
})
|
||||
console.log('')
|
||||
console.log('*', elem.label)
|
||||
loopOneDay()
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// configs qui bouclent pour chaque catégorie
|
||||
let category_index = 0;
|
||||
let projects_index = 0;
|
||||
let area_index = 0;
|
||||
let ressources_index = 0;
|
||||
let day_hour = day_start_hour;
|
||||
let day_minutes_counter = 0;
|
||||
let max_min_a_day = day_minutes_counter * day_activities_hours;
|
||||
let daily_duration = 15; // minutes
|
||||
|
||||
let day_categories_map = [
|
||||
|
||||
|
||||
|
||||
]
|
||||
let category_index = 0
|
||||
let projects_index = 0
|
||||
let area_index = 0
|
||||
let ressources_index = 0
|
||||
let day_hour = day_start_hour
|
||||
let day_minutes_counter = 0
|
||||
let max_min_a_day = day_minutes_counter * day_activities_hours
|
||||
let daily_duration = 15 // minutes
|
||||
|
||||
let day_categories_map = []
|
||||
|
||||
const sections = get_sections_from_tasks_orgfile()
|
||||
console.log('sections', sections)
|
||||
if (sections.projects) {
|
||||
|
||||
projects = Object.keys(sections.projects)
|
||||
console.log(projects)
|
||||
projects = Object.keys(sections.projects)
|
||||
|
||||
function loopOneDay(){
|
||||
console.log(projects)
|
||||
}
|
||||
|
||||
function loopOneDay () {
|
||||
// passer sur les catégories et faire progresser l'index des éléments des catégories
|
||||
|
||||
console.log('** ' ,day_hour ,'h revue journalière')
|
||||
day_minutes_counter += daily_duration
|
||||
|
||||
console.log('** ' ,convertMinutesOfDayToHourDisplay(day_minutes_counter) ,'h appels tel')
|
||||
day_minutes_counter += 20
|
||||
console.log('** ', day_hour, 'h revue journalière')
|
||||
day_minutes_counter += daily_duration
|
||||
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** areas : ' ,area_index, ' : ' ,convertMinutesOfDayToHourDisplay(day_minutes_counter) ,areas[area_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
area_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** areas : ' ,area_index, ' : ' ,convertMinutesOfDayToHourDisplay(day_minutes_counter) ,areas[area_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
area_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** projects : ' ,convertMinutesOfDayToHourDisplay(day_minutes_counter) ,projects[projects_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
projects_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** projects : ' ,convertMinutesOfDayToHourDisplay(day_minutes_counter) ,projects[projects_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
projects_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** projects : ' ,convertMinutesOfDayToHourDisplay(day_minutes_counter) ,projects[projects_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
projects_index++
|
||||
resetIndexesIfNeeded()
|
||||
console.log('** ', convertMinutesOfDayToHourDisplay(day_minutes_counter), 'h appels tel')
|
||||
day_minutes_counter += 20
|
||||
|
||||
console.log('** ressources : ' ,convertMinutesOfDayToHourDisplay(day_minutes_counter) ,ressources[ressources_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
ressources_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** ' ,convertMinutesOfDayToHourDisplay(day_minutes_counter) ,'h temps libre')
|
||||
day_minutes_counter += 120
|
||||
|
||||
day_minutes_counter = 0;
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** areas : ', area_index, ' : ', convertMinutesOfDayToHourDisplay(day_minutes_counter), areas[area_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
area_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** areas : ', area_index, ' : ', convertMinutesOfDayToHourDisplay(day_minutes_counter), areas[area_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
area_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** projects : ', convertMinutesOfDayToHourDisplay(day_minutes_counter), projects[projects_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
projects_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** projects : ', convertMinutesOfDayToHourDisplay(day_minutes_counter), projects[projects_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
projects_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** projects : ', convertMinutesOfDayToHourDisplay(day_minutes_counter), projects[projects_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
projects_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** ressources : ', convertMinutesOfDayToHourDisplay(day_minutes_counter), ressources[ressources_index])
|
||||
day_minutes_counter += activity_duration_default
|
||||
ressources_index++
|
||||
resetIndexesIfNeeded()
|
||||
|
||||
console.log('** ', convertMinutesOfDayToHourDisplay(day_minutes_counter), 'h temps libre')
|
||||
day_minutes_counter += 120
|
||||
|
||||
day_minutes_counter = 0
|
||||
// for(let ii =day_minutes_counter; ii < max_min_a_day; ii+=activity_duration_default ){
|
||||
|
||||
|
||||
// day_minutes_counter += activity_duration_default
|
||||
// }
|
||||
}
|
||||
|
||||
function resetIndexesIfNeeded(){
|
||||
if(area_index >= areas.length){
|
||||
area_index = 0;
|
||||
function resetIndexesIfNeeded () {
|
||||
if (area_index >= areas.length) {
|
||||
area_index = 0
|
||||
console.log('# --- retour de areas --- ')
|
||||
}
|
||||
if(ressources_index >= ressources.length){
|
||||
ressources_index = 0;
|
||||
if (ressources_index >= ressources.length) {
|
||||
ressources_index = 0
|
||||
console.log('# --- retour de ressources --- ')
|
||||
}
|
||||
if(projects_index >= projects.length){
|
||||
projects_index = 0;
|
||||
console.log('# --- retour de projets --- ')
|
||||
if (projects_index >= projects.length) {
|
||||
projects_index = 0
|
||||
console.log('# --- retour de projets --- ')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// TODO améliorer le rendu pour avoir les minutes arrondies dans l'heure
|
||||
function convertMinutesOfDayToHourDisplay(max_min_a_day){
|
||||
function convertMinutesOfDayToHourDisplay (max_min_a_day) {
|
||||
|
||||
// return day_start_hour + (max_min_a_day/60) + ' h'
|
||||
return day_start_hour + Math.round(max_min_a_day/60) + 'h'
|
||||
return day_start_hour + Math.round(max_min_a_day / 60) + 'h'
|
||||
}
|
||||
|
||||
|
||||
console.log("* Emploi du temps pour deux semaines sans inclure les weekend \n")
|
||||
//displayDays();
|
||||
console.log('* Emploi du temps pour deux semaines sans inclure les weekend \n')
|
||||
displayDays()
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
* Emploi du temps pour deux semaines sans inclure les weekend
|
||||
|
||||
projets 8
|
||||
aires de responsabilité 12
|
||||
ressources actuelles 9
|
||||
|
||||
* lundi
|
||||
** 9 h revue journalière
|
||||
** 9h h appels tel
|
||||
** areas : 0 : 10h achats
|
||||
** areas : 1 : 11h administratif
|
||||
** projects : 12h emploi du temps
|
||||
** projects : 13h rangement
|
||||
** projects : 14h migration Rise
|
||||
** ressources : 15h social sorting
|
||||
** 16h h temps libre
|
||||
|
||||
* mardi
|
||||
** 9 h revue journalière
|
||||
** 9h h appels tel
|
||||
** areas : 2 : 10h apprendre emacs
|
||||
** areas : 3 : 11h associations
|
||||
** projects : 12h dev
|
||||
** projects : 13h calendar maker
|
||||
** projects : 14h noeud garage
|
||||
** ressources : 15h PIM
|
||||
** 16h h temps libre
|
||||
|
||||
* mercredi
|
||||
** 9 h revue journalière
|
||||
** 9h h appels tel
|
||||
** areas : 4 : 10h boulot
|
||||
** areas : 5 : 11h communication et écriture
|
||||
** projects : 12h report orgmode
|
||||
** projects : 13h partage ftp
|
||||
# --- retour de projets ---
|
||||
** projects : 14h emploi du temps
|
||||
** ressources : 15h lecture
|
||||
** 16h h temps libre
|
||||
|
||||
* jeudi
|
||||
** 9 h revue journalière
|
||||
** 9h h appels tel
|
||||
** areas : 6 : 10h corvées
|
||||
** areas : 7 : 11h habitudes
|
||||
** projects : 12h rangement
|
||||
** projects : 13h migration Rise
|
||||
** projects : 14h dev
|
||||
** ressources : 15h architecture
|
||||
** 16h h temps libre
|
||||
|
||||
* vendredi
|
||||
** 9 h revue journalière
|
||||
** 9h h appels tel
|
||||
** areas : 8 : 10h santé
|
||||
** areas : 9 : 11h social
|
||||
** projects : 12h calendar maker
|
||||
** projects : 13h noeud garage
|
||||
** projects : 14h report orgmode
|
||||
** ressources : 15h climat
|
||||
** 16h h temps libre
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,9 @@
|
|||
{
|
||||
"name": "org-report-stats",
|
||||
"dependencies": {
|
||||
"@types/chart.js": "^2.9.38",
|
||||
"chart.js": "^3.9.1",
|
||||
"chartjs-node-canvas": "^4.1.6",
|
||||
"d3": "^7.8.2",
|
||||
"node-fs": "^0.1.7",
|
||||
"nodemon": "^2.0.19",
|
||||
|
|
|
@ -0,0 +1,115 @@
|
|||
import {ChartCallback, ChartJSNodeCanvas} from 'chartjs-node-canvas';
|
||||
import {Chart} from 'chart.js';
|
||||
import {promises as fs} from 'fs';
|
||||
import * as dataOrgmode from '/home/tykayn/Nextcloud/ressources/social sorting/output/export_all_tasks.org_parsed.json'
|
||||
|
||||
const ouput_folder = '/home/tykayn/Nextcloud/ressources/social sorting/output/'
|
||||
// time in : weeks, months, years, days
|
||||
|
||||
// const time_agreggate = 'days'
|
||||
// const time_agreggate = 'weeks'
|
||||
const time_agreggate = 'months'
|
||||
// const time_agreggate = 'years'
|
||||
function convertStats(tasks: any) {
|
||||
let converted = []
|
||||
let weeks = Object.keys(tasks['statistics']['statistics']['dates'][time_agreggate]);
|
||||
|
||||
let labels = []
|
||||
let dataSets_done = {
|
||||
label: 'Done tasks',
|
||||
data: [],
|
||||
backgroundColor: 'rgb(115,190,75)',
|
||||
fill: {
|
||||
target: 'origin',
|
||||
above: 'rgb(151,208,221)',
|
||||
below: 'rgb(115,190,75)',
|
||||
}
|
||||
}
|
||||
let dataSets_created = {
|
||||
label: 'Created tasks',
|
||||
data: [],
|
||||
backgroundColor: 'rgb(151,208,221)',
|
||||
fill: {
|
||||
target: 'origin',
|
||||
above: 'rgb(151,208,221)',
|
||||
below: 'rgb(115,190,75)',
|
||||
}
|
||||
}
|
||||
weeks.forEach(time_period => {
|
||||
|
||||
if (time_period !== 'Nan-Nan') {
|
||||
labels.push(time_period)
|
||||
let info = tasks['statistics']['statistics']['dates'][time_agreggate][time_period]
|
||||
if (info.created) {
|
||||
dataSets_created.data.push(info.created)
|
||||
} else {
|
||||
dataSets_created.data.push(0)
|
||||
}
|
||||
if (info.closed) {
|
||||
dataSets_done.data.push(-info.closed)
|
||||
} else {
|
||||
dataSets_created.data.push(0)
|
||||
}
|
||||
}
|
||||
})
|
||||
// console.log('weeks', weeks)
|
||||
return {
|
||||
labels,
|
||||
dataSets: {
|
||||
dataSets_created,
|
||||
dataSets_done,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
let convertedStats = convertStats(dataOrgmode)
|
||||
console.log('convertedStats', convertedStats)
|
||||
|
||||
const width = 1000 // define width and height of canvas
|
||||
const height = 1000
|
||||
const typeOfRender = 'png'
|
||||
const chartType = 'bar'
|
||||
|
||||
async function main(): Promise<void> {
|
||||
|
||||
const configurationWithData: any = {
|
||||
type: chartType,
|
||||
title: {
|
||||
display: true,
|
||||
text: 'Custom Chart Title'
|
||||
},
|
||||
data: {
|
||||
labels: convertedStats.labels,
|
||||
datasets:
|
||||
[
|
||||
convertedStats.dataSets.dataSets_created,
|
||||
convertedStats.dataSets.dataSets_done,
|
||||
]
|
||||
},
|
||||
options: {},
|
||||
plugins: [{
|
||||
id: 'background-colour',
|
||||
beforeDraw: (chart: Chart): void => {
|
||||
const ctx = chart.ctx;
|
||||
ctx.save();
|
||||
ctx.fillStyle = 'white';
|
||||
ctx.fillRect(0, 0, width, height);
|
||||
ctx.restore();
|
||||
}
|
||||
}]
|
||||
};
|
||||
const chartCallback: ChartCallback = (ChartJS: any) => {
|
||||
ChartJS.defaults.responsive = true;
|
||||
ChartJS.defaults.borderColor = '#36a2eb';
|
||||
ChartJS.defaults.maintainAspectRatio = false;
|
||||
};
|
||||
const chartJSNodeCanvas = new ChartJSNodeCanvas({width, height, chartCallback});
|
||||
const buffer = await chartJSNodeCanvas.renderToBuffer(configurationWithData);
|
||||
let outpath = ouput_folder + 'tasks_in_'+time_agreggate+'-created_and_done_' + chartType + ' -- chart.'+typeOfRender
|
||||
|
||||
await fs.writeFile(outpath, buffer, 'base64');
|
||||
console.log('wrote graph ',outpath
|
||||
)
|
||||
}
|
||||
|
||||
main().then(r => console.log(r));
|
61501
source/tasks.json
61501
source/tasks.json
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true,
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
declare module "*.json" {
|
||||
const value: any;
|
||||
export default value;
|
||||
}
|
419
yarn.lock
419
yarn.lock
|
@ -2,16 +2,50 @@
|
|||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@mapbox/node-pre-gyp@^1.0.0":
|
||||
version "1.0.11"
|
||||
resolved "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz"
|
||||
integrity sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==
|
||||
dependencies:
|
||||
detect-libc "^2.0.0"
|
||||
https-proxy-agent "^5.0.0"
|
||||
make-dir "^3.1.0"
|
||||
node-fetch "^2.6.7"
|
||||
nopt "^5.0.0"
|
||||
npmlog "^5.0.1"
|
||||
rimraf "^3.0.2"
|
||||
semver "^7.3.5"
|
||||
tar "^6.1.11"
|
||||
|
||||
"@sindresorhus/is@^3.1.2":
|
||||
version "3.1.2"
|
||||
resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-3.1.2.tgz"
|
||||
integrity sha512-JiX9vxoKMmu8Y3Zr2RVathBL1Cdu4Nt4MuNWemt1Nc06A0RAin9c5FArkhGsyMBWfCu4zj+9b+GxtjAnE4qqLQ==
|
||||
|
||||
"@types/chart.js@^2.9.38":
|
||||
version "2.9.38"
|
||||
resolved "https://registry.npmjs.org/@types/chart.js/-/chart.js-2.9.38.tgz"
|
||||
integrity sha512-rLoHHprkVEDpAXqke/xHalyXR+5Nv+3tfViwT/UnJZ41Wp/XPaSRlJKw2PU3S3tTCqKKyjkYai+VpeHoti79XQ==
|
||||
dependencies:
|
||||
moment "^2.10.2"
|
||||
|
||||
abbrev@1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz"
|
||||
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
|
||||
|
||||
agent-base@6:
|
||||
version "6.0.2"
|
||||
resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz"
|
||||
integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==
|
||||
dependencies:
|
||||
debug "4"
|
||||
|
||||
ansi-regex@^5.0.1:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz"
|
||||
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
|
||||
|
||||
anymatch@~3.1.2:
|
||||
version "3.1.2"
|
||||
resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz"
|
||||
|
@ -20,6 +54,19 @@ anymatch@~3.1.2:
|
|||
normalize-path "^3.0.0"
|
||||
picomatch "^2.0.4"
|
||||
|
||||
"aproba@^1.0.3 || ^2.0.0":
|
||||
version "2.0.0"
|
||||
resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz"
|
||||
integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==
|
||||
|
||||
are-we-there-yet@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz"
|
||||
integrity sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==
|
||||
dependencies:
|
||||
delegates "^1.0.0"
|
||||
readable-stream "^3.6.0"
|
||||
|
||||
balanced-match@^1.0.0:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
|
||||
|
@ -45,11 +92,33 @@ braces@~3.0.2:
|
|||
dependencies:
|
||||
fill-range "^7.0.1"
|
||||
|
||||
canvas@^2.8.0:
|
||||
version "2.11.2"
|
||||
resolved "https://registry.npmjs.org/canvas/-/canvas-2.11.2.tgz"
|
||||
integrity sha512-ItanGBMrmRV7Py2Z+Xhs7cT+FNt5K0vPL4p9EZ/UX/Mu7hFbkxSjKF2KVtPwX7UYWp7dRKnrTvReflgrItJbdw==
|
||||
dependencies:
|
||||
"@mapbox/node-pre-gyp" "^1.0.0"
|
||||
nan "^2.17.0"
|
||||
simple-get "^3.0.3"
|
||||
|
||||
char-regex@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz"
|
||||
integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==
|
||||
|
||||
chart.js@^3.5.1, chart.js@^3.9.1:
|
||||
version "3.9.1"
|
||||
resolved "https://registry.npmjs.org/chart.js/-/chart.js-3.9.1.tgz"
|
||||
integrity sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w==
|
||||
|
||||
chartjs-node-canvas@^4.1.6:
|
||||
version "4.1.6"
|
||||
resolved "https://registry.npmjs.org/chartjs-node-canvas/-/chartjs-node-canvas-4.1.6.tgz"
|
||||
integrity sha512-UQJbPWrvqB/FoLclGA9BaLQmZbzSYlujF4w8NZd6Xzb+sqgACBb2owDX6m7ifCXLjUW5Nz0Qx0qqrTtQkkSoYw==
|
||||
dependencies:
|
||||
canvas "^2.8.0"
|
||||
tslib "^2.3.1"
|
||||
|
||||
chokidar@^3.5.2:
|
||||
version "3.5.3"
|
||||
resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz"
|
||||
|
@ -65,6 +134,16 @@ chokidar@^3.5.2:
|
|||
optionalDependencies:
|
||||
fsevents "~2.3.2"
|
||||
|
||||
chownr@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz"
|
||||
integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
|
||||
|
||||
color-support@^1.1.2:
|
||||
version "1.1.3"
|
||||
resolved "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz"
|
||||
integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==
|
||||
|
||||
commander@7:
|
||||
version "7.2.0"
|
||||
resolved "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz"
|
||||
|
@ -75,6 +154,11 @@ concat-map@0.0.1:
|
|||
resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
|
||||
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
|
||||
|
||||
console-control-strings@^1.0.0, console-control-strings@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz"
|
||||
integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==
|
||||
|
||||
d3-array@^3.2.0, "d3-array@2 - 3", "d3-array@2.10.0 - 3", "d3-array@2.5.0 - 3", d3-array@3:
|
||||
version "3.2.4"
|
||||
resolved "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz"
|
||||
|
@ -326,6 +410,20 @@ debug@^3.2.7:
|
|||
dependencies:
|
||||
ms "^2.1.1"
|
||||
|
||||
debug@4:
|
||||
version "4.3.4"
|
||||
resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz"
|
||||
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
|
||||
dependencies:
|
||||
ms "2.1.2"
|
||||
|
||||
decompress-response@^4.2.0:
|
||||
version "4.2.1"
|
||||
resolved "https://registry.npmjs.org/decompress-response/-/decompress-response-4.2.1.tgz"
|
||||
integrity sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==
|
||||
dependencies:
|
||||
mimic-response "^2.0.0"
|
||||
|
||||
delaunator@5:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.npmjs.org/delaunator/-/delaunator-5.0.0.tgz"
|
||||
|
@ -333,6 +431,21 @@ delaunator@5:
|
|||
dependencies:
|
||||
robust-predicates "^3.0.0"
|
||||
|
||||
delegates@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz"
|
||||
integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==
|
||||
|
||||
detect-libc@^2.0.0:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz"
|
||||
integrity sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==
|
||||
|
||||
emoji-regex@^8.0.0:
|
||||
version "8.0.0"
|
||||
resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz"
|
||||
integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
|
||||
|
||||
emojilib@^2.4.0:
|
||||
version "2.4.0"
|
||||
resolved "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz"
|
||||
|
@ -345,6 +458,33 @@ fill-range@^7.0.1:
|
|||
dependencies:
|
||||
to-regex-range "^5.0.1"
|
||||
|
||||
fs-minipass@^2.0.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz"
|
||||
integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==
|
||||
dependencies:
|
||||
minipass "^3.0.0"
|
||||
|
||||
fs.realpath@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
|
||||
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
|
||||
|
||||
gauge@^3.0.0:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz"
|
||||
integrity sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==
|
||||
dependencies:
|
||||
aproba "^1.0.3 || ^2.0.0"
|
||||
color-support "^1.1.2"
|
||||
console-control-strings "^1.0.0"
|
||||
has-unicode "^2.0.1"
|
||||
object-assign "^4.1.1"
|
||||
signal-exit "^3.0.0"
|
||||
string-width "^4.2.3"
|
||||
strip-ansi "^6.0.1"
|
||||
wide-align "^1.1.2"
|
||||
|
||||
glob-parent@~5.1.2:
|
||||
version "5.1.2"
|
||||
resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz"
|
||||
|
@ -352,11 +492,36 @@ glob-parent@~5.1.2:
|
|||
dependencies:
|
||||
is-glob "^4.0.1"
|
||||
|
||||
glob@^7.1.3:
|
||||
version "7.2.3"
|
||||
resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz"
|
||||
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
|
||||
dependencies:
|
||||
fs.realpath "^1.0.0"
|
||||
inflight "^1.0.4"
|
||||
inherits "2"
|
||||
minimatch "^3.1.1"
|
||||
once "^1.3.0"
|
||||
path-is-absolute "^1.0.0"
|
||||
|
||||
has-flag@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz"
|
||||
integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==
|
||||
|
||||
has-unicode@^2.0.1:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz"
|
||||
integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==
|
||||
|
||||
https-proxy-agent@^5.0.0:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz"
|
||||
integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==
|
||||
dependencies:
|
||||
agent-base "6"
|
||||
debug "4"
|
||||
|
||||
iconv-lite@0.6:
|
||||
version "0.6.3"
|
||||
resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz"
|
||||
|
@ -369,6 +534,19 @@ ignore-by-default@^1.0.1:
|
|||
resolved "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz"
|
||||
integrity sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==
|
||||
|
||||
inflight@^1.0.4:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz"
|
||||
integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==
|
||||
dependencies:
|
||||
once "^1.3.0"
|
||||
wrappy "1"
|
||||
|
||||
inherits@^2.0.3, inherits@2:
|
||||
version "2.0.4"
|
||||
resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
|
||||
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
|
||||
|
||||
"internmap@1 - 2":
|
||||
version "2.0.3"
|
||||
resolved "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz"
|
||||
|
@ -386,6 +564,11 @@ is-extglob@^2.1.1:
|
|||
resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz"
|
||||
integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==
|
||||
|
||||
is-fullwidth-code-point@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz"
|
||||
integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
|
||||
|
||||
is-glob@^4.0.1, is-glob@~4.0.1:
|
||||
version "4.0.3"
|
||||
resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz"
|
||||
|
@ -398,14 +581,58 @@ is-number@^7.0.0:
|
|||
resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz"
|
||||
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
|
||||
|
||||
minimatch@^3.0.4:
|
||||
lru-cache@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz"
|
||||
integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
|
||||
dependencies:
|
||||
yallist "^4.0.0"
|
||||
|
||||
make-dir@^3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz"
|
||||
integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==
|
||||
dependencies:
|
||||
semver "^6.0.0"
|
||||
|
||||
mimic-response@^2.0.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz"
|
||||
integrity sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==
|
||||
|
||||
minimatch@^3.0.4, minimatch@^3.1.1:
|
||||
version "3.1.2"
|
||||
resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz"
|
||||
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
|
||||
dependencies:
|
||||
brace-expansion "^1.1.7"
|
||||
|
||||
moment@^2.29.4:
|
||||
minipass@^3.0.0:
|
||||
version "3.3.6"
|
||||
resolved "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz"
|
||||
integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==
|
||||
dependencies:
|
||||
yallist "^4.0.0"
|
||||
|
||||
minipass@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz"
|
||||
integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==
|
||||
|
||||
minizlib@^2.1.1:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz"
|
||||
integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==
|
||||
dependencies:
|
||||
minipass "^3.0.0"
|
||||
yallist "^4.0.0"
|
||||
|
||||
mkdirp@^1.0.3:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz"
|
||||
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
|
||||
|
||||
moment@^2.10.2, moment@^2.29.4:
|
||||
version "2.29.4"
|
||||
resolved "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz"
|
||||
integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==
|
||||
|
@ -415,6 +642,16 @@ ms@^2.1.1:
|
|||
resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz"
|
||||
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
|
||||
|
||||
ms@2.1.2:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz"
|
||||
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
|
||||
|
||||
nan@^2.17.0:
|
||||
version "2.18.0"
|
||||
resolved "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz"
|
||||
integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==
|
||||
|
||||
node-emoji@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.npmjs.org/node-emoji/-/node-emoji-2.1.0.tgz"
|
||||
|
@ -425,6 +662,13 @@ node-emoji@^2.1.0:
|
|||
emojilib "^2.4.0"
|
||||
skin-tone "^2.0.0"
|
||||
|
||||
node-fetch@^2.6.7:
|
||||
version "2.7.0"
|
||||
resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz"
|
||||
integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==
|
||||
dependencies:
|
||||
whatwg-url "^5.0.0"
|
||||
|
||||
node-fs@^0.1.7:
|
||||
version "0.1.7"
|
||||
resolved "https://registry.npmjs.org/node-fs/-/node-fs-0.1.7.tgz"
|
||||
|
@ -446,6 +690,13 @@ nodemon@^2.0.19:
|
|||
touch "^3.1.0"
|
||||
undefsafe "^2.0.5"
|
||||
|
||||
nopt@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz"
|
||||
integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==
|
||||
dependencies:
|
||||
abbrev "1"
|
||||
|
||||
nopt@~1.0.10:
|
||||
version "1.0.10"
|
||||
resolved "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz"
|
||||
|
@ -458,6 +709,33 @@ normalize-path@^3.0.0, normalize-path@~3.0.0:
|
|||
resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz"
|
||||
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
|
||||
|
||||
npmlog@^5.0.1:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz"
|
||||
integrity sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==
|
||||
dependencies:
|
||||
are-we-there-yet "^2.0.0"
|
||||
console-control-strings "^1.1.0"
|
||||
gauge "^3.0.0"
|
||||
set-blocking "^2.0.0"
|
||||
|
||||
object-assign@^4.1.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz"
|
||||
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
|
||||
|
||||
once@^1.3.0, once@^1.3.1:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz"
|
||||
integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
|
||||
dependencies:
|
||||
wrappy "1"
|
||||
|
||||
path-is-absolute@^1.0.0:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz"
|
||||
integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==
|
||||
|
||||
picomatch@^2.0.4, picomatch@^2.2.1:
|
||||
version "2.3.1"
|
||||
resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz"
|
||||
|
@ -468,6 +746,15 @@ pstree.remy@^1.1.8:
|
|||
resolved "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz"
|
||||
integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==
|
||||
|
||||
readable-stream@^3.6.0:
|
||||
version "3.6.2"
|
||||
resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz"
|
||||
integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==
|
||||
dependencies:
|
||||
inherits "^2.0.3"
|
||||
string_decoder "^1.1.1"
|
||||
util-deprecate "^1.0.1"
|
||||
|
||||
readdirp@~3.6.0:
|
||||
version "3.6.0"
|
||||
resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz"
|
||||
|
@ -475,6 +762,13 @@ readdirp@~3.6.0:
|
|||
dependencies:
|
||||
picomatch "^2.2.1"
|
||||
|
||||
rimraf@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz"
|
||||
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
|
||||
dependencies:
|
||||
glob "^7.1.3"
|
||||
|
||||
robust-predicates@^3.0.0:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz"
|
||||
|
@ -485,6 +779,11 @@ rw@1:
|
|||
resolved "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz"
|
||||
integrity sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==
|
||||
|
||||
safe-buffer@~5.2.0:
|
||||
version "5.2.1"
|
||||
resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz"
|
||||
integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
|
||||
|
||||
"safer-buffer@>= 2.1.2 < 3.0.0":
|
||||
version "2.1.2"
|
||||
resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz"
|
||||
|
@ -500,11 +799,47 @@ semver@^5.7.1:
|
|||
resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz"
|
||||
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
|
||||
|
||||
semver@^6.0.0:
|
||||
version "6.3.1"
|
||||
resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz"
|
||||
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
|
||||
|
||||
semver@^7.3.5:
|
||||
version "7.5.4"
|
||||
resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz"
|
||||
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
|
||||
dependencies:
|
||||
lru-cache "^6.0.0"
|
||||
|
||||
semver@~7.0.0:
|
||||
version "7.0.0"
|
||||
resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz"
|
||||
integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==
|
||||
|
||||
set-blocking@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz"
|
||||
integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==
|
||||
|
||||
signal-exit@^3.0.0:
|
||||
version "3.0.7"
|
||||
resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz"
|
||||
integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==
|
||||
|
||||
simple-concat@^1.0.0:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz"
|
||||
integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==
|
||||
|
||||
simple-get@^3.0.3:
|
||||
version "3.1.1"
|
||||
resolved "https://registry.npmjs.org/simple-get/-/simple-get-3.1.1.tgz"
|
||||
integrity sha512-CQ5LTKGfCpvE1K0n2us+kuMPbk/q0EKl82s4aheV9oXjFEz6W/Y7oQFVJuU6QG77hRT4Ghb5RURteF5vnWjupA==
|
||||
dependencies:
|
||||
decompress-response "^4.2.0"
|
||||
once "^1.3.1"
|
||||
simple-concat "^1.0.0"
|
||||
|
||||
simple-update-notifier@^1.0.7:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.0.7.tgz"
|
||||
|
@ -519,6 +854,29 @@ skin-tone@^2.0.0:
|
|||
dependencies:
|
||||
unicode-emoji-modifier-base "^1.0.0"
|
||||
|
||||
string_decoder@^1.1.1:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz"
|
||||
integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
|
||||
dependencies:
|
||||
safe-buffer "~5.2.0"
|
||||
|
||||
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.3:
|
||||
version "4.2.3"
|
||||
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
|
||||
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
||||
dependencies:
|
||||
emoji-regex "^8.0.0"
|
||||
is-fullwidth-code-point "^3.0.0"
|
||||
strip-ansi "^6.0.1"
|
||||
|
||||
strip-ansi@^6.0.1:
|
||||
version "6.0.1"
|
||||
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
|
||||
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
||||
dependencies:
|
||||
ansi-regex "^5.0.1"
|
||||
|
||||
supports-color@^5.5.0:
|
||||
version "5.5.0"
|
||||
resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
|
||||
|
@ -526,6 +884,18 @@ supports-color@^5.5.0:
|
|||
dependencies:
|
||||
has-flag "^3.0.0"
|
||||
|
||||
tar@^6.1.11:
|
||||
version "6.2.0"
|
||||
resolved "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz"
|
||||
integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==
|
||||
dependencies:
|
||||
chownr "^2.0.0"
|
||||
fs-minipass "^2.0.0"
|
||||
minipass "^5.0.0"
|
||||
minizlib "^2.1.1"
|
||||
mkdirp "^1.0.3"
|
||||
yallist "^4.0.0"
|
||||
|
||||
to-regex-range@^5.0.1:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz"
|
||||
|
@ -540,6 +910,16 @@ touch@^3.1.0:
|
|||
dependencies:
|
||||
nopt "~1.0.10"
|
||||
|
||||
tr46@~0.0.3:
|
||||
version "0.0.3"
|
||||
resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz"
|
||||
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
|
||||
|
||||
tslib@^2.3.1:
|
||||
version "2.6.2"
|
||||
resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz"
|
||||
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
|
||||
|
||||
undefsafe@^2.0.5:
|
||||
version "2.0.5"
|
||||
resolved "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz"
|
||||
|
@ -550,6 +930,36 @@ unicode-emoji-modifier-base@^1.0.0:
|
|||
resolved "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz"
|
||||
integrity sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==
|
||||
|
||||
util-deprecate@^1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz"
|
||||
integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
|
||||
|
||||
webidl-conversions@^3.0.0:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz"
|
||||
integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==
|
||||
|
||||
whatwg-url@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz"
|
||||
integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==
|
||||
dependencies:
|
||||
tr46 "~0.0.3"
|
||||
webidl-conversions "^3.0.0"
|
||||
|
||||
wide-align@^1.1.2:
|
||||
version "1.1.5"
|
||||
resolved "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz"
|
||||
integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==
|
||||
dependencies:
|
||||
string-width "^1.0.2 || 2 || 3 || 4"
|
||||
|
||||
wrappy@1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"
|
||||
integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
|
||||
|
||||
xml-js@^1.6.11:
|
||||
version "1.6.11"
|
||||
resolved "https://registry.npmjs.org/xml-js/-/xml-js-1.6.11.tgz"
|
||||
|
@ -569,3 +979,8 @@ xmlbuilder@~11.0.0:
|
|||
version "11.0.1"
|
||||
resolved "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz"
|
||||
integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==
|
||||
|
||||
yallist@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz"
|
||||
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
|
||||
|
|
Loading…
Reference in New Issue