xlsform2lstsv 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "xlsform2lstsv",
3
+ "version": "0.2.0",
4
+ "description": "Convert XLSForm surveys to LimeSurvey TSV format",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./dist/index.js",
10
+ "require": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
14
+ "scripts": {
15
+ "build": "tsc",
16
+ "watch": "tsc --watch",
17
+ "clean": "rm -rf dist",
18
+ "prepublishOnly": "npm run clean && npm run build",
19
+ "test": "vitest run",
20
+ "test:watch": "vitest",
21
+ "test:ui": "vitest --ui",
22
+ "test:coverage": "vitest run --coverage",
23
+ "fixtures:generate": "npm run build && node dist/generateFixtures.js",
24
+ "fixtures:clean": "rm -rf docker_tests/integration/output/*.tsv",
25
+ "test:integration": "cd docker_tests/integration && docker-compose up -d --wait && cd ../.. && npm run fixtures:generate && cd docker_tests/integration && uv run pytest; EXIT=$?; docker-compose down -v; exit $EXIT",
26
+ "test:all": "npm run test && npm run test:integration",
27
+ "test-compatibility": "node scripts/run-ts.js test-compatibility-safe",
28
+ "prepare": "husky install",
29
+ "lint": "eslint src --ext .ts",
30
+ "lint:fix": "eslint src --ext .ts --fix",
31
+ "lint:commits": "commitlint --from HEAD~1"
32
+ },
33
+ "keywords": [
34
+ "xlsform",
35
+ "limesurvey",
36
+ "survey",
37
+ "converter",
38
+ "tsv"
39
+ ],
40
+ "author": "",
41
+ "license": "ISC",
42
+ "type": "module",
43
+ "engines": {
44
+ "node": ">=20.0.0",
45
+ "npm": ">=10.0.0"
46
+ },
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "https://github.com/CorrelAid/xlsform2lstsv"
50
+ },
51
+ "files": [
52
+ "dist",
53
+ "README.md"
54
+ ],
55
+ "dependencies": {
56
+ "js-xpath": "github:jstet/js-xpath",
57
+ "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
58
+ },
59
+ "devDependencies": {
60
+ "@commitlint/cli": "^19.5.0",
61
+ "@commitlint/config-conventional": "^19.5.0",
62
+ "@types/node": "^25.0.10",
63
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
64
+ "@typescript-eslint/parser": "^8.54.0",
65
+ "@vitest/coverage-v8": "^4.0.18",
66
+ "@vitest/ui": "^4.0.18",
67
+ "eslint": "^9.39.2",
68
+ "eslint-config-prettier": "^10.1.8",
69
+ "eslint-plugin-import": "^2.32.0",
70
+ "husky": "^9.1.6",
71
+ "ts-node": "^10.9.2",
72
+ "tsx": "^4.21.0",
73
+ "typescript": "^5.7.3",
74
+ "vitest": "^4.0.18"
75
+ }
76
+ }