generated from ulivz/ts-lib-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 1.81 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
62
63
64
65
{
"name": "unport",
"description": "Unport - a Universal Port with strict type inference capability for cross-JSContext communication.",
"version": "0.7.0",
"main": "lib/index.js",
"module": "esm/index.js",
"typings": "esm/index.d.ts",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"keywords": [
"typescript",
"lib"
],
"scripts": {
"bootstrap": "pnpm i --prefer-offline",
"clean": "rm -rf cjs esm",
"dev": "run-p dev:cjs dev:esm dev:example",
"build": "run-s build:cjs build:esm build:example",
"dev:cjs": "npm run build:cjs -- --watch",
"dev:esm": "npm run build:esm -- --watch",
"build:cjs": "tsc -p tsconfig.src.json --module commonjs --outDir lib",
"build:esm": "tsc -p tsconfig.src.json --module ES2015 --outDir esm",
"dev:example": "tsc -p tsconfig.examples.json --watch",
"build:example": "tsc -p tsconfig.examples.json",
"prepublishOnly": "npm run build",
"lint": "eslint -c .eslintrc.js src --ext .js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"test:watch": "vitest",
"test": "vitest run",
"cov": "vitest run --coverage",
"release": "quick-publish"
},
"engines": {
"node": ">=16",
"pnpm": "8.7.0"
},
"packageManager": "[email protected]",
"devDependencies": {
"@types/node": "18.7.6",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "7",
"eslint-config-typescript-library": "0.2.4",
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"quick-publish": "0.6.0",
"tsx": "^4.1.2",
"typescript": "4.7.4",
"vitest": "^0.34.6",
"socket.io": "^4.7.2",
"socket.io-client": "^4.5.1"
},
"files": [
"bin",
"esm",
"!esm/*.tsbuildinfo",
"!esm/*.map",
"lib",
"!lib/*.tsbuildinfo",
"!lib/*.map",
"types",
"*.d.ts"
]
}