koatty_validation 1.0.10 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "koatty_validation",
3
+ "version": "1.2.0",
4
+ "description": "Validation Util for Koatty and ThinkORM.",
5
+ "scripts": {
6
+ "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
7
+ "build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
8
+ "build:js": "del-cli --force dist && npx rollup -c",
9
+ "build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
10
+ "build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
11
+ "eslint": "eslint --ext .ts,.js ./",
12
+ "prepublishOnly": "npm test && npm run build",
13
+ "prerelease": "npm test && npm run build",
14
+ "release": "standard-version",
15
+ "release:pre": "npm run release -- --prerelease",
16
+ "release:major": "npm run release -- --release-as major",
17
+ "release:minor": "npm run release -- --release-as minor",
18
+ "pub": "git push --follow-tags origin && npm publish",
19
+ "test": "npm run eslint && jest --passWithNoTests",
20
+ "test:cov": "jest --collectCoverage --detectOpenHandles",
21
+ "version": "conventional-changelog -p angular -i CHANGELOG.md -s"
22
+ },
23
+ "main": "./dist/index.js",
24
+ "exports": {
25
+ "require": "./dist/index.js",
26
+ "import": "./dist/index.mjs"
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/koatty/koatty_validation.git"
31
+ },
32
+ "engines": {
33
+ "node": ">10.0.0"
34
+ },
35
+ "author": {
36
+ "name": "richenlin",
37
+ "email": "richenlin@gmail.com"
38
+ },
39
+ "license": "BSD-3-Clause",
40
+ "bugs": {
41
+ "url": "https://github.com/koatty/koatty_validation/issues"
42
+ },
43
+ "homepage": "https://github.com/koatty/koatty_validation",
44
+ "maintainers": [
45
+ {
46
+ "name": "richenlin",
47
+ "email": "richenlin@gmail.com"
48
+ }
49
+ ],
50
+ "devDependencies": {
51
+ "@microsoft/api-documenter": "^7.x.x",
52
+ "@microsoft/api-extractor": "^7.x.x",
53
+ "@rollup/plugin-json": "^4.x.x",
54
+ "@types/jest": "^27.x.x",
55
+ "@types/koa": "^2.x.x",
56
+ "@types/node": "^16.x.x",
57
+ "@types/validator": "^13.x.x",
58
+ "@typescript-eslint/eslint-plugin": "^5.x.x",
59
+ "@typescript-eslint/parser": "^5.x.x",
60
+ "commitlint": "^15.x.x",
61
+ "commitlint-config-gitmoji": "^2.x.x",
62
+ "conventional-changelog-cli": "^2.x.x",
63
+ "copyfiles": "^2.x.x",
64
+ "del-cli": "^4.x.x",
65
+ "eslint": "^8.x.x",
66
+ "eslint-plugin-jest": "^25.x.x",
67
+ "husky": "^7.x.x",
68
+ "jest": "^27.x.x",
69
+ "jest-html-reporters": "^2.x.x",
70
+ "rollup": "^2.x.x",
71
+ "rollup-plugin-typescript2": "^0.x.x",
72
+ "standard-version": "^9.x.x",
73
+ "ts-jest": "^27.x.x",
74
+ "ts-node": "^10.x.x",
75
+ "typescript": "^4.x.x"
76
+ },
77
+ "dependencies": {
78
+ "class-validator": "^0.13.2",
79
+ "koatty_container": "^1.x.x",
80
+ "koatty_lib": "^1.x.x",
81
+ "koatty_logger": "^1.x.x",
82
+ "reflect-metadata": "^0.1.13",
83
+ "tslib": "^2.3.1"
84
+ },
85
+ "peerDependencies": {
86
+ "koatty_container": "^1.x.x",
87
+ "koatty_lib": "^1.x.x",
88
+ "koatty_logger": "^1.x.x"
89
+ }
90
+ }