-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpackage.json
134 lines (134 loc) · 4.79 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "@ministryofjustice/frontend",
"description": "The MOJ Frontend contains the code you need to start building user interfaces for UK Ministry of Justice government services.",
"main": "index.js",
"files": [
"/package"
],
"scripts": {
"build:docs": "gulp build:docs && eleventy --input=./docs --output=public",
"build:dist": "gulp build:dist",
"build:package": "gulp build:package",
"postbuild:package": "govuk-prototype-kit validate-plugin package",
"ci:release": "CI=true semantic-release --debug",
"ci:dryrun": "CI=true semantic-release --dry-run",
"start": "npm-run-all --parallel watch:*",
"test": "npm-run-all --parallel test:*",
"test:docs": "npm run build:docs",
"test:js": "jest src/",
"test:sass": "sass -q -I . gulp/dist-scss/all.scss >/dev/null && echo 'ok'",
"lint": "npm run lint:prettier && npm run lint:js && npm run lint:scss",
"lint:js": "npm run lint:js:cli -- \"**/*.{cjs,js,md,mjs}\"",
"lint:js:cli": "eslint --cache --cache-location .cache/eslint --cache-strategy content --color --ignore-path .gitignore --max-warnings 0",
"lint:prettier": "npm run lint:prettier:cli -- \"**/*.{cjs,js,json,md,mjs,scss,yaml,yml}\"",
"lint:prettier:cli": "prettier --cache --cache-location .cache/prettier --cache-strategy content --check",
"lint:scss": "npm run lint:scss:cli -- \"**/*.{md,scss}\"",
"lint:scss:cli": "stylelint --cache --cache-location .cache/stylelint --cache-strategy content --color --ignore-path .gitignore --max-warnings 0",
"watch:11ty": "ENV=dev eleventy --input=./docs --output=public --serve",
"watch:package": "ENV=dev gulp watch:dev"
},
"repository": {
"type": "git",
"url": "https://github.com/ministryofjustice/moj-frontend.git"
},
"author": "MOJ Digital & Technology",
"license": "MIT",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"tag": "latest"
},
"private": false,
"bugs": {
"url": "https://github.com/ministryofjustice/moj-frontend/issues"
},
"homepage": "https://github.com/ministryofjustice/moj-frontend#readme",
"dependencies": {
"@11ty/eleventy": "^2.0.0",
"@11ty/eleventy-navigation": "^0.3.5",
"clipboard": "^2.0.8",
"esbuild": "^0.23.0",
"govuk-frontend": "^5.4.1",
"gray-matter": "^4.0.3",
"gulp-cache": "^1.1.3",
"gulp-concat": "^2.6.1",
"gulp-esbuild": "^0.12.1",
"gulp-imagemin": "^9.1.0",
"gulp-umd": "^2.0.0",
"markdown-it": "^13.0.2",
"markdown-it-anchor": "^8.6.7",
"moment": "^2.29.4",
"nunjucks": "^3.2.3",
"prettier": "^3.4.2",
"require-dir": "^1.2.0",
"sass": "^1.79.3",
"semantic-release-plugin-update-version-in-files": "^1.1.0"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.4",
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@ministryofjustice/frontend": "file:./package",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^11.0.0",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/user-event": "^14.5.2",
"autoprefixer": "^10.4.0",
"commitizen": "^4.2.5",
"cssnano": "^6.0.0",
"cz-conventional-changelog": "^3.3.0",
"dayjs": "^1.11.13",
"del": "^7.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.0.1",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-es-x": "^8.4.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-jsdoc": "^50.6.3",
"eslint-plugin-markdown": "^5.1.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.6.0",
"govuk-prototype-kit": "^13.16.2",
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"gulp-postcss": "^10.0.0",
"gulp-rename": "^2.0.0",
"gulp-rev": "^9.0.0",
"gulp-rev-rewrite": "^5.0.0",
"gulp-sass": "^6.0.0",
"gulp-uglify": "^3.0.2",
"gulp-zip": "^6.0.0",
"highlight.js": "^11.0.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-svgo": "^11.0.1",
"jest": "^29.2.2",
"jest-axe": "^9.0.0",
"jest-environment-jsdom": "^29.7.0",
"jest-sinon": "^1.1.0",
"jquery": "^3.7.1",
"js-beautify": "^1.13.13",
"lodash": "^4.17.21",
"mock-match-media": "^0.4.3",
"npm-run-all2": "^6.0.0",
"postcss": "^8.4.31",
"postcss-markdown": "^1.3.0",
"postcss-scss": "^4.0.9",
"semantic-release": "^23.0.0",
"sinon": "^19.0.2",
"stylelint": "^16.13.2",
"stylelint-config-gds": "^2.0.0",
"stylelint-order": "^6.0.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}