-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
128 lines (128 loc) · 4.03 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "node-insim",
"version": "0.0.0-semantically-released",
"description": "An InSim library for NodeJS with TypeScript support",
"keywords": [
"lfs",
"live for speed",
"insim",
"node",
"nodejs",
"node.js"
],
"repository": "git@github.com:simbroadcasts/node-insim.git",
"author": "Martin Kapal <flamecze@gmail.com>",
"contributors": [
"Peter Butcher <pete@pbutcher.uk> (https://pbutcher.uk)",
"Gedas Valuntis <xspeedasx@gmail.com>"
],
"license": "MIT",
"private": false,
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"typesVersions": {
"*": {
"packets": [
"./dist/types/packets/index.d.ts"
]
}
},
"files": [
"dist",
"!dist/types/protocols",
"!dist/types/decorators.d.ts",
"!dist/types/lfspack.d.ts",
"!dist/types/log.d.ts"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
},
"./packets": {
"types": "./dist/types/packets/index.d.ts",
"node": "./dist/cjs/packets/index.js",
"require": "./dist/cjs/packets/index.js",
"import": "./dist/esm/packets/index.js",
"default": "./dist/esm/packets/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"commit": "cz",
"prebuild": "rimraf ./dist",
"build": "tsc -b ./src/tsconfig.cjs.json ./src/tsconfig.esm.json ./src/tsconfig.types.json",
"dev": "cross-env DEBUG=* tsx watch ./src/index.ts",
"dev:nodebug": "tsx watch ./src/index.ts",
"test": "run-s test:compile \"test:run {@}\" --",
"test:compile": "tsc -p tsconfig.test.json",
"test:run": "jest",
"test:watch": "run-s test:compile \"test:run --watch {@}\" --",
"test:lfs": "run-s test:compile \"test:run -c jest.config.lfs.json --runInBand {@}\" --",
"test:examples": "node scripts/build-examples.cjs",
"check-all": "run-s format lint:fix build test test:examples",
"format": "run-s \"format:no-write --write\"",
"format:no-write": "prettier \"./**/*.{cjs,js,ts,md,json,yml,yaml}\"",
"format:check": "run-s \"format:no-write --check\"",
"lint": "eslint \"./src/**/*\" --ext .js,.ts",
"lint:fix": "eslint \"./src/**/*\" --ext .js,.ts --fix",
"generate": "run-s \"generate:plop {@}\" lint:fix format --",
"generate:plop": "plop",
"docs:generate": "typedoc",
"prepare": "husky install",
"prepack": "run-s build"
},
"dependencies": {
"@types/debug": "^4.1.7",
"@types/lodash": "^4.14.182",
"debug": "^4.3.4",
"lodash": "^4.17.21",
"parse-lfs-message": "^1.2.4",
"reflect-metadata": "^0.1.13",
"supports-color": "^9.2.3",
"tiny-typed-emitter": "^2.1.0",
"unicode-to-lfs": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.17.9",
"@babel/preset-env": "^7.17.10",
"@babel/preset-typescript": "^7.16.7",
"@types/ip": "^1.1.3",
"@types/jest": "^29.5.0",
"@types/mitm": "^1.3.4",
"@types/node": "^18.15.5",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"babel-jest": "^29.5.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^16.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-junit": "^15.0.0",
"mitm": "^1.7.2",
"npm-run-all": "^4.1.5",
"plop": "^3.1.1",
"prettier": "^2.8.5",
"rimraf": "^4.4.0",
"tsx": "^3.12.6",
"typedoc": "^0.26.5",
"typescript": "^5.4.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
}