-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
61 lines (61 loc) · 1.52 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
{
"name": "csgo-sharecode",
"version": "3.1.2",
"description": "Encode / decode CS:GO and CS2 share code",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/cjs/index.js",
"exports": {
".": {
"import": {
"default": "./dist/esm/index.js",
"types": "./dist/index.d.ts"
},
"require": {
"default": "./dist/cjs/index.js",
"types": "./dist/index.d.ts"
}
}
},
"author": "AkiVer",
"license": "GPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/akiver/csgo-sharecode.git"
},
"homepage": "https://github.com/akiver/csgo-sharecode",
"keywords": [
"csgo",
"cs2",
"valve",
"share code",
"replays",
"demos",
"crosshair"
],
"files": [
"dist",
"src/index.ts"
],
"scripts": {
"build:cjs": "tsc --module CommonJS --outDir dist/cjs && echo { \"\\\"type\"\\\": \"\\\"commonjs\"\\\" } > ./dist/cjs/package.json",
"build:esm": "tsc --module NodeNext --outDir dist/esm",
"build:types": "tsc --emitDeclarationOnly --declaration --removeComments false",
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
"compile": "tsc --noEmit",
"dev": "tsc --watch",
"format": "prettier --write \"**\"",
"t": "npm run test",
"test": "vitest run",
"tw": "vitest --watch"
},
"devDependencies": {
"@types/node": "20.10.4",
"prettier": "3.1.1",
"typescript": "5.3.3",
"vitest": "1.0.4"
},
"engines": {
"node": ">=10.8.0"
}
}