-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
86 lines (86 loc) · 2.53 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
{
"name": "nhsuk-service-manual",
"version": "7.2.0",
"description": "NHS digital service manual",
"main": "app.js",
"directories": {
"test": "tests"
},
"browserslist": [
"> 0.25%",
"not dead",
"IE 11"
],
"scripts": {
"build": "npm run build:css && npm run build:js && npm run build:assets",
"build:css": "sass --style=compressed app/styles/:public/css/",
"build:js": "npm run webpack",
"build:assets": "cpx 'app/assets/*' public/assets/",
"clean": "touch public/tmp.txt && rm -rf public/*",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint . --ignore-pattern '/public'",
"lint:css": "sass-lint 'app/styles/**/*.scss' -v -q",
"nuke": "npm run clean && rm -rf node_modules/",
"postinstall": "npm run build",
"start": "node app",
"test": "npm run lint && npm run test:unit",
"test:unit": "jest --coverage=true",
"watch": "cross-env NODE_ENV=development concurrently \"npm run watch:scss\" \"npm run watch:js\" \"npm run watch:assets\" \"npm start\"",
"watch:scss": "npm run build:css && npm run build:css -- -w",
"watch:js": "webpack -w",
"watch:assets": "cpx 'app/assets/*' public/assets/ --watch",
"webpack": "webpack",
"prepare": "husky install"
},
"jest": {
"moduleNameMapper": {
"axios": "axios/dist/node/axios.cjs"
}
},
"author": "https://github.com/nhsuk",
"repository": {
"type": "git",
"url": "https://github.com/nhsuk/nhsuk-service-manual.git"
},
"license": "MIT",
"dependencies": {
"accessible-autocomplete": "^2.0.3",
"axios": "^1.7.7",
"basic-auth": "^2.0.1",
"browser-sync": "^3.0.3",
"cheerio": "^1.0.0-rc.10",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.21.1",
"helmet": "^4.6.0",
"highlight.js": "^11.2.0",
"js-beautify": "^1.14.0",
"lunr": "^2.3.9",
"nhsuk-frontend": "^9.1.0",
"nunjucks": "^3.2.4"
},
"devDependencies": {
"@babel/core": "^7.22.6",
"@babel/preset-env": "^7.22.6",
"babel-loader": "^8.2.2",
"concurrently": "^6.2.1",
"cpx": "^1.5.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-mocha": "^9.0.0",
"husky": "^8.0.3",
"iframe-resizer": "^4.3.2",
"jest": "^27.1.0",
"node-sass": "^9.0.0",
"nodemon": "^2.0.19",
"sass": "^1.60.0",
"sass-lint": "^1.13.1",
"webpack": "^5.95.0",
"webpack-cli": "^4.8.0"
},
"volta": {
"node": "14.18.3"
}
}