-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 2.71 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 2.71 KB
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
{
"name": "ajv-openapi",
"version": "2.0.0",
"description": "Ajv plugin to add Open API v3 data type formats support",
"author": "Touchify <dev@touchify.co>",
"license": "MIT",
"main": "index.js",
"homepage": "https://github.com/touchifyapp/ajv-openapi#readme",
"repository": {
"type": "git",
"url": "https://github.com/touchifyapp/ajv-openapi"
},
"files": [
"*.js",
"*.d.ts",
"lib/**/*.js",
"lib/**/*.d.ts"
],
"scripts": {
"build": "npm run clean && npm run lint && npm run build:ts",
"build:ts": "tsc -p .",
"test": "npm run clean && npm run lint && npm run test:jest",
"test:jest": "jest",
"test:coverage": "npm run test -- -- --coverage",
"test:ci": "npm run test:coverage -- --ci",
"lint": "npm run lint:ts",
"lint:ts": "eslint --ext .ts *.ts lib/**/*.ts",
"clean": "npm run clean:ts",
"clean:ts": "rimraf *.{js,d.ts} lib/**/*.{js,d.ts}",
"preversion": "npm run lint",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm test && npm run build"
},
"dependencies": {
"decimal.js": "^10.2.0"
},
"devDependencies": {
"ajv": "^6.12.2",
"@types/jest": "^25.2.1",
"@types/node": "^12.0.0",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"eslint": "^6.8.0",
"jest": "^25.4.0",
"rimraf": "^3.0.2",
"ts-jest": "^25.4.0",
"typescript": "^3.8.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/tests/**/*.spec.ts"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
"./tsconfig.json",
"./tests/tsconfig.json"
]
},
"env": {
"node": true
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": [
"off"
],
"@typescript-eslint/no-use-before-define": [
"error",
{
"functions": false,
"classes": false,
"typedefs": false
}
],
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowExpressions": true
}
],
"@typescript-eslint/array-type": [
"error",
{
"default": "array-simple",
"readonly": "array-simple"
}
],
"@typescript-eslint/no-var-requires": [
"off"
],
"@typescript-eslint/no-namespace": [
"off"
],
"no-inner-declarations": [
"off"
]
}
}
}