koatty 3.6.8-0 → 3.6.9

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,63 @@
1
+ /*
2
+ * @Description:
3
+ * @Usage:
4
+ * @Author: richen
5
+ * @Date: 2021-12-17 10:20:44
6
+ * @LastEditTime: 2022-05-27 11:50:23
7
+ */
8
+ import json from "@rollup/plugin-json";
9
+ import typescript from 'rollup-plugin-typescript2';
10
+ // import babel from '@rollup/plugin-babel';
11
+
12
+ export default [
13
+ {
14
+ input: './src/index.ts',
15
+ output: [{
16
+ format: 'cjs',
17
+ file: './dist/index.js',
18
+ banner: require('./scripts/copyright')
19
+ }],
20
+ plugins: [
21
+ // babel({
22
+ // babelHelpers: "runtime",
23
+ // configFile: './babel.config.js',
24
+ // exclude: 'node_modules/**',
25
+ // }),
26
+ json(),
27
+ typescript({
28
+ tsconfigOverride: {
29
+ compilerOptions: {
30
+ declaration: false,
31
+ declarationMap: false,
32
+ module: "ESNext"
33
+ }
34
+ }
35
+ })
36
+ ]
37
+ },
38
+ {
39
+ input: './src/index.ts',
40
+ output: [{
41
+ format: 'es',
42
+ file: './dist/index.mjs',
43
+ banner: require('./scripts/copyright')
44
+ }],
45
+ plugins: [
46
+ // babel({
47
+ // babelHelpers: "runtime",
48
+ // configFile: './babel.config.js',
49
+ // exclude: 'node_modules/**',
50
+ // }),
51
+ json(),
52
+ typescript({
53
+ tsconfigOverride: {
54
+ compilerOptions: {
55
+ declaration: false,
56
+ declarationMap: false,
57
+ module: "ESNext"
58
+ }
59
+ }
60
+ })
61
+ ]
62
+ }
63
+ ]
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [3.6.9](https://github.com/thinkkoa/koatty/compare/v3.6.8...v3.6.9) (2022-07-27)
6
+
7
+ ### [3.6.8](https://github.com/thinkkoa/koatty/compare/v3.6.8-2...v3.6.8) (2022-05-27)
8
+
9
+ ### [3.6.8-2](https://github.com/thinkkoa/koatty/compare/v3.6.8-1...v3.6.8-2) (2022-03-15)
10
+
11
+ ### [3.6.8-1](https://github.com/thinkkoa/koatty/compare/v3.6.8-0...v3.6.8-1) (2022-03-15)
12
+
5
13
  ### [3.6.8-0](https://github.com/thinkkoa/koatty/compare/v3.6.7...v3.6.8-0) (2022-03-14)
6
14
 
7
15
  ### [3.6.8-0](https://github.com/thinkkoa/koatty/compare/v3.6.7...v3.6.8-0) (2022-03-14)
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2022-03-14 18:27:53
3
+ * @Date: 2022-07-27 18:34:50
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2022-03-14 18:27:34
3
+ * @Date: 2022-07-27 18:34:30
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
@@ -27,21 +27,21 @@ var koatty_payload = require('koatty_payload');
27
27
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
28
28
 
29
29
  function _interopNamespace(e) {
30
- if (e && e.__esModule) return e;
31
- var n = Object.create(null);
32
- if (e) {
33
- Object.keys(e).forEach(function (k) {
34
- if (k !== 'default') {
35
- var d = Object.getOwnPropertyDescriptor(e, k);
36
- Object.defineProperty(n, k, d.get ? d : {
37
- enumerable: true,
38
- get: function () { return e[k]; }
39
- });
40
- }
30
+ if (e && e.__esModule) return e;
31
+ var n = Object.create(null);
32
+ if (e) {
33
+ Object.keys(e).forEach(function (k) {
34
+ if (k !== 'default') {
35
+ var d = Object.getOwnPropertyDescriptor(e, k);
36
+ Object.defineProperty(n, k, d.get ? d : {
37
+ enumerable: true,
38
+ get: function () { return e[k]; }
41
39
  });
42
- }
43
- n["default"] = e;
44
- return Object.freeze(n);
40
+ }
41
+ });
42
+ }
43
+ n["default"] = e;
44
+ return Object.freeze(n);
45
45
  }
46
46
 
47
47
  var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
@@ -847,7 +847,7 @@ class Loader {
847
847
  }
848
848
  }
849
849
 
850
- var version = "3.6.8-0";
850
+ var version = "3.6.9";
851
851
  var engines = {
852
852
  node: ">12.0.0"
853
853
  };
@@ -857,7 +857,7 @@ var engines = {
857
857
  * @Usage:
858
858
  * @Author: richen
859
859
  * @Date: 2021-12-17 11:54:06
860
- * @LastEditTime: 2022-02-23 16:12:34
860
+ * @LastEditTime: 2022-03-15 14:22:45
861
861
  */
862
862
  const KOATTY_VERSION = version;
863
863
  const ENGINES_VERSION = engines.node.slice(1) || '12.0.0';
@@ -1271,16 +1271,16 @@ class BaseService {
1271
1271
  }
1272
1272
 
1273
1273
  Object.defineProperty(exports, 'Helper', {
1274
- enumerable: true,
1275
- get: function () { return koatty_lib.Helper; }
1274
+ enumerable: true,
1275
+ get: function () { return koatty_lib.Helper; }
1276
1276
  });
1277
1277
  Object.defineProperty(exports, 'Config', {
1278
- enumerable: true,
1279
- get: function () { return koatty_config.Config; }
1278
+ enumerable: true,
1279
+ get: function () { return koatty_config.Config; }
1280
1280
  });
1281
1281
  Object.defineProperty(exports, 'Value', {
1282
- enumerable: true,
1283
- get: function () { return koatty_config.Value; }
1282
+ enumerable: true,
1283
+ get: function () { return koatty_config.Value; }
1284
1284
  });
1285
1285
  exports.BaseController = BaseController;
1286
1286
  exports.BaseService = BaseService;
@@ -1297,32 +1297,32 @@ exports.Middleware = Middleware;
1297
1297
  exports.Plugin = Plugin;
1298
1298
  exports.Service = Service;
1299
1299
  Object.keys(koatty_core).forEach(function (k) {
1300
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1301
- enumerable: true,
1302
- get: function () { return koatty_core[k]; }
1303
- });
1300
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1301
+ enumerable: true,
1302
+ get: function () { return koatty_core[k]; }
1303
+ });
1304
1304
  });
1305
1305
  Object.keys(koatty_router).forEach(function (k) {
1306
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1307
- enumerable: true,
1308
- get: function () { return koatty_router[k]; }
1309
- });
1306
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1307
+ enumerable: true,
1308
+ get: function () { return koatty_router[k]; }
1309
+ });
1310
1310
  });
1311
1311
  Object.keys(koatty_container).forEach(function (k) {
1312
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1313
- enumerable: true,
1314
- get: function () { return koatty_container[k]; }
1315
- });
1312
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1313
+ enumerable: true,
1314
+ get: function () { return koatty_container[k]; }
1315
+ });
1316
1316
  });
1317
1317
  Object.keys(koatty_serve).forEach(function (k) {
1318
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1319
- enumerable: true,
1320
- get: function () { return koatty_serve[k]; }
1321
- });
1318
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1319
+ enumerable: true,
1320
+ get: function () { return koatty_serve[k]; }
1321
+ });
1322
1322
  });
1323
1323
  Object.keys(koatty_exception).forEach(function (k) {
1324
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1325
- enumerable: true,
1326
- get: function () { return koatty_exception[k]; }
1327
- });
1324
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
1325
+ enumerable: true,
1326
+ get: function () { return koatty_exception[k]; }
1327
+ });
1328
1328
  });
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2022-03-14 18:27:34
3
+ * @Date: 2022-07-27 18:34:30
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
@@ -827,7 +827,7 @@ class Loader {
827
827
  }
828
828
  }
829
829
 
830
- var version = "3.6.8-0";
830
+ var version = "3.6.9";
831
831
  var engines = {
832
832
  node: ">12.0.0"
833
833
  };
@@ -837,7 +837,7 @@ var engines = {
837
837
  * @Usage:
838
838
  * @Author: richen
839
839
  * @Date: 2021-12-17 11:54:06
840
- * @LastEditTime: 2022-02-23 16:12:34
840
+ * @LastEditTime: 2022-03-15 14:22:45
841
841
  */
842
842
  const KOATTY_VERSION = version;
843
843
  const ENGINES_VERSION = engines.node.slice(1) || '12.0.0';
package/dist/package.json CHANGED
@@ -1,103 +1,98 @@
1
1
  {
2
- "name": "koatty",
3
- "version": "3.6.8-0",
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 -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
- "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": "^12.x.x",
54
- "@commitlint/config-conventional": "^15.x.x",
55
- "@microsoft/api-documenter": "^7.x.x",
56
- "@microsoft/api-extractor": "^7.x.x",
57
- "@rollup/plugin-json": "^4.x.x",
58
- "@types/jest": "^27.x.x",
59
- "@types/koa": "^2.x.x",
60
- "@types/koa__router": "^8.x.x",
61
- "@types/node": "^16.x.x",
62
- "@types/supertest": "^2.x.x",
63
- "@types/ws": "^8.x.x",
64
- "@typescript-eslint/eslint-plugin": "^5.x.x",
65
- "@typescript-eslint/parser": "^5.x.x",
66
- "conventional-changelog-cli": "^2.x.x",
67
- "copyfiles": "^2.x.x",
68
- "del-cli": "^4.x.x",
69
- "eslint": "^8.x.x",
70
- "eslint-plugin-jest": "^25.x.x",
71
- "husky": "^4.x.x",
72
- "jest": "^27.x.x",
73
- "jest-html-reporters": "^2.x.x",
74
- "koatty_cacheable": "^1.x.x",
75
- "koatty_schedule": "^1.x.x",
76
- "koatty_store": "^1.x.x",
77
- "koatty_validation": "^1.x.x",
78
- "rollup": "^2.x.x",
79
- "rollup-plugin-typescript2": "^0.x.x",
80
- "standard-version": "^9.x.x",
81
- "supertest": "^6.x.x",
82
- "ts-jest": "^27.x.x",
83
- "ts-node": "^10.x.x",
84
- "typescript": "^4.x.x"
85
- },
86
- "dependencies": {
87
- "koa": "2.13.4",
88
- "koatty_config": "1.1.2",
89
- "koatty_container": "1.7.7",
90
- "koatty_core": "1.6.5",
91
- "koatty_exception": "1.2.6",
92
- "koatty_lib": "1.2.10",
93
- "koatty_loader": "1.0.2",
94
- "koatty_logger": "1.3.12",
95
- "koatty_payload": "1.3.16",
96
- "koatty_proto": "1.1.6",
97
- "koatty_router": "1.7.5",
98
- "koatty_serve": "1.4.9",
99
- "koatty_trace": "1.6.6",
100
- "reflect-metadata": "0.1.13",
101
- "tslib": "2.3.1"
2
+ "name": "koatty",
3
+ "version": "3.6.9",
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 -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",
13
+ "prerelease": "npm test && npm run build",
14
+ "pub": "git push --follow-tags origin && npm publish",
15
+ "release": "standard-version",
16
+ "release:pre": "npm run release -- --prerelease",
17
+ "release:major": "npm run release -- --release-as major",
18
+ "release:minor": "npm run release -- --release-as minor",
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
+ "directories": {
29
+ "doc": "docs"
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/thinkkoa/koatty.git"
34
+ },
35
+ "engines": {
36
+ "node": ">12.0.0"
37
+ },
38
+ "author": {
39
+ "name": "richenlin",
40
+ "email": "richenlin@gmail.com"
41
+ },
42
+ "license": "BSD-3-Clause",
43
+ "bugs": {
44
+ "url": "https://github.com/thinkkoa/koatty/issues"
45
+ },
46
+ "homepage": "https://github.com/thinkkoa/koatty",
47
+ "maintainers": [
48
+ {
49
+ "name": "richenlin",
50
+ "email": "richenlin@gmail.com"
102
51
  }
52
+ ],
53
+ "devDependencies": {
54
+ "@commitlint/cli": "^17.x.x",
55
+ "@commitlint/config-conventional": "^17.x.x",
56
+ "@microsoft/api-documenter": "^7.x.x",
57
+ "@microsoft/api-extractor": "^7.x.x",
58
+ "@rollup/plugin-json": "^4.x.x",
59
+ "@types/jest": "^27.x.x",
60
+ "@types/koa": "^2.x.x",
61
+ "@types/koa__router": "^8.0.11",
62
+ "@types/node": "^16.x.x",
63
+ "@types/ws": "^8.5.3",
64
+ "@typescript-eslint/eslint-plugin": "^5.x.x",
65
+ "@typescript-eslint/parser": "^5.x.x",
66
+ "conventional-changelog-cli": "^2.x.x",
67
+ "copyfiles": "^2.x.x",
68
+ "del-cli": "^4.x.x",
69
+ "eslint": "^8.x.x",
70
+ "eslint-plugin-jest": "^26.x.x",
71
+ "husky": "^4.x.x",
72
+ "jest": "^28.x.x",
73
+ "jest-html-reporters": "^3.x.x",
74
+ "rollup": "^2.x.x",
75
+ "rollup-plugin-typescript2": "^0.x.x",
76
+ "standard-version": "^9.x.x",
77
+ "ts-jest": "^28.x.x",
78
+ "ts-node": "^10.x.x",
79
+ "typescript": "^4.x.x"
80
+ },
81
+ "dependencies": {
82
+ "koa": "2.13.4",
83
+ "koatty_config": "1.1.5",
84
+ "koatty_container": "1.7.10",
85
+ "koatty_core": "1.6.8",
86
+ "koatty_exception": "1.2.7",
87
+ "koatty_lib": "1.2.12",
88
+ "koatty_loader": "1.0.3",
89
+ "koatty_logger": "1.3.14",
90
+ "koatty_payload": "1.3.18",
91
+ "koatty_proto": "1.1.8",
92
+ "koatty_router": "1.7.6",
93
+ "koatty_serve": "1.4.10",
94
+ "koatty_trace": "1.6.7",
95
+ "reflect-metadata": "0.1.13",
96
+ "tslib": "2.4.0"
97
+ }
103
98
  }
package/package.json CHANGED
@@ -1,103 +1,98 @@
1
1
  {
2
- "name": "koatty",
3
- "version": "3.6.8-0",
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 -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
- "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": "^12.x.x",
54
- "@commitlint/config-conventional": "^15.x.x",
55
- "@microsoft/api-documenter": "^7.x.x",
56
- "@microsoft/api-extractor": "^7.x.x",
57
- "@rollup/plugin-json": "^4.x.x",
58
- "@types/jest": "^27.x.x",
59
- "@types/koa": "^2.x.x",
60
- "@types/koa__router": "^8.x.x",
61
- "@types/node": "^16.x.x",
62
- "@types/supertest": "^2.x.x",
63
- "@types/ws": "^8.x.x",
64
- "@typescript-eslint/eslint-plugin": "^5.x.x",
65
- "@typescript-eslint/parser": "^5.x.x",
66
- "conventional-changelog-cli": "^2.x.x",
67
- "copyfiles": "^2.x.x",
68
- "del-cli": "^4.x.x",
69
- "eslint": "^8.x.x",
70
- "eslint-plugin-jest": "^25.x.x",
71
- "husky": "^4.x.x",
72
- "jest": "^27.x.x",
73
- "jest-html-reporters": "^2.x.x",
74
- "koatty_cacheable": "^1.x.x",
75
- "koatty_schedule": "^1.x.x",
76
- "koatty_store": "^1.x.x",
77
- "koatty_validation": "^1.x.x",
78
- "rollup": "^2.x.x",
79
- "rollup-plugin-typescript2": "^0.x.x",
80
- "standard-version": "^9.x.x",
81
- "supertest": "^6.x.x",
82
- "ts-jest": "^27.x.x",
83
- "ts-node": "^10.x.x",
84
- "typescript": "^4.x.x"
85
- },
86
- "dependencies": {
87
- "koa": "2.13.4",
88
- "koatty_config": "1.1.2",
89
- "koatty_container": "1.7.7",
90
- "koatty_core": "1.6.5",
91
- "koatty_exception": "1.2.6",
92
- "koatty_lib": "1.2.10",
93
- "koatty_loader": "1.0.2",
94
- "koatty_logger": "1.3.12",
95
- "koatty_payload": "1.3.16",
96
- "koatty_proto": "1.1.6",
97
- "koatty_router": "1.7.5",
98
- "koatty_serve": "1.4.9",
99
- "koatty_trace": "1.6.6",
100
- "reflect-metadata": "0.1.13",
101
- "tslib": "2.3.1"
2
+ "name": "koatty",
3
+ "version": "3.6.9",
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 -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",
13
+ "prerelease": "npm test && npm run build",
14
+ "pub": "git push --follow-tags origin && npm publish",
15
+ "release": "standard-version",
16
+ "release:pre": "npm run release -- --prerelease",
17
+ "release:major": "npm run release -- --release-as major",
18
+ "release:minor": "npm run release -- --release-as minor",
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
+ "directories": {
29
+ "doc": "docs"
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/thinkkoa/koatty.git"
34
+ },
35
+ "engines": {
36
+ "node": ">12.0.0"
37
+ },
38
+ "author": {
39
+ "name": "richenlin",
40
+ "email": "richenlin@gmail.com"
41
+ },
42
+ "license": "BSD-3-Clause",
43
+ "bugs": {
44
+ "url": "https://github.com/thinkkoa/koatty/issues"
45
+ },
46
+ "homepage": "https://github.com/thinkkoa/koatty",
47
+ "maintainers": [
48
+ {
49
+ "name": "richenlin",
50
+ "email": "richenlin@gmail.com"
102
51
  }
52
+ ],
53
+ "devDependencies": {
54
+ "@commitlint/cli": "^17.x.x",
55
+ "@commitlint/config-conventional": "^17.x.x",
56
+ "@microsoft/api-documenter": "^7.x.x",
57
+ "@microsoft/api-extractor": "^7.x.x",
58
+ "@rollup/plugin-json": "^4.x.x",
59
+ "@types/jest": "^27.x.x",
60
+ "@types/koa": "^2.x.x",
61
+ "@types/koa__router": "^8.0.11",
62
+ "@types/node": "^16.x.x",
63
+ "@types/ws": "^8.5.3",
64
+ "@typescript-eslint/eslint-plugin": "^5.x.x",
65
+ "@typescript-eslint/parser": "^5.x.x",
66
+ "conventional-changelog-cli": "^2.x.x",
67
+ "copyfiles": "^2.x.x",
68
+ "del-cli": "^4.x.x",
69
+ "eslint": "^8.x.x",
70
+ "eslint-plugin-jest": "^26.x.x",
71
+ "husky": "^4.x.x",
72
+ "jest": "^28.x.x",
73
+ "jest-html-reporters": "^3.x.x",
74
+ "rollup": "^2.x.x",
75
+ "rollup-plugin-typescript2": "^0.x.x",
76
+ "standard-version": "^9.x.x",
77
+ "ts-jest": "^28.x.x",
78
+ "ts-node": "^10.x.x",
79
+ "typescript": "^4.x.x"
80
+ },
81
+ "dependencies": {
82
+ "koa": "2.13.4",
83
+ "koatty_config": "1.1.5",
84
+ "koatty_container": "1.7.10",
85
+ "koatty_core": "1.6.8",
86
+ "koatty_exception": "1.2.7",
87
+ "koatty_lib": "1.2.12",
88
+ "koatty_loader": "1.0.3",
89
+ "koatty_logger": "1.3.14",
90
+ "koatty_payload": "1.3.18",
91
+ "koatty_proto": "1.1.8",
92
+ "koatty_router": "1.7.6",
93
+ "koatty_serve": "1.4.10",
94
+ "koatty_trace": "1.6.7",
95
+ "reflect-metadata": "0.1.13",
96
+ "tslib": "2.4.0"
97
+ }
103
98
  }