forked from faga295/napi-tokei
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 3.12 KB
/
package.json
File metadata and controls
131 lines (131 loc) · 3.12 KB
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
121
122
123
124
125
126
127
128
129
130
131
{
"name": "@kitschpatrol/tokei",
"version": "2.0.1",
"description": "Node bindings for Tokei, a fast code counting tool.",
"keywords": [
"tokei",
"loc",
"lines-of-code",
"code-stats",
"napi",
"napi-rs",
"node-addon",
"node-addon-api",
"rust",
"npm-package"
],
"homepage": "https://github.com/kitschpatrol/napi-tokei",
"repository": {
"type": "git",
"url": "git+https://github.com/kitschpatrol/napi-tokei.git"
},
"license": "MIT",
"author": {
"name": "Eric Mika",
"email": "eric@ericmika.com",
"url": "https://ericmika.com"
},
"sideEffects": false,
"type": "commonjs",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.d.ts",
"index.js"
],
"scripts": {
"artifacts": "napi artifacts",
"bench": "node --import @oxc-node/core/register benchmark/bench.ts",
"build:debug": "node ./scripts/build.mjs",
"build": "node ./scripts/build.mjs --release",
"clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
"format:prettier": "prettier . -w",
"format:readme": "mdat",
"format:rs": "cargo fmt",
"format:toml": "taplo format",
"format": "run-p format:prettier format:rs format:toml format:readme",
"lint:oxlint": "oxlint",
"lint:readme": "mdat check",
"lint": "run-p lint:oxlint lint:readme",
"prepublishOnly": "napi prepublish -t npm",
"test": "ava",
"version": "napi version",
"release": "bumpp --commit %s"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
"*.toml": [
"taplo format"
]
},
"ava": {
"environmentVariables": {
"TS_NODE_PROJECT": "./tsconfig.json"
},
"extensions": {
"ts": "module"
},
"files": [
"__test__/**/*.spec.ts"
],
"nodeArguments": [
"--import",
"@oxc-node/core/register"
],
"timeout": "2m",
"workerThreads": false
},
"devDependencies": {
"@kitschpatrol/remark-config": "^7.0.2",
"@napi-rs/cli": "^3.6.0",
"@oxc-node/core": "^0.1.0",
"@taplo/cli": "^0.7.0",
"ava": "^7.0.0",
"bumpp": "^11.0.1",
"chalk": "^5.6.2",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"mdat": "^2.2.0",
"npm-run-all2": "^8.0.4",
"oxlint": "^1.58.0",
"prettier": "^3.8.1",
"tinybench": "^6.0.0",
"typescript": "^5.9.3"
},
"packageManager": "pnpm@10.33.0",
"engines": {
"node": ">= 18"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"prettier": {
"arrowParens": "always",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"napi": {
"binaryName": "tokei",
"targets": [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"i686-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"x86_64-unknown-freebsd"
]
}
}