generated from muturgan/my-typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
66 lines (66 loc) · 2.06 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
{
"name": "fastest-express-validator",
"version": "2.0.2",
"description": "request validation middleware for express",
"author": "Andrey Sakharov <[email protected]> (https://www.linkedin.com/in/andrey-sakharov/)",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/es6/index.mjs",
"typings": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/es6/index.mjs",
"types": "./dist/index.d.ts"
}
},
"engines": {
"node": ">=14.21.3",
"npm": ">=6.14.18"
},
"scripts": {
"build": "npm run build_cjs && npm run build_es6 && npm run patch_typings",
"build_cjs": "tsc -p tsconfig.json && mv dist/index.js dist/index.cjs && node tools/cjs_cleanup.cjs",
"build_es6": "tsc -p tsconfig.es6.json && mv dist/es6/index.js dist/es6/index.mjs",
"patch_typings": "node tools/referencer.cjs",
"lint_ci": "tslint 'src/**/*.ts'",
"lint_staged": "lint-staged",
"audit": "npm audit | grep 'found' | grep -E 'moderate|high|critical' && exit 1 || exit 0",
"test": "node --test",
"test_coverage": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter=tap --test-reporter-destination=stdout --test-reporter-destination=coverage.txt",
"prebuild": "rm -rf dist || npx rimraf dist",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/muturgan/fastest-express-validator.git"
},
"keywords": [
"express",
"validation",
"validators",
"validate",
"schema"
],
"bugs": {
"url": "https://github.com/muturgan/fastest-express-validator/issues"
},
"homepage": "https://github.com/muturgan/fastest-express-validator#readme",
"files": [
"dist",
"!dist/tests/*"
],
"peerDependencies": {
"fastest-validator": "^1.19.0"
},
"devDependencies": {
"@types/express": "^5.0.0",
"@types/node": "^22.13.0",
"express": "^5.0.1",
"fastest-validator": "^1.19.0",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"tslint": "^6.1.3",
"typescript": "^5.7.3"
}
}