utiller 1.0.23

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 ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "utiller",
3
+ "version": "1.0.23",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "jest --coverage",
8
+ "gen": "npx babel ./temp --out-dir ./release/lib",
9
+ "updateUtiller": "npm update utiller --save"
10
+ },
11
+ "author": "davidtu<freshingmoon0725@gmail.com>",
12
+ "license": "ISC",
13
+ "dependencies": {
14
+ "bl": "^4.1.0",
15
+ "configerer": "^1.0.4",
16
+ "crypto-js": "^4.0.0",
17
+ "del": "^6.0.0",
18
+ "fs-extra": "^9.1.0",
19
+ "lodash": "^4.17.20",
20
+ "moment": "^2.29.1",
21
+ "pdf-parse": "^1.1.1",
22
+ "prompt": "^1.1.0"
23
+ },
24
+ "devDependencies": {
25
+ "@babel/cli": "^7.12.8",
26
+ "@babel/core": "^7.12.9",
27
+ "@babel/plugin-proposal-class-properties": "^7.12.1",
28
+ "@babel/plugin-proposal-decorators": "^7.12.1",
29
+ "@babel/plugin-transform-runtime": "^7.12.1",
30
+ "@babel/preset-env": "^7.12.7",
31
+ "@babel/register": "^7.12.1"
32
+ }
33
+ }
@@ -0,0 +1,18 @@
1
+ module.exports = {
2
+ presets: [
3
+ "@babel/preset-env"
4
+ ],
5
+ plugins: [
6
+ [
7
+ "@babel/plugin-proposal-decorators",
8
+ {
9
+ "legacy": true
10
+ }
11
+ ],
12
+ ["@babel/transform-runtime", {
13
+ "regenerator": true
14
+ }],
15
+ ["@babel/plugin-proposal-class-properties"]
16
+ ]
17
+
18
+ };
@@ -0,0 +1,21 @@
1
+ /** "use strict"
2
+ * developer:david
3
+ * email:freshingmoon0725@gmail.com
4
+ * */
5
+
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+
10
+ var _index = require("./lib");
11
+
12
+ Object.keys(_index).forEach(function (key) {
13
+ if (key === "default" || key === "__esModule") return;
14
+ if (key in exports && exports[key] === _index[key]) return;
15
+ Object.defineProperty(exports, key, {
16
+ enumerable: true,
17
+ get: function get() {
18
+ return _index[key];
19
+ }
20
+ });
21
+ });
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "${packageName}",
3
+ "version": "1.0.1",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "jest --coverage",
8
+ "gen": "npx babel ./temp --out-dir ./lib"
9
+ },
10
+ "author": "",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "configerer": "^1.0.6",
14
+ "utiller": "^1.0.22",
15
+ "databazer": "^1.0.1",
16
+ "lodash": "^4.17.20",
17
+ "moment": "^2.29.1"
18
+ },
19
+ "devDependencies": {
20
+ "@babel/cli": "^7.12.8",
21
+ "@babel/core": "^7.12.9",
22
+ "@babel/plugin-proposal-class-properties": "^7.12.1",
23
+ "@babel/plugin-proposal-decorators": "^7.12.1",
24
+ "@babel/plugin-transform-runtime": "^7.12.1",
25
+ "@babel/preset-env": "^7.12.7",
26
+ "@babel/register": "^7.12.1",
27
+ "@babel/preset-react": "^7.12.13"
28
+ }
29
+ }
@@ -0,0 +1,23 @@
1
+ import {configer} from "configer";
2
+ import {utiller as Util, exceptioner as ERROR, pooller as InfinitePool } from 'utiller';
3
+ import _ from 'lodash';
4
+ import libpath from 'path';
5
+ import Moment from 'moment';
6
+
7
+ /** author:{1}
8
+ * create time:{2}
9
+ */
10
+
11
+ class {0} {
12
+
13
+ }
14
+
15
+ export { {0} as {0} }
16
+
17
+ if (configer.DEBUG_MODE) {
18
+ (async () => {
19
+
20
+
21
+ }
22
+ )();
23
+ }
@@ -0,0 +1 @@
1
+ console.error(`packageName {0} 還沒有跑過 npm run gen 指令`);