@amxts/menu-core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/PAWN.md +33 -0
- package/PAWN.ru.md +33 -0
- package/README.md +382 -0
- package/README.ru.md +382 -0
- package/include/menu_core.inc +213 -0
- package/package.json +72 -0
- package/prebuilt/linux/menu-core.aot +0 -0
- package/prebuilt/manifest.json +703 -0
- package/prebuilt/windows/menu-core.aot +0 -0
- package/scripts/docs/src/index.ts +298 -0
- package/scripts/docs/src/types.ts +266 -0
- package/scripts/menu-colors.ts +97 -0
- package/src/index.ts +1615 -0
- package/src/internal.ts +328 -0
- package/src/menu-file.ts +686 -0
- package/src/natives.ts +411 -0
- package/src/types.ts +158 -0
- package/testing/index.ts +375 -0
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@amxts/menu-core",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Menus for amxts plugins, from ini files or code: conditions, placeholders, lists - and the mc_* natives for Pawn plugins.",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "kukson777",
|
|
8
|
+
"url": "https://github.com/kukson777"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"homepage": "https://github.com/amxts/menu-core#readme",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/amxts/menu-core.git"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"amxts-module",
|
|
18
|
+
"amxts-menus",
|
|
19
|
+
"amxmodx",
|
|
20
|
+
"counter-strike"
|
|
21
|
+
],
|
|
22
|
+
"exports": {
|
|
23
|
+
".": "./src/index.ts",
|
|
24
|
+
"./testing": "./testing/index.ts"
|
|
25
|
+
},
|
|
26
|
+
"types": "./src/index.ts",
|
|
27
|
+
"files": [
|
|
28
|
+
"PAWN.md",
|
|
29
|
+
"PAWN.ru.md",
|
|
30
|
+
"README.md",
|
|
31
|
+
"README.ru.md",
|
|
32
|
+
"include",
|
|
33
|
+
"scripts/docs",
|
|
34
|
+
"scripts/menu-colors.ts",
|
|
35
|
+
"src",
|
|
36
|
+
"testing",
|
|
37
|
+
"prebuilt"
|
|
38
|
+
],
|
|
39
|
+
"amxts": {
|
|
40
|
+
"module": "src/index.ts",
|
|
41
|
+
"natives": "src/natives.ts",
|
|
42
|
+
"include": "include/menu_core.inc",
|
|
43
|
+
"testing": "testing/index.ts"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"test": "bun test",
|
|
47
|
+
"check": "amxts check",
|
|
48
|
+
"lint": "oxlint && oxfmt --check",
|
|
49
|
+
"lint:fix": "oxfmt && oxlint --fix --silent || oxlint --fix --silent || oxlint --fix"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@amxts/config-core": "^0.1.0",
|
|
53
|
+
"@amxts/core": "^0.1.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@e18e/eslint-plugin": "^0.8.1",
|
|
57
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
|
|
58
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
59
|
+
"@types/bun": "^1.4.2",
|
|
60
|
+
"eslint-plugin-antfu": "^3.2.3",
|
|
61
|
+
"eslint-plugin-command": "^4.0.0",
|
|
62
|
+
"eslint-plugin-n": "^18.4.0",
|
|
63
|
+
"eslint-plugin-perfectionist": "^5.12.1",
|
|
64
|
+
"eslint-plugin-regexp": "^3.3.1",
|
|
65
|
+
"oxfmt": "^0.70.0",
|
|
66
|
+
"oxlint": "^1.85.0",
|
|
67
|
+
"typescript": "^6.0.3"
|
|
68
|
+
},
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"access": "public"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
Binary file
|