forked from HMPO/hmpo-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.18 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
{
"name": "hmpo-components",
"version": "6.4.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:node-sass && npm run test:sass",
"test:unit": "nyc --reporter=lcov --reporter=text-summary _mocha --recursive test 'components/**/spec.*.js'",
"test:node-sass": "node-sass -q test/test.scss /dev/null && echo scss compiles in node-sass",
"test:sass": "sass -q -I . --no-source-map test/test.scss /dev/null && echo scss compiles in sass",
"posttest": "npm audit --production",
"prepare": "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": ">=14"
},
"bugs": {
"url": "https://github.com/HMPO/hmpo-components/issues"
},
"homepage": "https://github.com/HMPO/hmpo-components",
"dependencies": {
"bytes": "^3.1.2",
"deep-clone-merge": "^1.5.5",
"moment": "^2.29.4",
"underscore": "^1.13.6"
},
"peerDependencies": {
"govuk-frontend": "^4",
"nunjucks": "^3.2.4"
},
"optionalDependencies": {
"fsevents": "~2.3.2"
},
"devDependencies": {
"chai": "^4.3.7",
"eslint": "^8.44.0",
"govuk-frontend": "^4.8.0",
"hmpo-nunjucks-test": "^1.4.1",
"husky": "^2.7.0",
"mocha": "^10.2.0",
"node-sass": "^8.0.0",
"nyc": "^15.1.0",
"sass": "^1.63.6",
"sinon": "^15.2.0",
"sinon-chai": "^3.7.0",
"uglify-js": "^3.17.4"
},
"nyc": {
"all": true,
"exclude": [
"coverage/**",
"components/**/script.js",
"components/common.js",
"all.js",
"test/**"
],
"check-coverage": true,
"skip-full": true,
"temp-directory": "coverage/.nyc_output",
"reporter": [
"text-summary",
"text",
"lcov"
],
"statements": 98,
"branches": 91,
"functions": 99,
"lines": 98
},
"husky": {
"hooks": {
"pre-push": "npm test"
}
}
}