generated from napi-rs/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 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
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
{
"name": "@skyra/word-match",
"version": "1.0.0",
"description": "A fast and complete word matcher for Skyra's systems 🚀",
"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": "word-match",
"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.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@napi-rs/cli": "^2.18.1",
"@sapphire/eslint-config": "^5.0.4",
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ts-config": "^5.0.1",
"@taplo/cli": "^0.7.0",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"lint-staged": "^15.2.2",
"npm-run-all2": "^6.1.2",
"prettier": "^3.2.5",
"vitest": "^2.1.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/skyra-project/word-match.git"
},
"bugs": {
"url": "https://github.com/skyra-project/word-match/issues"
},
"keywords": [
"napi-rs",
"NAPI",
"N-API",
"Rust",
"node-addon",
"node-addon-api"
],
"engines": {
"node": ">= v16"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"lint-staged": {
"*.{js,cjs,mjs,ts,cts,mts}": [
"eslint --fix"
],
"*.{js,cjs,mjs,ts,cts,mts,yml,yaml,md,json}": [
"prettier --write"
],
".rs": [
"cargo +nightly fmt"
],
"*.toml": [
"taplo format"
]
},
"prettier": "@sapphire/prettier-config",
"eslintConfig": {
"extends": "@sapphire"
},
"packageManager": "yarn@4.3.0"
}