This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* gets save path | |
* pass dataArray using process.send | |
* kill child process at end? | |
*/ | |
import electron, { remote } from 'electron' | |
import pathModule from 'path' | |
import childProcess from 'child_process' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* writes a dataArray to an Excel workbook | |
* this must happen in child process | |
* otherwise a blank page results | |
* get dataArray listening to process.send | |
*/ | |
const Excel = require('exceljs') | |
// path is passed as only argument of the process |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Kapla", | |
"productName": "Kapla", | |
"version": "1.0.0", | |
"description": "Instrument, mit dem der Rechtsdienst des AWEL Geschäfte erfasst und Fristen kontrolliert", | |
"main": "main.js", | |
"scripts": { | |
"test": "cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js", | |
"test-watch": "npm test -- --watch", | |
"test-e2e": "cross-env NODE_ENV=test mocha --compilers js:babel-core/register --require ./test/setup.js --require co-mocha ./test/e2e.js", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
domain: null, | |
_events: {}, | |
_eventsCount: 0, | |
_maxListeners: undefined, | |
res: | |
IncomingMessage { | |
_readableState: | |
ReadableState { | |
objectMode: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name": "CH Delarze (2008): Lebensräume", | |
"Gruppe": "Lebensräume", | |
"Eigenschaften": { | |
"Taxonomie": "CH Delarze (2008): Lebensräume", | |
"Einheit-Nr FNS": "44", | |
"Label": "2.2.3", | |
"Einheit": "Kalk-Kleinseggenried", | |
"Lateinisch": "Caricion davallianae", | |
"Französisch": "Parvocariçaie neutro-basophile", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name": "CSCF (2009)", | |
"Beschreibung": "Index der Info Fauna. Eigenschaften von 21542 Tierarten", | |
"Datenstand": "2009", | |
"Link": "http://www.cscf.ch/", | |
"Gruppe": "Fauna", | |
"Eigenschaften": { | |
"Taxonomie ID": 21207, | |
"Klasse": "Insecta", | |
"Ordnung": "Coleoptera", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id":"2B945AD0-F66B-48AD-810C-C2A84BFF6C3E", | |
"_rev":"12-4bde606882a8e9c4f449166c3849963e", | |
"Gruppe":"Fauna", | |
"Typ":"Objekt", | |
"Taxonomie":{ | |
"Name":"CSCF (2009)", | |
"Beschreibung":"Index der Info Fauna (2009). Eigenschaften von 21542 Tierarten", | |
"Datenstand":"2009", | |
"Link":"http://www.cscf.ch/", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Eigenschaftensammlungen": [ | |
{ | |
"Name":"CH Agroscope Zielart (2008)", | |
"Beschreibung":"Agroscope (2008). Eigenschaften von 207 Tierarten", | |
"Datenstand":"2008", | |
"Link":"http://www.agroscope.admin.ch", | |
"Eigenschaften": { | |
"1_1 West-Jura": false, | |
"1_2 Nord-Jura": false, | |
"1_3 Nordostschweiz": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Beziehungssammlungen": [ | |
{ | |
"Name":"ZH AP FM (2010): Art ist an Lebensraum gebunden", | |
"Beschreibung":"Aktionsplan Flachmoore des Kantons Zürich (2010). Eigenschaften von 728 Tierarten, 3500 Pflanzenarten, 57 Moosarten und 60 Lebensräumen. 10219 Beziehungen zwischen Tierarten und Lebensräumen. 664 Beziehungen zwischen Pflanzenarten und Lebensräumen. 79 Beziehungen zwischen Moosarten und Lebensräumen", | |
"Datenstand":"2010", | |
"Link":"http://www.naturschutz.zh.ch", | |
"Art der Beziehungen":"Art ist an Lebensraum gebunden", | |
"Beziehungen": [ | |
{ | |
"Beziehungspartner": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Taxonomie": { | |
"Name":"CSCF (2009)", | |
"Beschreibung":"Index der Info Fauna (2009). Eigenschaften von 21542 Tierarten", | |
"Datenstand":"2009", | |
"Link":"http://www.cscf.ch/", | |
"Eigenschaften": { | |
"Taxonomie ID": 70150, | |
"Klasse":"Reptilia", | |
"Ordnung":"Chelonii", | |
"Familie":"Emydidae", |