fl-web-component 1.0.10 → 1.0.11

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,12 +1,13 @@
1
1
  {
2
2
  "name": "fl-web-component",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "scripts": {
5
5
  "dev": "vue-cli-service serve",
6
6
  "lint": "eslint \"{src,packages}/**/*.{vue,js}\" --fix",
7
7
  "prettier": "prettier --write \"packages/**/*.{js,css,less,scss,vue,html}\"",
8
- "watch": "npm run lint && vue-cli-service build --watch --mode production --target lib --name fl-web-component ./src/main.js",
9
- "build": "npm run lint && vue-cli-service build --target lib --name fl-web-component ./src/main.js",
8
+ "watch": "vue-cli-service build --watch --mode production --target lib --name fl-web-component --formats commonjs ./src/main.js",
9
+ "build": "npm run lint && vue-cli-service build --target lib --name fl-web-component --formats commonjs ./src/main.js",
10
+ "build:test": "vue-cli-service build --target lib --name fl-web-component --formats commonjs ./src/main.js",
10
11
  "publish": "npm run build && npm publish"
11
12
  },
12
13
  "files": [
@@ -18,7 +19,7 @@
18
19
  "main": "dist/fl-web-component.common.js",
19
20
  "dependencies": {
20
21
  "camera-controls": "^2.9.0",
21
- "core-js": "^3.6.5",
22
+ "core-js": "^3.42.0",
22
23
  "dxf-parser": "^1.1.2",
23
24
  "element-ui": "2.15.14",
24
25
  "html2canvas": "^1.4.1",
@@ -26,28 +27,15 @@
26
27
  "konva": "^9.3.14",
27
28
  "lodash": "^4.17.21",
28
29
  "meshline": "^3.3.1",
30
+ "regenerator-runtime": "^0.14.1",
29
31
  "three": "^0.176.0",
30
32
  "three.path": "^1.0.1",
31
33
  "vue": "^2.6.11"
32
34
  },
33
35
  "devDependencies": {
34
36
  "@babel/core": "^7.12.16",
35
- "@babel/plugin-proposal-class-properties": "^7.0.0",
36
- "@babel/plugin-proposal-decorators": "^7.0.0",
37
- "@babel/plugin-proposal-export-namespace-from": "^7.0.0",
38
- "@babel/plugin-proposal-function-sent": "^7.0.0",
39
- "@babel/plugin-proposal-json-strings": "^7.0.0",
40
- "@babel/plugin-proposal-numeric-separator": "^7.0.0",
41
- "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
42
- "@babel/plugin-proposal-optional-chaining": "^7.17.12",
43
- "@babel/plugin-proposal-throw-expressions": "^7.0.0",
44
- "@babel/plugin-syntax-dynamic-import": "^7.0.0",
45
- "@babel/plugin-syntax-import-meta": "^7.0.0",
46
- "@babel/plugin-syntax-jsx": "^7.17.12",
47
- "@babel/plugin-transform-object-rest-spread": "^7.25.9",
48
- "@babel/plugin-transform-runtime": "^7.0.0",
49
37
  "@babel/preset-env": "^7.0.0",
50
- "@babel/runtime-corejs2": "^7.18.3",
38
+ "@babel/runtime-corejs3": "^7.27.1",
51
39
  "@vue/cli-plugin-babel": "~4.4.0",
52
40
  "@vue/cli-plugin-eslint": "~4.4.0",
53
41
  "@vue/cli-service": "~4.4.0",
package/src/main.js CHANGED
@@ -2,6 +2,7 @@ import FlModel from '../packages/components/com-graphics/index.vue';
2
2
  import Fl2dcanvas from '../packages/components/com-flcanvas/index.vue';
3
3
  import FLPerControl from '../packages/components/com-graphics/per-control.vue';
4
4
  import * as THREE from 'three';
5
+
5
6
  const components = [
6
7
  FlModel,
7
8
  Fl2dcanvas,
package/dist/demo.html DELETED
@@ -1,10 +0,0 @@
1
- <meta charset="utf-8">
2
- <title>fl-web-component demo</title>
3
- <script src="./fl-web-component.umd.js"></script>
4
-
5
- <link rel="stylesheet" href="./fl-web-component.css">
6
-
7
-
8
- <script>
9
- console.log(fl-web-component)
10
- </script>