0.1.12 • Published 8 months ago
@naturescot/licensing-upload-utils v0.1.12
NatureScot Upload Utils
Utilities to support integration of Licensing services with the File Upload application
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.
Developer notes
To lint the code run
npm run lintTo run the unit tests run
npm run testTo 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.
To build the code run
npm run buildTo publish the package run
npm publish --access public