@defra/lis-taxonomy-move 0.1.0-lreg-406.alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # Move index
2
+
3
+ Shared package for the move index.
4
+
5
+ Install dependencies for this package locally with `npm install` from this directory.
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "@defra/lis-taxonomy-move",
3
+ "version": "0.1.0-lreg-406.alpha.1",
4
+ "description": "Move shared package for livestock taxonomy flows.",
5
+ "main": "src/index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/DEFRA/lis-taxonomy-move.git"
9
+ },
10
+ "exports": {
11
+ ".": "./src/index.js"
12
+ },
13
+ "files": [
14
+ "src"
15
+ ],
16
+ "type": "module",
17
+ "engines": {
18
+ "node": ">=24"
19
+ },
20
+ "scripts": {
21
+ "format": "prettier --write \"src/**/*.js\" \"**/*.{js,cjs,md,json}\"",
22
+ "format:check": "prettier --check \"src/**/*.js\" \"**/*.{js,cjs,md,json}\"",
23
+ "lint": "eslint .",
24
+ "lint:fix": "eslint . --fix",
25
+ "test": "vitest run",
26
+ "test:coverage": "vitest run --coverage --coverage.provider=istanbul --coverage.reporter=text --coverage.reporter=lcov --coverage.include=\"src/**/*.js\"",
27
+ "prepare": "if [ \"$npm_command\" = \"install\" ] && [ -z \"$CI\" ] && command -v husky >/dev/null 2>&1; then husky; fi",
28
+ "security-audit": "audit-ci",
29
+ "git:pre-commit-hook": "npm run security-audit && npm run format:check && npm run lint"
30
+ },
31
+ "author": "Defra DDTS",
32
+ "license": "OGL-UK-3.0",
33
+ "dependencies": {
34
+ "convict": "6.2.5",
35
+ "convict-format-with-validator": "6.2.0",
36
+ "eslint-plugin-jsdoc": "^63.0.8",
37
+ "eslint-plugin-sonarjs": "^4.1.0",
38
+ "neostandard": "0.13.0"
39
+ },
40
+ "peerDependencies": {
41
+ "eslint": "^9.0.0"
42
+ },
43
+ "devDependencies": {
44
+ "@defra/lis-infra-eslint-config": "^0.6.0",
45
+ "@vitest/coverage-istanbul": "^4.1.10",
46
+ "audit-ci": "^7.1.0",
47
+ "eslint": "^9.0.0",
48
+ "husky": "^9.1.7",
49
+ "prettier": "^3.9.6",
50
+ "vitest": "^4.1.10"
51
+ }
52
+ }
package/src/index.js ADDED
@@ -0,0 +1,5 @@
1
+ export const taxonomy = {
2
+ id: 'move',
3
+ label: 'Move',
4
+ summary: 'Coordinate movement-related livestock journeys and traceability.'
5
+ }