-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
45 lines (45 loc) · 1.32 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
{
"name": "freesia",
"version": "2.0.1",
"description": "A TypeScript library for building web servers.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"author": "Hexiang Qi<qihexiang@outlook.com>",
"license": "MPL-2.0",
"private": false,
"homepage": "https://qihexiang.github.io/freesia",
"repository": {
"type": "git",
"url": "https://github.com/qihexiang/freesia.git"
},
"devDependencies": {
"@types/node": ">=14.0.0",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"esbuild": "^0.14.36",
"eslint": "^8.11.0",
"prettier": "^2.5.1",
"raw-body": "^2.5.1",
"ts-node": "^10.7.0",
"ts-node-dev": "^1.1.8",
"typedoc": "^0.22.13",
"typescript": "^4.6.2"
},
"scripts": {
"build:types": "tsc",
"build:cjs": "esbuild src/index.ts --bundle --outfile=dist/index.js --format=cjs --platform=node",
"build:esm": "esbuild src/index.ts --bundle --outfile=dist/index.mjs --format=esm --platform=node",
"build:doc": "typedoc ./src/index.ts",
"check": "eslint ./src",
"lint": "eslint --fix ./src",
"fmt": "prettier --write ./src"
},
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"peerDependencies": {
"@types/node": ">=14.0.0"
}
}