forked from gwuhaolin/web-webpack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 3.11 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
{
"name": "web-webpack-plugin",
"version": "1.10.2",
"description": "web plugin for webpack, alternatives for html-webpack-plugin, use HTML as entry",
"keywords": [
"webpack",
"plugin",
"html",
"web",
"entry"
],
"repository": {
"type": "git",
"url": "[email protected]:gwuhaolin/web-webpack-plugin.git"
},
"main": "index.js",
"author": "gwuhaolin",
"engines": {
"node": ">= 6.0.0"
},
"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 && webpack -p --output-path dist-js-prod && 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: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 && 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": "^7.4.0",
"parse5": "^3.0.3",
"webpack": "*"
},
"devDependencies": {
"css-loader": "^0.28.4",
"ejs": "^2.5.7",
"eslint": "^4.13.1",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.6",
"html-minifier": "^3.5.7",
"husky": "^0.14.3",
"style-loader": "^0.19.1",
"webpack-dev-server": "^2.9.7"
}
}