forked from typestack/class-transformer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.27 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
{
"name": "class-transformer",
"version": "0.5.1",
"description": "Proper decorator-based transformation / serialization / deserialization of plain javascript objects to class constructors",
"author": "TypeStack contributors",
"license": "MIT",
"readmeFilename": "README.md",
"sideEffects": false,
"main": "./cjs/index.js",
"module": "./esm5/index.js",
"es2015": "./esm2015/index.js",
"typings": "./types/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/typestack/class-transformer.git"
},
"tags": [
"serialization",
"deserialization",
"serializer",
"typescript",
"object-to-class",
"typescript-serializer"
],
"scripts": {
"build": "npm run build:cjs",
"build:clean": "rimraf build",
"build:es2015": "tsc --project tsconfig.prod.esm2015.json",
"build:esm5": "tsc --project tsconfig.prod.esm5.json",
"build:cjs": "tsc --project tsconfig.prod.cjs.json",
"build:umd": "rollup --config rollup.config.js",
"build:types": "tsc --project tsconfig.prod.types.json",
"prettier:fix": "prettier --write \"**/*.{ts,md}\"",
"prettier:check": "prettier --check \"**/*.{ts,md}\"",
"lint:fix": "eslint --max-warnings 0 --fix --ext .ts src/",
"lint:check": "eslint --max-warnings 0 --ext .ts src/",
"test": "jest --coverage --verbose",
"test:watch": "jest --watch",
"test:ci": "jest --runInBand --no-cache --coverage --verbose"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.md": [
"npm run prettier:fix"
],
"*.ts": [
"npm run prettier:fix"
]
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-node-resolve": "^15.2.2",
"@types/jest": "^27.5.0",
"@types/node": "^20.8.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^26.8.7",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^14.0.1",
"prettier": "^2.8.8",
"reflect-metadata": "0.1.13",
"rimraf": "5.0.5",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^26.5.6",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
}
}