npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

idai-field-client

v2.19.0-SNAPSHOT.1

Published

iDAI.field 2 Client

Downloads

5

Readme

iDAI.field

idai-field

The German Archaeological Institute’s (DAI) new take on a field research documentation system. Combining features of GIS, photo management, and database management systems in a unique and integrating manner, it aims at facilitating archaeological workflows by reducing the overhead of using multiple systems. Developed in-house by the DAI’s information technology department, it targets primarily the needs of the institute’s excavations, older ones as well as those to come. Yet, due to the nature of its adjustable data model and the fact it is open source software, any interested third party is free to reuse and adjust it to their needs.

Installation

You can install the latest version of iDAI.field by downloading it from the github releases page or the idai-field homepage. Choose the installer for your operating system (MacOS, Windows or Linux).

Development

Development of iDAI.field works under MacOS, Windows and Linux. In any case, before you start, make sure you have NodeJS > 12.0.0 as well as Node Package Manager (NPM) installed.

Then clone this repository locally and run the following commands:

$ npm install
$ npm start

npm install fetches the necessary dependencies, while npm start compiles the Angular app and starts it via Electron.

Shapefile import/export is handled by a Java command line tool which is called by the Electron app. If Java 8 or higher and Maven are installed, the Java tool can be built via the command:

$ npm run build:java

See also idai-components-2.

Tests

The app must have been built (npm run build:test) before running the tests.

To execute the unit tests, run

$ npm test   

The project is set up to manage the compilation of the sources (test as well as regular sources) independently from Angular. This is due to the fact that we perform Node based tests, since our code runs in an Electron context. This is done on the basis of test/tsconfig.json and jasmine. To rebuild the sources for tests continually, you can run npm run build:test+watch in one terminal window, and npm test in another.

For troubleshooting information see here.

To execute e2e tests, run

$ npm run e2e [noff|ff]

The optional fail fast parameter specifies if test execution stops on the first error (ff) or continues until all tests are finished (noff). If not specified, the default mode is noff.

Packaging

To create binaries run:

$ npm run build
$ npm run package:[mac|win|lnx]

Only packages for the selected target platform are created. When the command has finished execution, you find packages of the application in the release directory.

Please note that when using Windows, due to nested node_modules and the windows default maximum path length you might be running into errors while attempting to extract the package. In that case, please use a different archiver, for example 7-Zip.