-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
150 lines (150 loc) · 4.7 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "@ons/design-system",
"description": "ONS Design System built CSS, JS, and Nunjucks templates",
"version": "3.0.1",
"main": "index.js",
"license": "MIT",
"author": {
"name": "ONS Digital"
},
"scripts": {
"start": "gulp start",
"watch": "gulp watch",
"test": "gulp build-assets-for-testing && TEST_PORT=3020 TEST_WITH_PUPPETEER=1 jest '.*\\.spec\\.js'",
"test:no-build": "TEST_PORT=3020 TEST_WITH_PUPPETEER=1 jest '.*\\.spec\\.js'",
"test:with-log": "yarn test --no-color 2>test.log",
"test:start-server": "TEST_PORT=3020 gulp start-dev-server",
"build": "yarn && yarn tidy-clean && NODE_ENV=production gulp build",
"npm-bundle": "NODE_ENV=production yarn tidy-clean && NODE_ENV=production gulp build-package && babel-node ci/generate-npm-package.js",
"cdn-bundle": "NODE_ENV=production yarn tidy-clean && NODE_ENV=production gulp build-package && babel-node ci/prepare-templates-for-zip.js",
"test-visual": "yarn build && npx percy exec -- babel-node src/tests/visual/percy.snapshots.js",
"tidy-clean": "rm -rf build css favicons fonts img components layout scripts coverage scss js",
"check-unused": "npx npm-check-unused",
"dedupe-deps": "npx yarn-deduplicate yarn.lock",
"lint-staged": "lint-staged",
"stylelint": "stylelint '**/*.scss'",
"stylelint-fix": "stylelint '**/*.scss' --fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-checkout": "yarn tidy-clean && yarn install --check-files"
}
},
"lint-staged": {
"*.js": [
"prettier --print-width 140 --single-quote --parser babylon --write",
"eslint --fix",
"git add"
],
"*.md": [
"prettier --write",
"remark",
"git add"
],
"*.scss": [
"prettier --print-width 140 --single-quote --parser postcss --write",
"yarn run stylelint-fix",
"git add"
]
},
"browserslist": [
"last 2 versions",
"not ie < 11",
"not ie_mob < 11",
"iOS >= 10.3",
"safari >= 12"
],
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/node": "^7.14.7",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/register": "^7.14.5",
"@babel/runtime": "^7.14.6",
"@percy/cli": "^1.0.0-beta.71",
"@percy/puppeteer": "^2.0.0",
"@percy/script": "^1.1.0",
"abortcontroller-polyfill": "^1.2.3",
"autoprefixer": "^9.3.1",
"autosize": "^4.0.2",
"babel-eslint": "^10.0.1",
"babel-plugin-istanbul": "^6.0.0",
"babelify": "^10.0.0",
"browser-sync": "^2.27.3",
"browserify": "^17.0.0",
"chalk": "^4.1.2",
"cheerio": "^1.0.0-rc.10",
"codecov": "^3.8.3",
"core-js": "^3.21.1",
"cors": "^2.8.5",
"dialog-polyfill": "^0.5.6",
"eslint": "^5.9.0",
"eslint-cli": "^1.1.1",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-prettier": "^3.0.0",
"express": "^4.17.1",
"front-matter": "^4.0.2",
"fs-extra": "^10.0.0",
"fuse.js": "^3.6.1",
"glob": "^7.1.3",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-cli": "^2.3.0",
"gulp-dart-sass": "^1.0.2",
"gulp-if": "^3.0.0",
"gulp-postcss": "^9.0.0",
"gulp-sourcemaps": "^3.0.0",
"gulp-terser": "^2.0.1",
"http-server": "^0.12.3",
"husky": "^1.2.0",
"iframe-resizer": "4.2.11",
"jest": "^27.5.1",
"jest-axe": "^6.0.0",
"jest-puppeteer": "^6.1.0",
"js-beautify": "^1.11.0",
"lighthouse": "^7.5.0",
"lint-staged": "^8.1.0",
"lodash": "^4.17.21",
"marked": "^2.1.3",
"mdn-polyfills": "^5.14.0",
"minimist": "^1.2.5",
"normalize.css": "^8.0.1",
"nunjucks": "^3.2.3",
"postcss": "^8.3.5",
"postcss-url": "^8.0.0",
"prepend-file": "^1.3.1",
"prettier": "^1.15.2",
"prismjs": "1.24.0",
"puppeteer": "^13.5.1",
"remark-cli": "^9.0.0",
"remark-lint": "^8.0.0",
"remark-preset-lint-recommended": "^5.0.0",
"replace-in-file": "^6.1.0",
"stylelint": "^13.11.0",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-sass-guidelines": "^8.0.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.19.0",
"through2": "^4.0.2",
"tick-manager": "^1.0.3",
"url-search-params-polyfill": "^5.0.0",
"util": "^0.12.3",
"viewport-details": "^1.5.0",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0",
"watchify": "^3.0.0",
"whatwg-fetch": "^3.0.0",
"yaml": "^1.10.2"
},
"publishConfig": {
"access": "public"
},
"resolutions": {
"minimist": "^1.2.5",
"**/@percy/agent": "^0.28.6"
}
}