generated from napi-rs/package-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
90 lines (90 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
{
"name": "@ddc-node/ddc-node",
"version": "1.0.3",
"author": "Alexandre MONIER <alexandre.monierc@gmail.com>",
"description": "A high-level DDC/CI library for Node written in Rust for efficient and fast control of hardware",
"main": "index.js",
"repository": "git@github.com:ThalusA/ddc-node.git",
"homepage": "https://github.com/ThalusA/ddc-node#readme",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/ThalusA/ddc-node/issues"
},
"keywords": [
"napi-rs",
"NAPI",
"N-API",
"Rust",
"node-addon",
"node-addon-api",
"DDC/CI",
"DDC"
],
"files": [
"index.d.ts",
"index.js"
],
"napi": {
"name": "ddc-node",
"triples": {
"defaults": true,
"additional": [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-pc-windows-msvc"
]
}
},
"engines": {
"node": ">= 10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release --pipe \"prettier -w\"",
"build:debug": "napi build --platform --pipe \"prettier -w\"",
"format": "run-p format:prettier format:rs",
"format:prettier": "prettier . -w",
"format:rs": "cargo fmt",
"lint": "eslint . -c ./.eslintrc.yml",
"prepublishOnly": "napi prepublish --skip-gh-release",
"version": "napi version"
},
"devDependencies": {
"@napi-rs/cli": "^2.15.2",
"@swc-node/register": "^1.6.5",
"@swc/core": "^1.3.56",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"benny": "^3.7.1",
"chalk": "^5.2.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"typescript": "^5.0.4"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"eslint -c .eslintrc.yml --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"packageManager": "yarn@3.3.0"
}