1 | {
|
2 | "name": "webpack-plugin-serve",
|
3 | "version": "1.6.0",
|
4 | "description": "A Development Server in a Webpack Plugin",
|
5 | "license": "MPL-2.0",
|
6 | "repository": "shellscape/webpack-plugin-serve",
|
7 | "author": "shellscape",
|
8 | "homepage": "https://github.com/shellscape/webpack-plugin-serve",
|
9 | "bugs": "https://github.com/shellscape/webpack-plugin-serve/issues",
|
10 | "bin": "",
|
11 | "main": "lib/index.js",
|
12 | "engines": {
|
13 | "node": ">= 10.0.0 < 10.14.0 || >= 10.15.0"
|
14 | },
|
15 | "scripts": {
|
16 | "ci:coverage": "nyc npm run test && nyc report --reporter=text-lcov > coverage.lcov",
|
17 | "ci:lint": "npm run lint && npm run security",
|
18 | "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
|
19 | "ci:test": "npm run test -- --verbose --timeout=30000",
|
20 | "commitlint": "commitlint",
|
21 | "commitmsg": "commitlint -e $GIT_PARAMS",
|
22 | "dev": "npm run dev:clean && node node_modules/webpack-nano/bin/wp --config test/fixtures/simple/webpack.config.js",
|
23 | "dev:clean": "del test/fixtures/multi/output/* test/fixtures/simple/output/*",
|
24 | "dev:multi": "npm run dev:clean && node node_modules/webpack-nano/bin/wp --config test/fixtures/multi/webpack.config.js",
|
25 | "faq:toc": "echo 'temporarily disabled' # markdown-toc -i .github/FAQ.md",
|
26 | "lint": "eslint --fix --cache lib test",
|
27 | "lint-staged": "lint-staged",
|
28 | "security": "npm audit --audit-level=moderate",
|
29 | "test": "ava"
|
30 | },
|
31 | "files": [
|
32 | "client.js",
|
33 | "lib/",
|
34 | "README.md",
|
35 | "LICENSE"
|
36 | ],
|
37 | "peerDependencies": {
|
38 | "webpack": "^4.20.2 || ^5.0.0"
|
39 | },
|
40 | "dependencies": {
|
41 | "chalk": "^4.0.0",
|
42 | "connect-history-api-fallback": "^1.5.0",
|
43 | "escalade": "^3.1.0",
|
44 | "globby": "^11.0.0",
|
45 | "http-proxy-middleware": "^1.0.3",
|
46 | "is-path-cwd": "^2.2.0",
|
47 | "is-promise": "^4.0.0",
|
48 | "json-stringify-safe": "^5.0.1",
|
49 | "koa": "^2.5.3",
|
50 | "koa-compress": "^5.0.1",
|
51 | "koa-connect": "^2.0.1",
|
52 | "koa-route": "^3.2.0",
|
53 | "koa-static": "^5.0.0",
|
54 | "loglevelnext": "^4.0.1",
|
55 | "nanoid": "^3.1.3",
|
56 | "onetime": "^5.1.0",
|
57 | "open": "^7.0.3",
|
58 | "p-defer": "^3.0.0",
|
59 | "rimraf": "^3.0.2",
|
60 | "strip-ansi": "^6.0.0",
|
61 | "superstruct": "^0.12.1",
|
62 | "webpack-plugin-ramdisk": "^0.2.0",
|
63 | "ws": "^7.5.3"
|
64 | },
|
65 | "devDependencies": {
|
66 | "@commitlint/cli": "^11.0.0",
|
67 | "@commitlint/config-conventional": "^11.0.0",
|
68 | "ava": "^3.13.0",
|
69 | "cpy": "^8.1.0",
|
70 | "del": "^6.0.0",
|
71 | "del-cli": "^3.0.1",
|
72 | "eslint-config-shellscape": "^2.1.0",
|
73 | "execa": "^4.0.0",
|
74 | "get-port": "^5.1.1",
|
75 | "lint-staged": "^10.2.2",
|
76 | "make-dir": "^3.0.0",
|
77 | "node-fetch": "^2.6.1",
|
78 | "nyc": "^15.0.1",
|
79 | "pre-commit": "^1.2.2",
|
80 | "puppeteer": "^5.5.0",
|
81 | "random-js": "^2.1.0",
|
82 | "react-refresh": "^0.9.0",
|
83 | "webpack": "^4.44.2",
|
84 | "webpack-nano": "^1.0.0"
|
85 | },
|
86 | "keywords": [
|
87 | "dev",
|
88 | "development",
|
89 | "devserver",
|
90 | "serve",
|
91 | "server",
|
92 | "webpack"
|
93 | ],
|
94 | "ava": {
|
95 | "files": [
|
96 | "!**/fixtures/**",
|
97 | "!**/helpers/**",
|
98 | "!**/recipes/**"
|
99 | ]
|
100 | },
|
101 | "lint-staged": {
|
102 | "*.js": [
|
103 | "eslint --fix"
|
104 | ]
|
105 | },
|
106 | "nyc": {
|
107 | "include": [
|
108 | "lib/**/*.js"
|
109 | ],
|
110 | "exclude": [
|
111 | "lib/client*.js",
|
112 | "test/"
|
113 | ]
|
114 | },
|
115 | "pre-commit": "lint-staged"
|
116 | }
|