Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.13 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
{
"name": "camaro",
"version": "6.7.3",
"description": "Transforming XML to JSON using Node.js binding to native pugixml parser library",
"homepage": "https://github.com/tuananh/camaro",
"bugs": "https://github.com/tuananh/camaro/issues",
"main": "index.js",
"typings": "index.d.ts",
"engines": {
"node": ">= 20.x"
},
"scripts": {
"test": "tape test/*.test.js",
"format": "npm run format:cpp && npm run format:js",
"format:check": "npm run format:cpp:check && npm run format:js:check",
"format:cpp": "clang-format -i src/*.h src/*.hpp src/*.cpp",
"format:cpp:check": "clang-format --dry-run --Werror src/*.h src/*.hpp src/*.cpp",
"format:js": "prettier --write \"*.js\" \"*.mjs\" \"*.ts\" \"*.json\" \"benchmark/*.js\" \"test/*.js\" \".github/workflows/*.yaml\"",
"format:js:check": "prettier --check \"*.js\" \"*.mjs\" \"*.ts\" \"*.json\" \"benchmark/*.js\" \"test/*.js\" \".github/workflows/*.yaml\"",
"bench:all": "node benchmark/transform.js",
"bench:baseline": "node benchmark/baseline.js",
"bench:to-json": "node benchmark/to-json.js",
"install-deps": "napa",
"build": "./build.sh",
"gen-esm": "gen-esm-wrapper . ./index.mjs"
},
"exports": {
".": {
"require": "./index.js",
"import": "./index.mjs",
"types": "./index.d.ts"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/tuananh/camaro.git"
},
"files": [
"index.js",
"index.mjs",
"index.d.ts",
"lean-pool.js",
"sab-ipc.js",
"pool-worker.js",
"json-parse.js",
"worker.js",
"dist/camaro.js",
"dist/camaro.wasm"
],
"keywords": [
"xpath",
"json",
"transform",
"pugixml",
"xml",
"parser",
"n-api",
"xml2json",
"webassembly",
"wasm"
],
"author": "Tuan Anh Tran <me@tuananh.org> (https://tuananh.org)",
"license": "MIT",
"napa": {
"pugixml": "tuananh/pugixml#2e2283336364c2a55e07b6384334f64a09f3f8b0"
},
"napa-config": {
"cache": false
},
"devDependencies": {
"fast-xml-parser": "^5.2.5",
"gen-esm-wrapper": "^1.1.3",
"mitata": "^1.0.34",
"napa": "^3.0.0",
"prettier": "^3.9.6",
"tape": "^5.4.0",
"txml": "^6.0.0",
"xml-js": "^1.6.11",
"xml2js": "^0.6.0"
},
"dependencies": {}
}