koatty 3.9.1 → 3.9.3

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.
package/package.json CHANGED
@@ -1,94 +1,94 @@
1
- {
2
- "name": "koatty",
3
- "version": "3.9.1",
4
- "description": "Koa2 + Typescript = koatty. Use Typescript's decorator implement auto injection.",
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 --bundleConfigAsCjs -c .rollup.config.js",
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 && git push --follow-tags origin",
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
- "test": "npm run eslint && jest --passWithNoTests",
19
- "test:cov": "jest --collectCoverage --detectOpenHandles",
20
- "version": "conventional-changelog -p angular -i CHANGELOG.md -s"
21
- },
22
- "main": "./dist/index.js",
23
- "exports": {
24
- "require": "./dist/index.js",
25
- "import": "./dist/index.mjs"
26
- },
27
- "directories": {
28
- "doc": "docs"
29
- },
30
- "repository": {
31
- "type": "git",
32
- "url": "git+https://github.com/thinkkoa/koatty.git"
33
- },
34
- "engines": {
35
- "node": ">12.0.0"
36
- },
37
- "author": {
38
- "name": "richenlin",
39
- "email": "richenlin@gmail.com"
40
- },
41
- "license": "BSD-3-Clause",
42
- "bugs": {
43
- "url": "https://github.com/thinkkoa/koatty/issues"
44
- },
45
- "homepage": "https://github.com/thinkkoa/koatty",
46
- "maintainers": [
47
- {
48
- "name": "richenlin",
49
- "email": "richenlin@gmail.com"
50
- }
51
- ],
52
- "devDependencies": {
53
- "@commitlint/cli": "^17.x.x",
54
- "@commitlint/config-conventional": "^17.x.x",
55
- "@microsoft/api-documenter": "^7.x.x",
56
- "@microsoft/api-extractor": "^7.x.x",
57
- "@rollup/plugin-json": "^6.x.x",
58
- "@types/jest": "^29.x.x",
59
- "@types/koa": "^2.x.x",
60
- "@types/koa__router": "^12.x.x",
61
- "@types/node": "^18.x.x",
62
- "@types/ws": "^8.x.x",
63
- "@typescript-eslint/eslint-plugin": "^5.x.x",
64
- "@typescript-eslint/parser": "^5.x.x",
65
- "conventional-changelog-cli": "^2.x.x",
66
- "copyfiles": "^2.x.x",
67
- "del-cli": "^4.x.x",
68
- "eslint": "^8.x.x",
69
- "eslint-plugin-jest": "^27.x.x",
70
- "husky": "^4.x.x",
71
- "jest": "^29.x.x",
72
- "jest-html-reporters": "^3.x.x",
73
- "rollup": "^3.x.x",
74
- "rollup-plugin-typescript2": "^0.x.x",
75
- "standard-version": "^9.x.x",
76
- "ts-jest": "^29.x.x",
77
- "ts-node": "^10.x.x",
78
- "typescript": "^4.x.x"
79
- },
80
- "dependencies": {
81
- "koa": "^2.14.2",
82
- "koatty_config": "^1.1.6",
83
- "koatty_container": "^1.8.1",
84
- "koatty_core": "^1.7.8",
85
- "koatty_lib": "^1.3.3",
86
- "koatty_loader": "^1.1.0",
87
- "koatty_logger": "^2.1.1",
88
- "koatty_payload": "^1.4.5",
89
- "koatty_proto": "^1.1.12",
90
- "koatty_serve": "^2.0.4",
91
- "koatty_trace": "^1.9.1",
92
- "koatty_validation": "^1.2.8"
93
- }
94
- }
1
+ {
2
+ "name": "koatty",
3
+ "version": "3.9.3",
4
+ "description": "Koa2 + Typescript = koatty. Use Typescript's decorator implement auto injection.",
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 --bundleConfigAsCjs -c .rollup.config.js",
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 && git push --follow-tags origin",
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
+ "test": "npm run eslint && jest --passWithNoTests",
19
+ "test:cov": "jest --collectCoverage --detectOpenHandles",
20
+ "version": "conventional-changelog -p angular -i CHANGELOG.md -s"
21
+ },
22
+ "main": "./dist/index.js",
23
+ "exports": {
24
+ "require": "./dist/index.js",
25
+ "import": "./dist/index.mjs"
26
+ },
27
+ "directories": {
28
+ "doc": "docs"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/thinkkoa/koatty.git"
33
+ },
34
+ "engines": {
35
+ "node": ">12.0.0"
36
+ },
37
+ "author": {
38
+ "name": "richenlin",
39
+ "email": "richenlin@gmail.com"
40
+ },
41
+ "license": "BSD-3-Clause",
42
+ "bugs": {
43
+ "url": "https://github.com/thinkkoa/koatty/issues"
44
+ },
45
+ "homepage": "https://github.com/thinkkoa/koatty",
46
+ "maintainers": [
47
+ {
48
+ "name": "richenlin",
49
+ "email": "richenlin@gmail.com"
50
+ }
51
+ ],
52
+ "devDependencies": {
53
+ "@commitlint/cli": "^17.x.x",
54
+ "@commitlint/config-conventional": "^17.x.x",
55
+ "@microsoft/api-documenter": "^7.x.x",
56
+ "@microsoft/api-extractor": "^7.x.x",
57
+ "@rollup/plugin-json": "^6.x.x",
58
+ "@types/jest": "^29.x.x",
59
+ "@types/koa": "^2.x.x",
60
+ "@types/koa__router": "^12.x.x",
61
+ "@types/node": "^18.x.x",
62
+ "@types/ws": "^8.x.x",
63
+ "@typescript-eslint/eslint-plugin": "^5.x.x",
64
+ "@typescript-eslint/parser": "^5.x.x",
65
+ "conventional-changelog-cli": "^2.x.x",
66
+ "copyfiles": "^2.x.x",
67
+ "del-cli": "^4.x.x",
68
+ "eslint": "^8.x.x",
69
+ "eslint-plugin-jest": "^27.x.x",
70
+ "husky": "^4.x.x",
71
+ "jest": "^29.x.x",
72
+ "jest-html-reporters": "^3.x.x",
73
+ "rollup": "^3.x.x",
74
+ "rollup-plugin-typescript2": "^0.x.x",
75
+ "standard-version": "^9.x.x",
76
+ "ts-jest": "^29.x.x",
77
+ "ts-node": "^10.x.x",
78
+ "typescript": "^4.x.x"
79
+ },
80
+ "dependencies": {
81
+ "koa": "^2.14.2",
82
+ "koatty_config": "^1.1.6",
83
+ "koatty_container": "^1.8.1",
84
+ "koatty_core": "^1.7.8",
85
+ "koatty_lib": "^1.3.4",
86
+ "koatty_loader": "^1.1.0",
87
+ "koatty_logger": "^2.1.1",
88
+ "koatty_payload": "^1.4.5",
89
+ "koatty_proto": "^1.1.12",
90
+ "koatty_serve": "^2.0.4",
91
+ "koatty_trace": "^1.9.4",
92
+ "koatty_validation": "^1.2.8"
93
+ }
94
+ }
@@ -1,15 +1,15 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "types": [
5
- "jest",
6
- "node"
7
- ]
8
- },
9
- "exclude": [
10
- "node_modules"
11
- ],
12
- "include": [
13
- "test/*.test.ts"
14
- ]
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "types": [
5
+ "jest",
6
+ "node"
7
+ ]
8
+ },
9
+ "exclude": [
10
+ "node_modules"
11
+ ],
12
+ "include": [
13
+ "test/*.test.ts"
14
+ ]
15
15
  }