forked from enketo/enketo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.49 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "enketo-transformer",
"version": "4.1.1",
"description": "Library that transforms ODK-compliant XForms into a format that Enketo can consume",
"license": "Apache-2.0",
"type": "module",
"main": "./dist/enketo-transformer/transformer.cjs",
"module": "./dist/enketo-transformer/enketo-transformer.js",
"browser": "./dist/enketo-transformer/web/transformer.js",
"types": "./dist/types/src/transformer.d.ts",
"files": [
"app.js",
"dist/**/*"
],
"exports": {
".": {
"import": "./dist/enketo-transformer/enketo-transformer.js",
"require": "./dist/enketo-transformer/transformer.cjs",
"browser": "./dist/enketo-transformer/web/transformer.js",
"types": "./dist/types/src/transformer.d.ts"
},
"./dom": {
"import": "./dist/enketo-transformer/dom/node/index.js",
"require": "./dist/enketo-transformer/dom/node/index.cjs",
"browser": "./dist/dom/web/index.js",
"types": "./dist/types/src/dom/node/index.d.ts"
},
"./web": {
"types": "./dist/enketo-transformer/web/src/transformer.d.ts",
"default": "./dist/enketo-transformer/web/transformer.js"
}
},
"typesVersions": {
"*": {
"web": [
"./dist/enketo-transformer/web/src/transformer.d.ts"
]
}
},
"bugs": {
"url": "https://github.com/enketo/enketo/issues"
},
"scripts": {
"benchmarks": "vite-node ./test/benchmarks.ts",
"build": "EMPTY_OUT_DIR=true vite build && ENV=web vite build && yarn tsc && echo 'enketo-transformer build complete'",
"prepare": "yarn build",
"test": "vitest run --coverage && yarn tsc && node update-readme-with-shield-badge.cjs",
"test:watch": "vitest",
"test:watch:web": "ENV=web vitest",
"test:web": "ENV=web vitest run",
"develop": "DEBUG=api,transformer,markdown,language vite-node ./src/app.ts & http-server test/forms -p 8081",
"tsc": "tsc --project ./tsconfig.json && tsc --project ./tsconfig.web.json && tsc --project ./test/tsconfig.json"
},
"repository": {
"type": "git",
"url": "https://github.com/enketo/enketo"
},
"keywords": [
"Enketo",
"ODK",
"OpenRosa",
"XSLT",
"XSL",
"Transformer"
],
"dependencies": {
"body-parser": "^1.20.3",
"css.escape": "^1.5.1",
"express": "^4.21.0",
"language-tags": "1.0.5",
"linkedom": "^0.14.26",
"string-direction": "0.1.x",
"undici": "^5.28.4",
"xpath-to-css": "^1.1.0"
},
"devDependencies": {
"@prettier/sync": "^0.3.0",
"@prettier/plugin-xml": "^3.2.0",
"@types/benchmark": "^2.1.2",
"@types/css.escape": "^1.5.0",
"@types/prettier": "^3.0.0",
"benchmark": "^2.1.4",
"http-server": "^13.1.0",
"libxslt": "0.10.2",
"pretty-format": "^29.6.2"
},
"peerDependencies": {
"libxslt": "0.10.2"
},
"peerDependenciesMeta": {
"libxslt": {
"optional": true
}
},
"resolutions": {
"nan": "^2.17.0",
"libxslt/nan": "^2.17.0",
"node1-libxmljsmt-myh/nan": "^2.17.0"
},
"engines": {
"node": ">=18 <21",
"npm": "please-use-yarn",
"yarn": ">= 1.22.22 <2"
},
"volta": {
"node": "20.17.0",
"yarn": "1.22.22"
}
}