-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
139 lines (139 loc) · 4.65 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
{
"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": "Ben Meyrick",
"email": "[email protected]",
"url": "https://github.com/bameyrick"
},
"scripts": {
"start": "yarn tidy-clean && yarn webpack-dev-server --host 0.0.0.0 --watch --config webpack.dev.babel.js",
"build": "yarn tidy-clean && yarn webpack --config webpack.prod.babel.js",
"npm-bundle": "NODE_ENV=production yarn tidy-clean && yarn webpack --config webpack.npm.babel.js && babel-node ci/generate-npm-package.js",
"cdn-bundle": "NODE_ENV=production yarn tidy-clean && yarn webpack --config webpack.cdn.babel.js && babel-node ci/prepare-templates-for-zip.js",
"test:local": "KARMA_SINGLE_RUN=false karma start ./src/tests/config/karma.conf.js",
"test": "karma start ./src/tests/config/karma.conf.js && karma start ./src/tests/config/karma.conf.nomodule.js && codecov",
"test:browserstack": "TEST_ON_BROWSERSTACK=true karma start ./src/tests/config/karma.conf.js && TEST_ON_BROWSERSTACK=true karma start ./src/tests/config/karma.conf.nomodule.js",
"tidy-clean": "rm -rf build css favicons fonts img components page-templates templates scripts coverage scss",
"check-unused": "npx npm-check-unused",
"dedupe-deps": "npx yarn-deduplicate yarn.lock",
"lint-staged": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-checkout": "yarn tidy-clean && yarn check"
}
},
"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",
"sass-lint",
"git add"
]
},
"browserslist": [
"last 2 versions",
"not ie < 11",
"not ie_mob < 11"
],
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/node": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.1.6",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.2.0",
"abortcontroller-polyfill": "^1.2.3",
"autoprefixer": "^9.3.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"chai": "^4.2.0",
"chai-spies": "^1.0.0",
"chalk": "^2.4.1",
"circular-dependency-plugin": "^5.0.2",
"codecov": "^3.1.0",
"copy-webpack-plugin": "^4.6.0",
"core-js": "^2.6.0",
"cssnano": "^4.1.7",
"eslint": "^5.9.0",
"eslint-cli": "^1.1.1",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-prettier": "^3.0.0",
"file-loader": "^2.0.0",
"frontmatter": "^0.0.3",
"glob": "^7.1.3",
"highlight.js": "^9.13.1",
"husky": "^1.2.0",
"iframe-resizer": "^3.6.5",
"imagemin-webpack-plugin": "^2.4.1",
"istanbul-instrumenter-loader": "^3.0.1",
"karma": "^3.1.3",
"karma-browserstack-launcher": "^1.3.0",
"karma-chai": "^0.1.0",
"karma-chai-spies": "^0.1.4",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "^2.0.4",
"karma-firefox-launcher": "^1.1.0",
"karma-html": "^1.0.5",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^4.0.0-rc.5",
"lint-staged": "^8.1.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.11",
"marked": "^0.5.2",
"mdn-polyfills": "^5.14.0",
"mocha": "^5.2.0",
"ncp": "^2.0.0",
"node-sass": "^4.10.0",
"node-sass-glob-importer": "^5.2.0",
"normalize-scss": "^7.0.1",
"nunjucks": "^3.1.4",
"nunjucks-loader": "^3.0.0",
"postcss-loader": "^3.0.0",
"postcss-mq-optimize": "^0.0.0",
"postcss-url": "^8.0.0",
"prepend-file": "^1.3.1",
"prettier": "^1.15.2",
"pretty": "^2.0.0",
"print-error": "^0.1.17",
"progress-bar-webpack-plugin": "^1.11.0",
"remark-cli": "^6.0.1",
"remark-lint": "^6.0.4",
"remark-preset-lint-recommended": "^3.0.2",
"rewiremock": "^3.13.0",
"rimraf": "^2.6.3",
"sass-lint": "^1.12.1",
"sass-loader": "^7.1.0",
"url-loader": "^1.1.2",
"url-search-params-polyfill": "^5.0.0",
"webpack": "^4.26.0",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10",
"webpack-fix-style-only-entries": "^0.0.5",
"webpack-livereload-plugin": "^2.1.1",
"webpack-merge": "^4.1.4",
"whatwg-fetch": "^3.0.0"
},
"publishConfig": {
"access": "public"
}
}