forked from typestack/class-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.04 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
{
"name": "class-validator",
"version": "0.13.2",
"description": "Decorator-based property validation for classes.",
"author": "TypeStack contributors",
"license": "MIT",
"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-validator.git"
},
"tags": [
"validator",
"validation",
"decorators",
"typescript"
],
"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"
},
"dependencies": {
"libphonenumber-js": "^1.9.49",
"validator": "^13.7.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.18",
"@types/validator": "^13.7.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^26.1.1",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^12.3.4",
"prettier": "^2.5.1",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rollup": "^2.67.2",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^26.5.6",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
}
}