-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
75 lines (75 loc) · 3.99 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
{
"name": "web-webpack-plugin",
"version": "5.0.0",
"description": "web plugin for webpack, alternatives for html-webpack-plugin, use HTML as entry",
"keywords": [
"webpack",
"webpack4",
"plugin",
"html",
"web",
"entry"
],
"repository": {
"type": "git",
"url": "[email protected]:gwuhaolin/web-webpack-plugin.git"
},
"main": "index.js",
"author": "gwuhaolin",
"engines": {
"node": ">=6.11.5"
},
"scripts": {
"precommit": "eslint lib",
"eslint:fix": "eslint lib --fix",
"demo:auto-plugin": "cd demo/auto-plugin && rm -rf dist && rm -rf dist-js-prod && webpack --mode development && webpack --mode production --output-path dist-js-prod && cd ../../",
"demo:auto-plugin-pagedir-object": "cd demo/auto-plugin-pagedir-object && rm -rf dist && webpack --mode development && cd ../../",
"demo:mutil-web-plugin": "cd demo/mutil-web-plugin && rm -rf dist && webpack --mode development && cd ../../",
"demo:auto-plugin-logic-filename": "cd demo/auto-plugin-logic-filename && rm -rf dist && webpack && cd ../../",
"demo:auto-plugin-react-typescript": "cd demo/auto-plugin-react-typescript && rm -rf dist && webpack && cd ../../",
"demo:config-resource": "cd demo/config-resource && rm -rf dist-js && rm -rf dist-js-prod && rm -rf dist-template && rm -rf dist && webpack && webpack --config webpack.config-template.js && webpack -p --output-path dist-js-prod && cd ../../",
"demo:out-html": "cd demo/out-html && rm -rf dist && webpack && cd ../../",
"demo:out-pagemap": "cd demo/out-pagemap && rm -rf dist && webpack && cd ../../",
"demo:issue6": "cd demo/issue6 && rm -rf dist && webpack && cd ../../",
"demo:use-template": "cd demo/use-template && rm -rf dist && webpack && cd ../../",
"demo:config-html-attribute": "cd demo/config-html-attribute && rm -rf dist && webpack && cd ../../",
"demo:minify-html": "cd demo/minify-html && rm -rf dist && webpack && cd ../../",
"demo:use-template-complier": "cd demo/use-template-complier && rm -rf dist && webpack && cd ../../",
"demo:watch-template-complier": "cd demo/use-template-complier && rm -rf dist && webpack -w && cd ../../",
"demo:watch-template": "cd demo/watch-template && rm -rf dist && webpack -w && cd ../../",
"demo:extract-css": "cd demo/extract-css && rm -rf dist && webpack && cd ../../",
"demo:public-path": "cd demo/public-path && rm -rf dist && webpack && cd ../../",
"demo:relative-path": "cd demo/relative-path && rm -rf dist && webpack && cd ../../",
"demo:relative-path-public-path": "cd demo/relative-path-public-path && rm -rf dist && webpack && cd ../../",
"demo:pre-post-entrys": "cd demo/pre-post-entrys && rm -rf dist && webpack && cd ../../",
"demo:hmr": "cd demo/hmr && webpack-dev-server --hot",
"demo:load-local-file": "cd demo/load-local-file && rm -rf dist && rm -rf dist-prod && webpack && webpack -p --output-path dist-prod --config webpack-prod.config.js && cd ../../",
"demo": "npm run demo:auto-plugin-logic-filename && npm run demo:auto-plugin-react-typescript && npm run demo:auto-plugin && npm run demo:load-local-file && npm run demo:minify-html && npm run demo:config-resource && npm run demo:issue6 && npm run demo:out-html && npm run demo:use-template && npm run demo:use-template-complier && npm run demo:extract-css && npm run demo:public-path && npm run demo:pre-post-entrys && npm run demo:relative-path && npm run demo:relative-path-public-path && npm run demo:config-html-attribute && cd ../../",
"test": "node test.js"
},
"license": "ISC",
"dependencies": {
"file-type": "^8.1.0",
"parse5": "^5.0.0",
"webpack": "^5"
},
"devDependencies": {
"@types/react": "^16.4.7",
"@types/react-dom": "^16.0.6",
"css-loader": "^1.0.0",
"ejs": "^2.6.1",
"eslint": "^5.1.0",
"file-loader": "^1.1.6",
"html-minifier": "^3.5.18",
"husky": "^0.14.3",
"mini-css-extract-plugin": "^0.4.1",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"style-loader": "^0.21.0",
"ts-loader": "^4.4.2",
"tslib": "^1.9.3",
"typescript": "^3.0.1",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4"
}
}