UNPKG

2.34 kBJSONView Raw
1{
2 "name": "@web/dev-server",
3 "version": "0.4.6",
4 "publishConfig": {
5 "access": "public"
6 },
7 "description": "Dev server for web applications",
8 "license": "MIT",
9 "repository": {
10 "type": "git",
11 "url": "https://github.com/modernweb-dev/web.git",
12 "directory": "packages/dev-server"
13 },
14 "author": "modern-web",
15 "homepage": "https://github.com/modernweb-dev/web/tree/master/packages/dev-server",
16 "main": "dist/index.js",
17 "bin": {
18 "web-dev-server": "./dist/bin.js",
19 "wds": "./dist/bin.js"
20 },
21 "exports": {
22 ".": {
23 "types": "./index.d.ts",
24 "import": "./index.mjs",
25 "require": "./dist/index.js"
26 }
27 },
28 "engines": {
29 "node": ">=18.0.0"
30 },
31 "scripts": {
32 "start": "npm run start:syntax",
33 "start:base-path": "node dist/bin.js --config demo/base-path/config.mjs --open",
34 "start:http2": "node dist/bin.js --config demo/http2/config.mjs --open demo/http2/",
35 "start:index-rewrite": "node dist/bin.js --config demo/index-rewrite/config.mjs --open",
36 "start:node-resolve": "node dist/bin.js --config demo/node-resolve/config.mjs --open",
37 "start:plugin-serve": "node dist/bin.js --config demo/plugin-serve/config.mjs --open",
38 "start:static": "node dist/bin.js --config demo/static/config.mjs --open demo/static/",
39 "start:syntax": "node dist/bin.js --config demo/syntax/config.mjs --open demo/syntax/",
40 "test:node": "mocha \"test/**/*.test.mjs\" --reporter dot",
41 "test:watch": "mocha \"test/**/*.test.mjs\" --watch --watch-files src,test --reporter dot"
42 },
43 "files": [
44 "*.d.ts",
45 "*.mjs",
46 "dist",
47 "src"
48 ],
49 "keywords": [
50 "web",
51 "dev",
52 "server",
53 "default",
54 "implementation",
55 "cli"
56 ],
57 "dependencies": {
58 "@babel/code-frame": "^7.12.11",
59 "@types/command-line-args": "^5.0.0",
60 "@web/config-loader": "^0.3.0",
61 "@web/dev-server-core": "^0.7.2",
62 "@web/dev-server-rollup": "^0.6.1",
63 "camelcase": "^6.2.0",
64 "command-line-args": "^5.1.1",
65 "command-line-usage": "^7.0.1",
66 "debounce": "^1.2.0",
67 "deepmerge": "^4.2.2",
68 "internal-ip": "^6.2.0",
69 "nanocolors": "^0.2.1",
70 "open": "^8.0.2",
71 "portfinder": "^1.0.32"
72 },
73 "devDependencies": {
74 "@types/command-line-usage": "^5.0.1",
75 "lit-html": "^2.7.3 || ^3.0.0",
76 "puppeteer": "^22.0.0"
77 }
78}