This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
144 lines (144 loc) · 4.94 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "enketo-transformer",
"version": "3.0.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-transformer/issues",
"email": "martijn@enketo.org"
},
"author": {
"name": "Martijn van de Rijdt",
"email": "martijn@enketo.org",
"url": "https://www.linkedin.com/in/martijnvanderijdt"
},
"engines": {
"node": ">=14 <17",
"npm": ">=6 <7"
},
"contributors": [],
"scripts": {
"benchmarks": "vite-node ./test/benchmarks.ts",
"build": "EMPTY_OUT_DIR=true vite build && ENV=web vite build && npm run tsc",
"prepare": "npm run build",
"start": "vite-node ./src/app.ts",
"eslint-check": "eslint src/**/*.ts vite.config.ts test/**/*.ts",
"eslint-fix": "eslint src/**/*.ts vite.config.ts test/**/*.ts --fix",
"prettier-fix": "prettier --write .",
"test": "vitest run --coverage && npm run prettier-fix && npm run eslint-fix && npm run tsc && node update-readme-with-shield-badge.cjs",
"test:watch": "vitest",
"test:watch:web": "ENV=web vitest",
"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-transformer.git"
},
"keywords": [
"Enketo",
"ODK",
"OpenRosa",
"XSLT",
"XSL",
"Transformer"
],
"dependencies": {
"body-parser": "^1.20.2",
"css.escape": "^1.5.1",
"express": "^4.18.2",
"language-tags": "1.0.5",
"linkedom": "^0.14.26",
"prettier": "^2.8.8",
"string-direction": "0.1.x",
"undici": "^5.23.0",
"xpath-to-css": "^1.1.0"
},
"devDependencies": {
"@prettier/plugin-xml": "^2.2.0",
"@types/benchmark": "^2.1.2",
"@types/css.escape": "^1.5.0",
"@types/express": "^4.17.17",
"@types/node": "^18.17.5",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitest/coverage-istanbul": "^0.28.5",
"benchmark": "^2.1.4",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"docdash": "^1.2.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsdoc": "^36.1.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^40.1.0",
"eslint-plugin-vitest": "0.0.21",
"grunt": "^1.6.1",
"http-server": "^13.1.0",
"istanbul-reporter-shield-badge": "^1.2.1",
"libxslt": "0.10.2",
"markdown-eslint-parser": "^1.2.1",
"microtime": "^3.1.1",
"playwright": "1.25.0",
"pretty-format": "^29.6.2",
"rimraf": "^3.0.2",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vite-node": "^0.28.5",
"vite-plugin-node": "^1.0.0",
"vitest": "^0.28.5"
},
"peerDependencies": {
"libxslt": "0.10.2"
},
"peerDependenciesMeta": {
"libxslt": {
"optional": true
}
},
"volta": {
"node": "16.5.0",
"npm": "6.14.13"
}
}