forked from webpack/webpack.js.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
172 lines (172 loc) · 6.32 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "webpack.js.org",
"version": "0.1.2",
"private": true,
"description": "The main site for all things webpack.",
"homepage": "https://github.com/webpack/webpack.js.org",
"author": "Greg Venech",
"license": "CC BY 4.0",
"main": "n/a",
"keywords": [
"webpack",
"documentation",
"build",
"tool"
],
"repository": {
"type": "git",
"url": "https://github.com/webpack/webpack.js.org.git"
},
"bugs": {
"url": "https://github.com/webpack/webpack.js.org/issues"
},
"engines": {
"node": ">=8.9.4"
},
"scripts": {
"clean-dist": "rimraf ./dist",
"clean-printable": "rimraf src/content/**/printable.md",
"preclean": "run-s clean-dist clean-printable",
"clean": "rimraf src/content/**/_*.md src/**/_*.json",
"start": "npm run clean-dist && cross-env NODE_ENV=development webpack-dev-server --config webpack.dev.js --env.dev",
"update-repos": "node src/utilities/fetch-package-repos.js",
"content": "node src/scripts/build-content-tree.js ./src/content ./src/_content.json",
"bundle-analyze": "run-s clean fetch printable content && cross-env NODE_ENV=production webpack --config webpack.ssg.js && run-s clean-printable content && cross-env NODE_ENV=production webpack --config webpack.prod.js --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"fetch": "run-p fetch:*",
"fetch:readmes": "node src/utilities/fetch-package-readmes.js",
"fetch:supporters": "node src/utilities/fetch-supporters.js",
"fetch:starter-kits": "node src/utilities/fetch-starter-kits.js",
"prebuild": "npm run clean",
"build": "run-s fetch printable content && cross-env NODE_ENV=production webpack --config webpack.ssg.js && run-s clean-printable content && cross-env NODE_ENV=production webpack --config webpack.prod.js",
"postbuild": "bundlesize && npm run sitemap",
"build-test": "npm run build && http-server dist/",
"test": "npm run lint",
"lint": "run-s lint:*",
"lint:js": "eslint src --ext .js,.jsx,.md --cache true --cache-location .cache/.eslintcache",
"lint:markdown": "markdownlint --rules markdownlint-rule-emphasis-style --config ./.markdownlint.json *.md ./src/content/**/*.md --ignore './src/content/**/_*.md'",
"lint:social": "alex . -q",
"lint:prose": "cp .proselintrc ~/ && proselint src/content",
"lint:links": "hyperlink -c 8 -r dist/index.html --canonicalroot https://webpack.js.org/ -i --skip https://img.shields.io --skip https://codecov.io/gh --skip 'content-type-mismatch https://travis-ci.org' > internal-links.tap; cat internal-links.tap | tap-spot",
"sitemap": "cd dist && sitemap-static --ignore-file=../sitemap-ignore.json --pretty --prefix=https://webpack.js.org/ > sitemap.xml",
"serve": "npm run build && sirv start ./dist --port 4000",
"deploy": "gh-pages -d dist",
"preprintable": "npm run clean-printable",
"printable": "node ./src/scripts/concatenate-docs.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,md}": [
"npm run lint:js"
],
"*.md": [
"npm run lint:markdown"
]
},
"bundlesize": [
{
"path": "./dist/index.bundle.js",
"maxSize": "200 kB"
}
],
"devDependencies": {
"@mdx-js/loader": "0.15.7",
"@mdx-js/mdx": "0.15.7",
"@octokit/rest": "^16.27.1",
"alex": "^5.1.0",
"autoprefixer": "^7.2.3",
"babel-core": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.2",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"bundlesize": "^0.17.1",
"copy-webpack-plugin": "4.5.2",
"cross-env": "5.2.0",
"css-loader": "^0.28.10",
"directory-tree": "2.2.0",
"directory-tree-webpack-plugin": "0.3",
"duplexer": "^0.1.1",
"eslint": "4.19.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-markdown": "1.0.0-rc.0",
"file-loader": "^1.1.11",
"fontgen-loader": "git://github.com/EugeneHlushko/fontgen-loader.git#0.1.3",
"front-matter": "^2.3.0",
"gh-pages": "^1.0.0",
"html-webpack-plugin": "^3.2.0",
"html-webpack-template": "^6.1.0",
"http-server": "^0.10.0",
"husky": "^1.0.0-rc.8",
"hyperlink": "^4.3.1",
"lint-staged": "^8.1.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.4",
"markdown-loader": "^4.0.0",
"markdownlint": "^0.11.0",
"markdownlint-cli": "^0.13.0",
"markdownlint-rule-emphasis-style": "^1.0.0",
"marked": "0.6.1",
"mini-css-extract-plugin": "^0.5.0",
"minimist": "1.2.0",
"mkdirp": "^0.5.1",
"modularscale-sass": "^3.0.3",
"node-sass": "^4.5.3",
"npm-run-all": "^4.1.1",
"offline-plugin": "^5.0.7",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^2.1.3",
"redirect-webpack-plugin": "^0.1.1",
"remark": "^10.0.1",
"remark-autolink-headings": "5.2.1",
"remark-custom-blockquotes": "1.0.0",
"remark-extract-anchors": "1.0.2",
"remark-loader": "^0.3.0",
"remark-refractor": "1.1.0",
"remark-responsive-tables": "1.0.0",
"remark-slug": "^5.0.0",
"request-promise": "4.2.4",
"rimraf": "^2.6.2",
"sass-loader": "^6.0.6",
"sirv-cli": "^0.1.2",
"sitemap-static": "^0.4.2",
"static-site-generator-webpack-plugin": "^3.4.1",
"style-loader": "^0.18.2",
"tap-spot": "^1.1.1",
"terser-webpack-plugin": "^1.2.3",
"through2": "^2.0.3",
"uglifyjs-webpack-plugin": "^1.1.6",
"webpack": "^4.30.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.1",
"webpack-merge": "^4.1.0"
},
"dependencies": {
"ajv": "^5.5.2",
"docsearch.js": "^2.5.2",
"gitter-sidecar": "^1.2.3",
"javascriptstuff-db": "^1.12.0",
"lodash.throttle": "^4.1.1",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-banner": "^1.0.0-rc.0",
"react-document-title": "^2.0.3",
"react-dom": "^16.8.6",
"react-g-analytics": "0.4.2",
"react-hot-loader": "^4.0.0-beta.12",
"react-markdown": "4.2.2",
"react-router-dom": "^4.2.2",
"react-tiny-popover": "3.4.2",
"react-visibility-sensor": "^5.0.2",
"webpack-pwa-manifest": "^4.0.0",
"webpack.vote": "^0.1.2",
"whatwg-fetch": "^2.0.3"
}
}