-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.38 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
{
"name": "dis-wagtail",
"version": "0.1.0",
"author": "ONSdigital",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": ""
},
"browserslist": [
"> 1% and last 2 versions",
"Firefox ESR",
"ios_saf 12",
"safari 12",
"ie 11",
"not ie_mob 11",
"not android 4.4.3-4.4.4",
"not OperaMini all"
],
"scripts": {
"//[ Linting & formatting ]//": "",
"lint": "npm run lint:css && npm run lint:format && npm run lint:js",
"lint:css": "stylelint --report-needless-disables './cms/static_src/sass'",
"lint:format": "prettier --check '**/?(.)*.{md,css,scss,js,ts,json,yaml,yml}'",
"lint:js": "eslint --ext .js,.ts --report-unused-disable-directives .",
"format": "prettier --write '**/?(.)*.{md,css,scss,js,ts,json,yaml,yml}'",
"//[ Tests ]//": "",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"//[ Accessiblity tests ]//": "",
"pa11y": "pa11y-ci --sitemap http://localhost:8000/sitemap.xml --config ./pa11y.config.js || (echo 'Please install pa11y-ci globally using: npm install -g pa11y-ci' && exit 1)",
"//[ Build tasks ]//": "",
"build": "webpack --mode development --progress",
"build:prod": "webpack --mode production",
"start": "webpack --mode development --progress --watch",
"start:reload": "webpack-dev-server"
},
"devDependencies": {
"@types/jest": "^29.5.6",
"autoprefixer": "^10.4.20",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0",
"cssnano": "^6.0.1",
"eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@wagtail/eslint-config-wagtail": "^0.4.0",
"eslint-webpack-plugin": "^4.0.1",
"file-loader": "^5.0.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.7.6",
"postcss": "^8.4.31",
"postcss-custom-properties": "^13.3.2",
"postcss-loader": "^7.3.3",
"prettier": "^3.3.3",
"sass": "^1.77.8",
"sass-loader": "^14.1.0",
"stylelint": "^15.11.0",
"@wagtail/stylelint-config-wagtail": "^0.8.0",
"stylelint-webpack-plugin": "^5.0.1",
"ts-jest": "^29.1.1",
"ts-loader": "^8.3.0",
"typescript": "^4.6.2",
"url-loader": "^3.0.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"dependencies": {}
}