-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
109 lines (109 loc) · 2.86 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "rod-licensing",
"version": "0.0.1",
"description": "rod licensing digital services",
"private": true,
"engines": {
"node": ">=18.17"
},
"keywords": [
"rod",
"fishing",
"licence"
],
"author": "DEFRA",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "git://github.com/DEFRA/rod-licensing.git"
},
"scripts": {
"postinstall": "npm run lerna:bootstrap",
"prepare": "husky install",
"test": "jest",
"test:only-changed": "jest --changedSince develop",
"test:watch": "jest --watch",
"format": "prettier-standard",
"lerna:clean": "lerna clean --yes",
"lerna:bootstrap": "lerna bootstrap",
"docker:infrastructure": "docker-compose -f docker/infrastructure.yml build && docker stack deploy -c docker/infrastructure.yml rli",
"docker:build-dev": "TAG=dev PROJECT_DOCKERFILE=Dockerfile.dev docker-compose -f docker/services.build.yml build",
"docker:services-dev": "TAG=dev docker stack deploy -c docker/services.dev.yml rls",
"docker:build": "PROJECT_DOCKERFILE=Dockerfile docker-compose -f docker/services.build.yml build",
"docker:services": "docker stack deploy -c docker/services.yml rls",
"pre-commit": "npm run test && lint-staged",
"pre-push": "prettier-standard --check --lint --since develop"
},
"devDependencies": {
"@babel/core": "^7.17.2",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@ksmithut/prettier-standard": "^0.0.10",
"@types/hapi__hapi": "^20.0.10",
"@types/jest": "^27.4.0",
"babel-jest": "^27.5.1",
"clone-deep": "^4.0.1",
"dynamics-web-api": "^1.7.3",
"eslint": "^7.32.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"jest-circus": "^27.5.1",
"lerna": "^5.0.0",
"lerna-changelog": "^2.2.0",
"lerna-update-wizard": "^1.1.1",
"lint-staged": "^11.2.6",
"simple-oauth2": "^4.3.0",
"standard": "^16.0.4"
},
"eslintConfig": {
"extends": "standard",
"parser": "@babel/eslint-parser",
"env": {
"es2020": true,
"node": true,
"jest": true
}
},
"prettier": {
"printWidth": 140,
"alignTernaryLines": false
},
"standard": {
"env": {
"node": true,
"jest": true
}
},
"lint-staged": {
"*": [
"prettier-standard --fix --lint"
]
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"**/src/**/*.js"
],
"coverageReporters": [
"lcov",
"text"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"projects": [
"<rootDir>/packages/*"
],
"setupFilesAfterEnv": [
"./packages/gafl-webapp-service/gafl-jest-matchers.js"
],
"testEnvironment": "node",
"testRunner": "jest-circus/runner",
"silent": true
}
}