naturescot-utils
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published

Shared JavaScript code for NatureScot applications

License

Unless stated otherwise, the codebase is released under the MIT License. The documentation is available under the terms of the Open Government Licence, Version 3.

This software uses GOV.UK notifications-utils - see LICENSE-GOVUK.txt.

Developer notes

To lint the code run

npm run lint

To run the unit tests run

npm run test

To debug the unit tests in VS Code, add this configuration to launch.json

      {
        "type": "node",
        "request": "launch",
        "name": "Debug AVA test file",
        "program": "${workspaceFolder}/node_modules/ava/entrypoints/cli.mjs",
        "args": [
          "${file}"
        ],
        "outputCapture": "std",
        "console": "integratedTerminal",
        "skipFiles": [
          "<node_internals>/**/*.js"
        ]
      }

Now, with a test file open, from the Debug menu run the Debug AVA test file configuration.

Readme

Keywords

none

Package Sidebar

Install

npm i naturescot-utils

Weekly Downloads

74

Version

1.4.1

License

(MIT OR OGL-UK-3.0 OR Apache-2.0)

Unpacked Size

33.6 kB

Total Files

11

Last publish

Collaborators

  • mikecoats
  • richardbetts
  • paulcox
  • finchie
  • johnmoore
  • jennifer-foster
  • lamh