generated from napi-rs/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) 路 2.3 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
{
"name": "@skyra/word-match",
"version": "1.0.0",
"description": "A fast and complete word matcher for Skyra's systems 馃殌",
"main": "index.js",
"repository": "https://github.com/skyra-project/word-match",
"license": "MIT",
"keywords": [
"napi-rs",
"NAPI",
"N-API",
"Rust",
"node-addon",
"node-addon-api"
],
"files": [
"index.d.ts",
"index.js"
],
"napi": {
"name": "word-match",
"triples": {
"defaults": true,
"additional": [
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"i686-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"aarch64-apple-darwin",
"aarch64-linux-android",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-linux-androideabi"
]
}
},
"engines": {
"node": ">= 10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --no-const-enum --release --pipe \"prettier -w\"",
"build:debug": "napi build --platform --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 +nightly fmt",
"lint": "eslint .",
"prepublishOnly": "napi prepublish -t npm",
"test": "vitest run",
"version": "napi version"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.1",
"@sapphire/eslint-config": "^5.0.4",
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ts-config": "^5.0.1",
"@swc-node/register": "^1.9.0",
"@swc/core": "^1.4.14",
"@taplo/cli": "^0.7.0",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"chalk": "^5.3.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"npm-run-all2": "^6.1.2",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"vitest": "^1.5.0"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"eslint -c .eslintrc.yml --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
"*.toml": [
"taplo format"
]
},
"prettier": "@sapphire/prettier-config",
"eslintConfig": {
"extends": "@sapphire"
},
"packageManager": "yarn@4.3.0"
}