forked from CMSgov/hpt-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.01 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
{
"name": "hpt-validator",
"version": "1.3.1",
"author": "CMS Open Source <[email protected]>",
"license": "CC0-1.0",
"description": "Validation library for CMS Hospital Price Transparency machine-readable files",
"type": "module",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"require": "./lib/index.js",
"import": "./lib/index.js"
},
"./lib/*": "./lib/*.js",
"./src/*": "./src/*.ts"
},
"scripts": {
"build": "npx tsc",
"lint": "npx tsc && eslint \"**/*.{js,ts}\"",
"lint:fix": "npx tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"prettier": "prettier --check \"**/*.{js,ts}\"",
"prettier:fix": "prettier --write \"**/*.{js,ts}\"",
"test": "ava",
"prepublish": "npx tsc"
},
"dependencies": {
"@streamparser/json": "^0.0.17",
"@types/node": "^20.2.5",
"@types/papaparse": "^5.3.7",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"papaparse": "^5.4.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"ava": "^5.2.0",
"eslint": "^8.37.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"esm": "^3.2.25",
"prettier": "^3.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
},
"ava": {
"files": [
"test/**/*.spec.*"
],
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm",
"--experimental-specifier-resolution=node"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier"
],
"plugins": [
"prettier"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"ignorePatterns": [
"node_modules/",
"lib/"
]
},
"prettier": {
"endOfLine": "lf",
"semi": false,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5"
}
}