-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
84 lines (84 loc) · 2.07 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
{
"name": "hmpo-components",
"version": "7.1.0",
"description": "Component wrappers for wizard fields",
"main": "index.js",
"scripts": {
"pretest": "npm run test:lint",
"test:lint": "eslint .",
"test": "npm run test:unit && npm run test:sass && npm run test:sass",
"test:unit": "nyc --reporter=lcov --reporter=text-summary _mocha --recursive test 'components/**/spec.*.js'",
"test:sass": "sass -q -I . --no-source-map test/test.scss /dev/null && echo scss compiles in sass",
"posttest": "npm audit --production",
"prepare": "husky && uglifyjs components/common.js components/**/script.js -o all.js"
},
"repository": {
"type": "git",
"url": "https://github.com/HMPO/hmpo-components.git"
},
"keywords": [
"express",
"nunjucks",
"form",
"components"
],
"author": "HMPO",
"license": "MIT",
"engines": {
"node": "20.x || 22.x"
},
"bugs": {
"url": "https://github.com/HMPO/hmpo-components/issues"
},
"homepage": "https://github.com/HMPO/hmpo-components#readme",
"dependencies": {
"bytes": "^3.1.2",
"deep-clone-merge": "^1.5.5",
"moment": "^2.30.1",
"underscore": "^1.13.7"
},
"peerDependencies": {
"govuk-frontend": "^4",
"nunjucks": "^3.2.4"
},
"optionalDependencies": {
"fsevents": "~2.3.3"
},
"devDependencies": {
"chai": "^4.5.0",
"eslint": "^9.12.0",
"globals": "^15.11.0",
"govuk-frontend": "^4.8.0",
"hmpo-nunjucks-test": "^2.0.0",
"husky": "^9.1.6",
"mocha": "^10.7.3",
"nyc": "^17.1.0",
"sass": "^1.79.4",
"sinon": "^19.0.2",
"sinon-chai": "^3.7.0",
"uglify-js": "^3.17.4"
},
"nyc": {
"all": true,
"exclude": [
"coverage/**",
"components/**/script.js",
"components/common.js",
"all.js",
"test/**",
"eslint.config.js"
],
"check-coverage": true,
"skip-full": true,
"temp-directory": "coverage/.nyc_output",
"reporter": [
"text-summary",
"text",
"lcov"
],
"statements": 98,
"branches": 91,
"functions": 99,
"lines": 98
}
}