1 | {
|
2 | "name": "serve",
|
3 | "version": "14.0.1",
|
4 | "description": "Static file serving and directory listing",
|
5 | "keywords": [
|
6 | "vercel",
|
7 | "serve",
|
8 | "micro",
|
9 | "http-server"
|
10 | ],
|
11 | "repository": "vercel/serve",
|
12 | "license": "MIT",
|
13 | "type": "module",
|
14 | "bin": {
|
15 | "serve": "./build/main.js"
|
16 | },
|
17 | "files": [
|
18 | "build/"
|
19 | ],
|
20 | "engines": {
|
21 | "node": ">= 14"
|
22 | },
|
23 | "scripts": {
|
24 | "develop": "tsx watch ./source/main.ts",
|
25 | "start": "node ./build/main.js",
|
26 | "compile": "tsup ./source/main.ts",
|
27 | "test:tsc": "tsc --project tsconfig.json",
|
28 | "test": "pnpm test:tsc",
|
29 | "lint:code": "eslint --max-warnings 0 source/**/*.ts",
|
30 | "lint:style": "prettier --check --ignore-path .gitignore .",
|
31 | "lint": "pnpm lint:code && pnpm lint:style",
|
32 | "format": "prettier --write --ignore-path .gitignore .",
|
33 | "prepare": "husky install config/husky && pnpm compile"
|
34 | },
|
35 | "dependencies": {
|
36 | "@zeit/schemas": "2.21.0",
|
37 | "ajv": "8.11.0",
|
38 | "arg": "5.0.2",
|
39 | "boxen": "7.0.0",
|
40 | "chalk": "5.0.1",
|
41 | "chalk-template": "0.4.0",
|
42 | "clipboardy": "3.0.0",
|
43 | "compression": "1.7.4",
|
44 | "is-port-reachable": "4.0.0",
|
45 | "serve-handler": "6.1.3",
|
46 | "update-check": "1.5.4"
|
47 | },
|
48 | "devDependencies": {
|
49 | "@types/compression": "1.7.2",
|
50 | "@types/serve-handler": "6.1.1",
|
51 | "@vercel/style-guide": "3.0.0",
|
52 | "eslint": "8.19.0",
|
53 | "husky": "8.0.1",
|
54 | "lint-staged": "13.0.3",
|
55 | "prettier": "2.7.1",
|
56 | "tsup": "6.1.3",
|
57 | "tsx": "3.7.1",
|
58 | "typescript": "4.6.4"
|
59 | },
|
60 | "tsup": {
|
61 | "target": "esnext",
|
62 | "format": [
|
63 | "esm"
|
64 | ],
|
65 | "outDir": "./build/"
|
66 | },
|
67 | "prettier": "@vercel/style-guide/prettier",
|
68 | "eslintConfig": {
|
69 | "extends": [
|
70 | "./node_modules/@vercel/style-guide/eslint/node.js",
|
71 | "./node_modules/@vercel/style-guide/eslint/typescript.js"
|
72 | ],
|
73 | "parserOptions": {
|
74 | "project": "tsconfig.json"
|
75 | }
|
76 | },
|
77 | "lint-staged": {
|
78 | "*": [
|
79 | "prettier --ignore-unknown --write"
|
80 | ],
|
81 | "source/**/*.ts": [
|
82 | "eslint --max-warnings 0 --fix"
|
83 | ]
|
84 | }
|
85 | }
|