forked from luciorubeens/json-typescript-mapper
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
111 lines (111 loc) · 2.64 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
{
"name": "@dhkatz/json-ts",
"version": "4.4.1",
"description": "Transform JSON objects into TypeScript classes.",
"keywords": [
"json-mapper",
"typescript-json",
"json-adapter",
"json-transformer",
"api-mapper",
"api-adapter"
],
"author": "Ailun She, Brian Choi, David Katz",
"license": "MIT",
"bugs": {
"url": "https://github.com/dhkatz/json-ts/issues"
},
"homepage": "https://github.com/dhkatz/json-ts#readme",
"directories": {
"lib": "lib",
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dhkatz/json-ts.git"
},
"main": "lib/index.js",
"types": "typings/index.d.ts",
"files": [
"lib/**/*",
"typings/**/*",
"src/**/*"
],
"dependencies": {
"reflect-metadata": "^0.1.3"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"coveralls": "^3.1.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.11.0",
"jest": "^26.4.2",
"ts-jest": "^26.3.0",
"typescript": "^4.0.2"
},
"scripts": {
"test": "jest --verbose=false",
"coverage": "jest --coverage && coveralls < coverage/lcov.info",
"lint": "eslint src/**/* && tsc --noEmit",
"build": "tsc",
"prepublish": "npm run build"
},
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"printWidth": 120,
"semi": true
},
"eslintConfig": {
"env": {
"node": true,
"es6": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"rules": {
"no-dupe-class-members": "off",
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/no-parameter-properties": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-use-before-define": [
"error",
{
"functions": false
}
]
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/test"
],
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.(tsx?)$",
"testPathIgnorePatterns": [
"/node_modules/",
"/common/"
],
"collectCoverageFrom": [
"!<rootDir>/src/**/util.{ts,tsx}",
"<rootDir>/src/**/*.{ts,tsx}"
]
}
}