hina-cloud-js-sdk 3.1.7 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hina.cjs.js +1 -0
- package/dist/hina.esm.full.js +1 -0
- package/dist/hina.esm.js +1 -0
- package/dist/hina.full.js +1 -0
- package/dist/hina.iife.js +1 -0
- package/dist/index.d.ts +411 -0
- package/package.json +28 -43
- package/readme.md +1 -0
- package/.eslintrc.js +0 -12
- package/.gitlab-ci.yml +0 -20
- package/.vscode/settings.json +0 -5
- package/build/hina.esm.min.js +0 -1
- package/build/hina.min.js +0 -4
- package/build/hotAnalyse.min.js +0 -1
- package/report.json +0 -101
- package/rollup.config.epm.js +0 -42
- package/rollup.config.sdk.js +0 -42
- package/sonar-project.properties +0 -3
package/rollup.config.epm.js
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
import babel from "rollup-plugin-babel";
|
2
|
-
import resolve from "@rollup/plugin-node-resolve"
|
3
|
-
import commonjs from "@rollup/plugin-commonjs";
|
4
|
-
import terser from '@rollup/plugin-terser';
|
5
|
-
import { defineConfig } from 'rollup';
|
6
|
-
|
7
|
-
|
8
|
-
const plugins = [
|
9
|
-
resolve(),
|
10
|
-
commonjs(),
|
11
|
-
babel({
|
12
|
-
exclude: "node_modules/**",
|
13
|
-
}),
|
14
|
-
terser({
|
15
|
-
module: true, // 启用模块语法和模块解析逻辑
|
16
|
-
mangle: true, // 混淆变量名
|
17
|
-
compress: true, // 压缩代码
|
18
|
-
}),
|
19
|
-
]
|
20
|
-
|
21
|
-
export default defineConfig(
|
22
|
-
[
|
23
|
-
{
|
24
|
-
input: "src/epm-sdk/index.js",
|
25
|
-
output: {
|
26
|
-
file: "buildEpm/hinaEpm.esm.min.js",
|
27
|
-
name: "hina-epm",
|
28
|
-
format: "esm",
|
29
|
-
},
|
30
|
-
plugins,
|
31
|
-
},
|
32
|
-
{
|
33
|
-
input: "src/epm-sdk/index.js",
|
34
|
-
output: {
|
35
|
-
file: "buildEpm/hinaEpm.min.js",
|
36
|
-
name: "hina-epm",
|
37
|
-
format: "umd",
|
38
|
-
},
|
39
|
-
plugins,
|
40
|
-
}
|
41
|
-
]
|
42
|
-
)
|
package/rollup.config.sdk.js
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
import babel from "rollup-plugin-babel";
|
2
|
-
import resolve from "@rollup/plugin-node-resolve"
|
3
|
-
import commonjs from "@rollup/plugin-commonjs";
|
4
|
-
import terser from '@rollup/plugin-terser';
|
5
|
-
import { defineConfig } from 'rollup';
|
6
|
-
|
7
|
-
|
8
|
-
const plugins = [
|
9
|
-
resolve(),
|
10
|
-
commonjs(),
|
11
|
-
babel({
|
12
|
-
exclude: "node_modules/**",
|
13
|
-
}),
|
14
|
-
terser({
|
15
|
-
module: true, // 启用模块语法和模块解析逻辑
|
16
|
-
mangle: true, // 混淆变量名
|
17
|
-
compress: true, // 压缩代码
|
18
|
-
}),
|
19
|
-
]
|
20
|
-
|
21
|
-
export default defineConfig(
|
22
|
-
[
|
23
|
-
{
|
24
|
-
input: "src/pv-sdk/index.js",
|
25
|
-
output: {
|
26
|
-
file: "buildSdk/hina.esm.min.js",
|
27
|
-
name: "hina-epm",
|
28
|
-
format: "esm",
|
29
|
-
},
|
30
|
-
plugins,
|
31
|
-
},
|
32
|
-
{
|
33
|
-
input: "src/pv-sdk/index.js",
|
34
|
-
output: {
|
35
|
-
file: "buildSdk/hina.min.js",
|
36
|
-
name: "hina-epm",
|
37
|
-
format: "umd",
|
38
|
-
},
|
39
|
-
plugins,
|
40
|
-
}
|
41
|
-
]
|
42
|
-
)
|
package/sonar-project.properties
DELETED