-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.74 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
{
"name": "@dirain/client",
"version": "0.0.25",
"type": "commonjs",
"dependencies": {
"@discordjs/collection": "^2.1.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/lodash": "^4.17.7",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.12",
"@types/ws": "^8.5.11",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"esbuild": "^0.23.0",
"eslint": "8.57.0",
"eslint-plugin-import": "^2.29.1",
"glob": "^11.0.0",
"lodash": "^4.17.21",
"mocha": "^10.7.0",
"prettier": "^3.3.3",
"typescript": "^5.4.5"
},
"exports": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./src/index.ts",
"files": [
"src",
"types",
"dist"
],
"scripts": {
"lint": "eslint --cache .",
"lint-fix": "eslint --cache --fix .",
"test": "npm run esbuild && npm run mocha",
"mocha": "node --enable-source-maps --max-old-space-size=2048 dist/cjs/test/index.js",
"write": "prettier --write .",
"check": "prettier --check .",
"generate-exports": "node generate-exports",
"copy-dts": "node copy-types",
"tsc": "npm run tsc:cjs && npm run tsc:esm",
"tsc:cjs": "tsc -p tsconfig.cjs.json --noEmit --emitDeclarationOnly false",
"tsc:esm": "tsc -p tsconfig.esm.json --noEmit --emitDeclarationOnly false",
"tsc:test": "tsc -p tsconfig.test.json",
"emitDeclaration": "npm run emit:cjs & npm run emit:esm",
"emit:cjs": "tsc -p tsconfig.cjs.json",
"emit:esm": "tsc -p tsconfig.esm.json",
"ci": "npm run check && npm run lint && npm run tsc",
"build": "npm run write && npm run esbuild && npm run emitDeclaration && npm run lint-fix",
"prebuild": "tsc -p tsconfig.build.json",
"esbuild": "node --enable-source-maps build.js",
"prepublishOnly": "npm run check && (npm run generate-exports & npm run copy-dts & npm run prebuild) && npm run esbuild && npm run emitDeclaration && npm run lint",
"ncu": "npx -p npm-check-updates -c \"ncu -u\""
},
"keywords": [],
"author": "Dirain1700",
"license": "MIT",
"description": "A client for connect to Pokémon Showdown",
"engines": {
"node": ">= 16.9.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Dirain1700/Client.git"
},
"bugs": {
"url": "https://github.com/Dirain1700/Client/issues"
},
"homepage": "https://github.com/Dirain1700/Client#readme"
}