go-core 0.1.930 → 0.2.1-beta.1
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/LICENSE +22 -22
- package/README.md +22 -22
- package/dist/code.es5.js +15 -15
- package/dist/code.umd.js +16 -16
- package/package.json +162 -147
package/package.json
CHANGED
|
@@ -1,147 +1,162 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "go-core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "ANOV-GO配置平台核心库",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"anov",
|
|
7
|
-
"anov-go",
|
|
8
|
-
"core"
|
|
9
|
-
],
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"dist/code.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"test
|
|
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
|
-
"
|
|
67
|
-
"ts"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
},
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"@
|
|
103
|
-
"@
|
|
104
|
-
"@types/
|
|
105
|
-
"@types/
|
|
106
|
-
"@
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"file-saver": "^2.0.
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "go-core",
|
|
3
|
+
"version": "0.2.1-beta.1",
|
|
4
|
+
"description": "ANOV-GO配置平台核心库",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"anov",
|
|
7
|
+
"anov-go",
|
|
8
|
+
"core"
|
|
9
|
+
],
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "dist/code.umd.js",
|
|
12
|
+
"module": "dist/code.es5.js",
|
|
13
|
+
"typings": "dist/types/code.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist/code.umd.js",
|
|
16
|
+
"dist/code.es5.js"
|
|
17
|
+
],
|
|
18
|
+
"author": "ws",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://gitee.com/wangdashuai/go-core.git"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=6.0.0"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
|
|
29
|
+
"clearyarn": "rimraf dist",
|
|
30
|
+
"build": "tsc --module commonjs && rollup --config rollup.config.js && yalc push",
|
|
31
|
+
"build2": "rollup -c rollup.config.js",
|
|
32
|
+
"start": "tsc --module commonjs && rollup --config rollup.config.js -w",
|
|
33
|
+
"test": "jest --coverage",
|
|
34
|
+
"test:watch": "jest --coverage --watch",
|
|
35
|
+
"test:prod": "npm run lint && npm run test -- --no-cache",
|
|
36
|
+
"deploy-docs": "ts-node tools/gh-pages-publish",
|
|
37
|
+
"report-coverage": "cat ./coverage/lcov.info | coveralls",
|
|
38
|
+
"commit": "git-cz",
|
|
39
|
+
"semantic-release": "semantic-release",
|
|
40
|
+
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
|
|
41
|
+
"precommit": "lint-staged",
|
|
42
|
+
"travis-deploy-once": "travis-deploy-once",
|
|
43
|
+
"prepush": "npm run test:prod && npm run build",
|
|
44
|
+
"commitmsg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
45
|
+
"postinstall": "patch-package",
|
|
46
|
+
"build3": "tsc --module commonjs && rollup --config rollup.config.js -w",
|
|
47
|
+
"watch": "onchange '**/*.js' -- npm run push",
|
|
48
|
+
"push": "yalc push"
|
|
49
|
+
},
|
|
50
|
+
"lint-staged": {
|
|
51
|
+
"{src,test}/**/*.ts": [
|
|
52
|
+
"prettier --write",
|
|
53
|
+
"git add"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"config": {
|
|
57
|
+
"commitizen": {
|
|
58
|
+
"path": "node_modules/cz-conventional-changelog"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public",
|
|
63
|
+
"registry": "https://registry.npmjs.org/"
|
|
64
|
+
},
|
|
65
|
+
"jest": {
|
|
66
|
+
"transform": {
|
|
67
|
+
".(ts|tsx)": "ts-jest"
|
|
68
|
+
},
|
|
69
|
+
"testEnvironment": "node",
|
|
70
|
+
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
|
71
|
+
"moduleFileExtensions": [
|
|
72
|
+
"ts",
|
|
73
|
+
"tsx",
|
|
74
|
+
"js"
|
|
75
|
+
],
|
|
76
|
+
"coveragePathIgnorePatterns": [
|
|
77
|
+
"/node_modules/",
|
|
78
|
+
"/test/"
|
|
79
|
+
],
|
|
80
|
+
"coverageThreshold": {
|
|
81
|
+
"global": {
|
|
82
|
+
"branches": 90,
|
|
83
|
+
"functions": 95,
|
|
84
|
+
"lines": 95,
|
|
85
|
+
"statements": 95
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"collectCoverageFrom": [
|
|
89
|
+
"src/*.{jsx}"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"prettier": {
|
|
93
|
+
"semi": false,
|
|
94
|
+
"singleQuote": true
|
|
95
|
+
},
|
|
96
|
+
"commitlint": {
|
|
97
|
+
"extends": [
|
|
98
|
+
"@commitlint/config-conventional"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"devDependencies": {
|
|
102
|
+
"@commitlint/cli": "^7.1.2",
|
|
103
|
+
"@commitlint/config-conventional": "^7.1.2",
|
|
104
|
+
"@types/crypto-js": "^4.1.1",
|
|
105
|
+
"@types/dom-to-image": "^2.6.4",
|
|
106
|
+
"@types/esprima": "^4.0.3",
|
|
107
|
+
"@types/estraverse": "^5.1.2",
|
|
108
|
+
"@types/jest": "^23.3.2",
|
|
109
|
+
"@types/lodash": "^4.14.186",
|
|
110
|
+
"@types/node": "^10.11.0",
|
|
111
|
+
"@wdslib/go-utils": "0.2.91",
|
|
112
|
+
"colors": "^1.3.2",
|
|
113
|
+
"commitizen": "^3.0.0",
|
|
114
|
+
"coveralls": "^3.0.2",
|
|
115
|
+
"cross-env": "^5.2.0",
|
|
116
|
+
"cz-conventional-changelog": "^2.1.0",
|
|
117
|
+
"jest": "^23.6.0",
|
|
118
|
+
"jest-config": "^23.6.0",
|
|
119
|
+
"lint-staged": "^8.0.0",
|
|
120
|
+
"ts-jest": "^23.10.2",
|
|
121
|
+
"ts-node": "^10.9.2",
|
|
122
|
+
"tslint": "^5.11.0",
|
|
123
|
+
"tslint-config-prettier": "^1.15.0",
|
|
124
|
+
"tslint-config-standard": "^8.0.1",
|
|
125
|
+
"typedoc": "^0.23.15",
|
|
126
|
+
"typescript": "4.8.4"
|
|
127
|
+
},
|
|
128
|
+
"dependencies": {
|
|
129
|
+
"@pansy/watermark": "^2.1.0",
|
|
130
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
131
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
132
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
133
|
+
"@types/file-saver": "^2.0.4",
|
|
134
|
+
"@types/moment": "^2.13.0",
|
|
135
|
+
"axios": "^0.24.0",
|
|
136
|
+
"core-js": "^2.6.12",
|
|
137
|
+
"crypto-js": "^4.1.1",
|
|
138
|
+
"dom-to-image": "^2.6.0",
|
|
139
|
+
"esprima": "^4.0.1",
|
|
140
|
+
"estraverse": "^5.3.0",
|
|
141
|
+
"file-saver": "^2.0.5",
|
|
142
|
+
"gsap": "^3.11.3",
|
|
143
|
+
"immer": "^10.0.2",
|
|
144
|
+
"indexdb-store": "^1.0.1",
|
|
145
|
+
"jsdoc": "^3.6.11",
|
|
146
|
+
"jsencrypt": "^3.2.1",
|
|
147
|
+
"lodash": "^4.17.21",
|
|
148
|
+
"lodash.camelcase": "^4.3.0",
|
|
149
|
+
"mitt": "^3.0.0",
|
|
150
|
+
"moment": "^2.29.4",
|
|
151
|
+
"patch-package": "^6.5.0",
|
|
152
|
+
"rollup": "^3.29.4",
|
|
153
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
154
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
155
|
+
"rollup-plugin-node-builtins": "^2.1.2",
|
|
156
|
+
"rollup-plugin-node-globals": "^1.4.0",
|
|
157
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
158
|
+
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
159
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
160
|
+
"tslib": "^2.4.0"
|
|
161
|
+
}
|
|
162
|
+
}
|