-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.79 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
{
"name": "@buddh4/mapped-types",
"version": "1.2.1",
"author": "Julian Harrer",
"description": "Mapped types helper classes for class-validator library",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/lib/index.d.ts",
"publishConfig": {
"access": "public"
},
"keywords": [
"class-validator",
"Helper",
"Mapping"
],
"files": [
"dist/**/*"
],
"scripts": {
"test": "jest",
"test:cov": "jest --coverage --no-cache",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"build": "tsc -p tsconfig.build.json --outDir dist/lib --declarationDir dist/lib --declaration true && rollup -c",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint"
},
"repository": "https://github.com/buddh4/mapped-types",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-typescript": "^9.0.1",
"@types/jest": "^29.0.0",
"jest": "^28.1.3",
"prettier": "^2.7.1",
"reflect-metadata": "^0.1.13",
"rollup": "^2.79.0",
"ts-jest": "^28.0.8",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.8.2"
},
"dependencies": {
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0"
},
"jest": {
"rootDir": "./",
"setupFiles": [
"<rootDir>/jest-setup.ts"
],
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"globals": {
"ts-jest": {
"disableSourceMapSupport": true
}
},
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}