-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
111 lines (111 loc) · 2.61 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": "@abraham/reflection",
"version": "0.12.0",
"description": "Lightweight ES Module implementation of reflect-metadata",
"type": "module",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
},
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc && rollup -c",
"clean": "rimraf dist",
"format": "prettier . --write",
"lint:eslint": "eslint src --ext .ts",
"lint:prettier": "prettier . --check",
"lint": "npm run lint:eslint && npm run lint:prettier",
"pkg-ok": "pkg-ok",
"prebuild": "npm run clean",
"prepare": "npm run build",
"prepublishOnly": "npm run pkg-ok",
"start": "jest --watch",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/abraham/reflection.git"
},
"keywords": [
"typescript",
"reflect",
"reflect-metadata",
"metadata",
"lightweight",
"micro",
"library",
"decorator"
],
"author": "Abraham Williams <4braham@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/abraham/reflection/issues"
},
"homepage": "https://github.com/abraham/reflection#readme",
"devDependencies": {
"pkg-ok": "^3.0.0",
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.0",
"eslint-plugin-import": "^2.0.0",
"eslint-plugin-jest": "^27.0.0",
"jest": "^29.0.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"rollup": "^3.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.3"
},
"jest": {
"collectCoverage": true,
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"jest"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:import/errors",
"plugin:import/typescript"
],
"rules": {
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"Function": false
},
"extendDefaults": true
}
]
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
}
}