-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
117 lines (117 loc) · 2.55 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
{
"name": "@skyra/ai",
"version": "2.0.1",
"description": "Lightning-fast AI for Skyra Project's games",
"author": "kyranet <kyradiscord@gmail.com>",
"license": "MIT",
"main": "index.cjs",
"module": "index.mjs",
"types": "index.d.ts",
"type": "module",
"exports": {
"import": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"require": {
"types": "./index.d.ts",
"default": "./index.cjs"
}
},
"files": [
"index.cjs",
"index.mjs",
"index.d.ts"
],
"sideEffects": false,
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --js index.cjs --no-const-enum --release --pipe \"prettier -w\"",
"build:debug": "napi build --platform --js index.cjs --no-const-enum --pipe \"prettier -w\"",
"format": "run-p format:prettier format:rs format:toml",
"format:prettier": "prettier . -w",
"format:toml": "taplo format",
"format:rs": "cargo fmt",
"lint": "eslint .",
"prepublishOnly": "napi prepublish -t npm",
"test": "vitest run",
"version": "napi version"
},
"napi": {
"name": "ai",
"triples": {
"defaults": true,
"additional": [
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"armv7-unknown-linux-gnueabihf",
"aarch64-apple-darwin",
"aarch64-linux-android",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-linux-androideabi"
]
}
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@napi-rs/cli": "^2.18.4",
"@sapphire/eslint-config": "^5.0.5",
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ts-config": "^5.0.1",
"@taplo/cli": "^0.7.0",
"@types/node": "^22.8.7",
"@vitest/coverage-v8": "^2.1.4",
"eslint": "^8.57.1",
"lint-staged": "^15.2.10",
"npm-run-all2": "^7.0.1",
"prettier": "^3.3.3",
"vitest": "^2.1.4"
},
"resolutions": {
"minimist": "^1.2.8"
},
"repository": {
"type": "git",
"url": "git+https://github.com/skyra-project/ai.git"
},
"bugs": {
"url": "https://github.com/skyra-project/ai/issues"
},
"keywords": [
"discord.js",
"bot",
"standalone"
],
"engines": {
"node": ">= v16"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"eslint --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
".rs": [
"cargo +nightly fmt"
],
"*.toml": [
"taplo format"
]
},
"prettier": "@sapphire/prettier-config",
"eslintConfig": {
"extends": "@sapphire"
},
"packageManager": "yarn@4.5.1"
}