1 | {
|
2 | "name": "@napi-rs/tar",
|
3 | "version": "0.1.1",
|
4 | "description": "Node.js tar binding https://docs.rs/tar/latest/tar/",
|
5 | "main": "index.js",
|
6 | "browser": "browser.js",
|
7 | "repository": "git@github.com:napi-rs/tar.git",
|
8 | "license": "MIT",
|
9 | "keywords": [
|
10 | "napi-rs",
|
11 | "NAPI",
|
12 | "N-API",
|
13 | "Rust",
|
14 | "node-addon",
|
15 | "node-addon-api"
|
16 | ],
|
17 | "files": [
|
18 | "index.d.ts",
|
19 | "index.js",
|
20 | "browser.js"
|
21 | ],
|
22 | "napi": {
|
23 | "binaryName": "tar",
|
24 | "targets": [
|
25 | "x86_64-pc-windows-msvc",
|
26 | "x86_64-apple-darwin",
|
27 | "x86_64-unknown-linux-gnu",
|
28 | "x86_64-unknown-linux-musl",
|
29 | "aarch64-unknown-linux-gnu",
|
30 | "i686-pc-windows-msvc",
|
31 | "armv7-unknown-linux-gnueabihf",
|
32 | "aarch64-apple-darwin",
|
33 | "aarch64-linux-android",
|
34 | "x86_64-unknown-freebsd",
|
35 | "aarch64-unknown-linux-musl",
|
36 | "aarch64-pc-windows-msvc",
|
37 | "armv7-linux-androideabi",
|
38 | "wasm32-wasi-preview1-threads"
|
39 | ]
|
40 | },
|
41 | "engines": {
|
42 | "node": ">= 10"
|
43 | },
|
44 | "publishConfig": {
|
45 | "registry": "https://registry.npmjs.org/",
|
46 | "access": "public"
|
47 | },
|
48 | "scripts": {
|
49 | "artifacts": "napi artifacts",
|
50 | "bench": "node -r @swc-node/register benchmark/bench.ts",
|
51 | "build": "napi build --platform --release",
|
52 | "build:debug": "napi build --platform",
|
53 | "format": "run-p format:prettier format:rs format:toml",
|
54 | "format:prettier": "prettier . -w",
|
55 | "format:toml": "taplo format",
|
56 | "format:rs": "cargo fmt",
|
57 | "lint": "oxlint .",
|
58 | "prepublishOnly": "napi pre-publish -t npm",
|
59 | "test": "ava",
|
60 | "version": "napi version"
|
61 | },
|
62 | "devDependencies": {
|
63 | "@napi-rs/cli": "^3.0.0-alpha.54",
|
64 | "@napi-rs/lzma": "^1.3.0",
|
65 | "@swc-node/register": "^1.9.0",
|
66 | "@swc/core": "^1.4.17",
|
67 | "@taplo/cli": "^0.7.0",
|
68 | "@types/node": "^20.12.7",
|
69 | "@types/tar": "^6",
|
70 | "ava": "^6.1.2",
|
71 | "chalk": "^5.3.0",
|
72 | "husky": "^9.0.11",
|
73 | "lint-staged": "^15.2.2",
|
74 | "npm-run-all2": "^6.1.2",
|
75 | "oxlint": "^0.3.1",
|
76 | "prettier": "^3.2.5",
|
77 | "tar": "^7.0.1",
|
78 | "tinybench": "^2.8.0",
|
79 | "typescript": "^5.4.5"
|
80 | },
|
81 | "lint-staged": {
|
82 | "*.@(js|ts|tsx)": [
|
83 | "eslint -c .eslintrc.yml --fix"
|
84 | ],
|
85 | "*.@(js|ts|tsx|yml|yaml|md|json)": [
|
86 | "prettier --write"
|
87 | ],
|
88 | "*.toml": [
|
89 | "taplo format"
|
90 | ]
|
91 | },
|
92 | "ava": {
|
93 | "require": [
|
94 | "@swc-node/register"
|
95 | ],
|
96 | "extensions": [
|
97 | "ts"
|
98 | ],
|
99 | "timeout": "2m",
|
100 | "workerThreads": false,
|
101 | "environmentVariables": {
|
102 | "TS_NODE_PROJECT": "./tsconfig.json"
|
103 | }
|
104 | },
|
105 | "prettier": {
|
106 | "printWidth": 120,
|
107 | "semi": false,
|
108 | "trailingComma": "all",
|
109 | "singleQuote": true,
|
110 | "arrowParens": "always"
|
111 | },
|
112 | "packageManager": "yarn@4.1.1",
|
113 | "resolutions": {
|
114 | "@napi-rs/tar": "workspace:*"
|
115 | },
|
116 | "optionalDependencies": {
|
117 | "@napi-rs/tar-win32-x64-msvc": "0.1.1",
|
118 | "@napi-rs/tar-darwin-x64": "0.1.1",
|
119 | "@napi-rs/tar-linux-x64-gnu": "0.1.1",
|
120 | "@napi-rs/tar-linux-x64-musl": "0.1.1",
|
121 | "@napi-rs/tar-linux-arm64-gnu": "0.1.1",
|
122 | "@napi-rs/tar-win32-ia32-msvc": "0.1.1",
|
123 | "@napi-rs/tar-linux-arm-gnueabihf": "0.1.1",
|
124 | "@napi-rs/tar-darwin-arm64": "0.1.1",
|
125 | "@napi-rs/tar-android-arm64": "0.1.1",
|
126 | "@napi-rs/tar-freebsd-x64": "0.1.1",
|
127 | "@napi-rs/tar-linux-arm64-musl": "0.1.1",
|
128 | "@napi-rs/tar-win32-arm64-msvc": "0.1.1",
|
129 | "@napi-rs/tar-android-arm-eabi": "0.1.1",
|
130 | "@napi-rs/tar-wasm32-wasi": "0.1.1"
|
131 | }
|
132 | } |
\ | No newline at end of file |