/
package.json
79 lines (79 loc) · 2.78 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
{
"name": "@votingworks/types",
"version": "1.0.0",
"private": true,
"description": "Schema definitions for shared VotingWorks types.",
"license": "GPL-3.0",
"author": "VotingWorks Eng <eng@voting.works>",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
"build"
],
"scripts": {
"type-check": "tsc --build",
"build": "tsc --build tsconfig.build.json",
"clean": "rm -rf build tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
"lint": "pnpm type-check && eslint .",
"lint:fix": "pnpm type-check && eslint . --fix",
"test": "is-ci test:ci test:watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --coverage --reporters=default --reporters=jest-junit --maxWorkers=7",
"test:watch": "jest --watch",
"pre-commit": "lint-staged",
"cdf:ballot-definition:build-schema": "cdf-schema-builder data/cdf/ballot-definition/nist-schema.xsd src/cdf/ballot-definition/vx-schema.json > src/cdf/ballot-definition/index.ts",
"cdf:cvr:build-schema": "cdf-schema-builder data/cdf/cast-vote-records/nist-schema.xsd src/cdf/cast-vote-records/vx-schema.json > src/cdf/cast-vote-records/index.ts",
"cdf:logging:build-schema": "cdf-schema-builder data/cdf/election-event-logging/nist-schema.xsd data/cdf/election-event-logging/nist-schema.json > src/cdf/election-event-logging/index.ts"
},
"lint-staged": {
"*.+(css|graphql|json|less|md|mdx|sass|scss|yaml|yml)": [
"prettier --write"
],
"*.+(js|jsx|ts|tsx)": [
"eslint --quiet --fix"
],
"package.json": [
"sort-package-json"
]
},
"dependencies": {
"@antongolub/iso8601": "^1.2.1",
"@votingworks/basics": "workspace:*",
"js-sha256": "^0.9.0",
"luxon": "^3.0.0",
"util": "^0.12.4",
"zod": "3.14.4"
},
"devDependencies": {
"@types/jest": "^27.0.3",
"@types/kiosk-browser": "workspace:*",
"@types/luxon": "^3.0.0",
"@types/node": "16.11.29",
"@types/react": "17.0.39",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"@votingworks/cdf-schema-builder": "workspace:*",
"ajv": "^8.12.0",
"ajv-draft-04": "^1.0.0",
"esbuild-runner": "^2.2.1",
"eslint": "8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vx": "workspace:*",
"fast-check": "^2.19.0",
"fast-glob": "^3.2.11",
"is-ci-cli": "^2.2.0",
"jest": "^29.4.2",
"jest-junit": "^15.0.0",
"jest-watch-typeahead": "^2.2.2",
"lint-staged": "^11.0.0",
"prettier": "^2.6.2",
"sort-package-json": "^1.50.0",
"ts-jest": "^29.0.5",
"typescript": "4.6.3"
},
"packageManager": "pnpm@7.24.3"
}