forked from docschina/webpack.js.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
177 lines (177 loc) · 6.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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"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": ">=12"
},
"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 repositories/*.json",
"start": "npm run clean-dist && webpack serve --config webpack.dev.js --env dev --progress --node-env development",
"content": "node src/scripts/build-content-tree.js ./src/content ./src/_content.json",
"bundle-analyze": "run-s clean fetch content && webpack --config webpack.prod.js --node-env production && run-s printable content && webpack --config webpack.ssg.js --node-env production --env ssg --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"fetch-repos": "node src/utilities/fetch-package-repos.js",
"fetch": "run-p fetch:*",
"fetch:readmes": "node src/utilities/fetch-package-readmes.js",
"fetch:supporters": "node src/utilities/fetch-supporters.js",
"prebuild": "npm run clean",
"build": "run-s content && webpack --config webpack.prod.js --node-env production && run-s printable content && webpack --config webpack.ssg.js --node-env production",
"postbuild": "npm run sitemap",
"build-test": "npm run build && http-server --port 4200 dist/",
"test": "npm run lint",
"lint": "run-s lint:*",
"lint:js": "npm run lint-js .",
"lint-js": "eslint --cache --cache-location .cache/.eslintcache",
"lint:markdown": "npm run lint-markdown *.md ./src/content/**/*.md",
"lint-markdown": "markdownlint --config ./.markdownlint.json --ignore './src/content/**/_*.md' --ignore '.vale/**/*.md' --ignore '.github/**/*.md'",
"lint:prose": "vale --config='.vale.ini' src/content",
"lint:links": "hyperlink -c 8 --root dist -r dist/index.html --canonicalroot https://webpack.js.org/ --internal --skip /plugins/extract-text-webpack-plugin/ --skip /printable --skip https:// --skip http:// --skip sw.js > internal-links.tap; cat internal-links.tap | tap-spot",
"lint:heading": "textlint --fix src/content/*",
"lint:heading-blog": "textlint --fix src/content/blog/*",
"lint:headingMDX": "textlint --fix src/content/**/*.mdx",
"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",
"preprintable": "npm run clean-printable",
"printable": "node ./src/scripts/concatenate-docs.js",
"jest": "jest",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:ci": "start-server-and-test build-test http://localhost:4200 cypress:run",
"prettier": "prettier --write '**/*.{js,json,jsx,css,scss,md,mdx}'",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,jsx,md,mdx}": [
"npm run lint-js"
],
"*.md": [
"npm run lint-markdown"
],
"*.{js,jsx,css,scss,md,mdx,json}": [
"prettier --write"
]
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.14.7",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@mdx-js/loader": "^1.6.21",
"@octokit/auth-action": "^1.3.3",
"@octokit/rest": "^18.6.7",
"@pmmmwh/react-refresh-webpack-plugin": "next",
"@svgr/webpack": "^5.5.0",
"autoprefixer": "^10.3.1",
"babel-loader": "^8.2.2",
"copy-webpack-plugin": "^9.0.1",
"css-loader": "^5.2.7",
"css-minimizer-webpack-plugin": "^3.0.2",
"cypress": "^7.7.0",
"directory-tree": "^2.2.9",
"directory-tree-webpack-plugin": "^1.0.2",
"docschina-remark-slugger": "^0.1.4",
"duplexer": "^0.1.1",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-markdown": "^2.2.0",
"eslint-plugin-mdx": "^1.14.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"front-matter": "^4.0.2",
"html-loader": "^2.1.2",
"html-webpack-plugin": "^5.3.2",
"http-server": "^0.12.3",
"husky": "^7.0.1",
"hyperlink": "^4.6.1",
"jest": "^27.0.6",
"lint-staged": "^11.0.1",
"lodash": "^4.17.21",
"markdownlint": "^0.23.1",
"markdownlint-cli": "^0.27.1",
"mini-css-extract-plugin": "^2.1.0",
"mkdirp": "^1.0.4",
"modularscale-sass": "^3.0.3",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.1",
"postcss": "^8.3.5",
"postcss-loader": "^6.1.1",
"prettier": "^2.3.2",
"react-refresh": "^0.10.0",
"redirect-webpack-plugin": "^1.0.0",
"remark": "^13.0.0",
"remark-autolink-headings": "^6.0.1",
"remark-emoji": "^2.2.0",
"remark-extract-anchors": "1.1.1",
"remark-frontmatter": "^3.0.0",
"remark-gfm": "^1.0.0",
"remark-html": "^13.0.1",
"remark-loader": "^4.0.0",
"remark-refractor": "git://github.com/montogeek/remark-refractor.git",
"remark-slug": "^6.1.0",
"rimraf": "^3.0.2",
"sass": "^1.35.2",
"sass-loader": "^12.1.0",
"sirv-cli": "^1.0.12",
"sitemap-static": "^0.4.2",
"start-server-and-test": "^1.12.6",
"static-site-generator-webpack-plugin": "^3.4.1",
"style-loader": "^3.1.0",
"tailwindcss": "^2.2.4",
"tap-spot": "^1.1.1",
"textlint": "^11.8.2",
"textlint-rule-heading": "^1.0.10",
"unist-util-visit": "^2.0.3",
"webpack": "^5.45.1",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.0.0-beta.3",
"webpack-merge": "^5.8.0",
"workbox-webpack-plugin": "^6.1.5"
},
"dependencies": {
"@docsearch/react": "^3.0.0-alpha.37",
"path-browserify": "^1.0.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-g-analytics": "0.4.2",
"react-helmet-async": "^1.0.9",
"react-router-dom": "^5.2.0",
"react-spring": "^9.2.4",
"react-tiny-popover": "5",
"react-use": "^17.2.4",
"react-visibility-sensor": "^5.0.2",
"unist-util-visit": "^2.0.3",
"webpack-pwa-manifest": "^4.3.0",
"webpack.vote": "https://github.com/webpack/voting-app.git",
"workbox-window": "^6.1.5"
},
"resolutions": {
"sitemap-static/minimist": "1.2.5",
"ini": "1.3.7",
"eval": "^0.1.5"
}
}