forked from gcampax/decoders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
144 lines (144 loc) · 4.2 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": "decoders",
"version": "2.0.4",
"description": "Elegant and battle-tested validation library for type-safe input data (for TypeScript and Flow)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/nvie/decoders.git"
},
"author": "Vincent Driessen",
"homepage": "https://github.com/nvie/decoders#readme",
"bugs": {
"url": "https://github.com/nvie/decoders/issues"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"actually-prepublish": "echo \"\\n\\nPlease run \\`bin/publish.sh <options>\\` instead.\\n\\n\" && exit 2",
"build": "./bin/build.sh",
"check": "npm run check:eslint && npm run check:prettier",
"check:docs": "cog -c --check docs/*.md || (npm run docs; git diff; echo 'Error: docs not up-to-date, please re-run \"npm docs\" to update them.' && exit 1)",
"check:eslint": "eslint --report-unused-disable-directives src",
"check:prettier": "prettier --list-different 'src/**/*.js'",
"clean": "rimraf dist",
"docs": "cog -cr docs/*.md",
"fix": "npm run fix:eslint && npm run fix:prettier",
"fix:eslint": "eslint --report-unused-disable-directives --fix src",
"fix:prettier": "prettier --write 'src/**/*.js'",
"prepublish": "in-publish && npm run actually-prepublish || not-in-publish",
"test": "npm run clean && npm run test:flow && npm run test:typescript && npm run test:jest && npm run test:completeness && npm run check",
"test:completeness": "./bin/check.sh",
"test:flow": "flow check",
"test:jest": "jest --coverage --coverageThreshold '{\"global\": {\"branches\": 100, \"functions\": 100, \"lines\": 100, \"statements\": 100}}'",
"test:typescript": "dtslint --localTs node_modules/typescript/lib src/types",
"watch": "jest --watch"
},
"files": [
"dist/"
],
"keywords": [
"decoders",
"Decoder",
"always",
"and",
"array",
"boolean",
"then",
"compose",
"constant",
"date",
"decode",
"decoder",
"decoders",
"define",
"describe",
"dict",
"either",
"email",
"exact",
"fail",
"hardcoded",
"httpsUrl",
"inexact",
"instanceOf",
"integer",
"iso8601",
"json",
"jsonArray",
"jsonObject",
"lazy",
"map",
"mapping",
"maybe",
"mixed",
"mixedarray",
"never",
"nonEmptyArray",
"nonEmptyString",
"nullable",
"null_",
"number",
"numericBoolean",
"object",
"oneOf",
"optional",
"poja",
"pojo",
"positiveInteger",
"positiveNumber",
"predicate",
"prep",
"regex",
"set",
"string",
"taggedUnion",
"transform",
"truthy",
"tuple",
"tuple2",
"undefined_",
"unknown",
"url",
"uuid",
"uuidv1",
"uuidv4",
"verify",
"DecodeResult",
"DecoderType",
"JSONArray",
"JSONObject",
"JSONValue"
],
"devDependencies": {
"@babel/cli": "^7.22.5",
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-flow": "^7.22.5",
"babel-eslint": "^10.1.0",
"coveralls": "^3.1.1",
"dtslint": "^4.2.1",
"eslint": "^7.32.0",
"eslint-plugin-flowtype": "^6.1.1",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"flow-bin": "^0.180.1",
"flow-copy-source": "^2.0.9",
"flow-typed": "^3.7.0",
"in-publish": "^2.0.1",
"itertools": "^1.7.1",
"jest": "^28.1.1",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"typescript": "^4.7.4"
},
"githubUrl": "https://github.com/nvie/decoders",
"jest": {
"testPathIgnorePatterns": [
"node_modules",
"fixtures.js",
".skip.js"
]
},
"sideEffects": false
}