@logicflow/core 1.2.0-alpha.6 → 1.2.0-alpha.7

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,10 +1,10 @@
1
1
  {
2
2
  "name": "@logicflow/core",
3
- "version": "1.2.0-alpha.6",
3
+ "version": "1.2.0-alpha.7",
4
4
  "description": "LogicFlow core, to quickly build flowchart editor",
5
- "main": "dist/logic-flow.js",
6
- "unpkg": "dist/logic-flow.js",
7
- "jsdelivr": "dist/logic-flow.js",
5
+ "main": "dist/entry.js",
6
+ "unpkg": "dist/logic-flow.min.js",
7
+ "jsdelivr": "dist/logic-flow.min.js",
8
8
  "license": "Apache-2.0",
9
9
  "homepage": "http://logic-flow.org/",
10
10
  "types": "types/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "dev": "cross-env NODE_ENV=development webpack-dev-server --client-log-level warning --config scripts/webpack.config.dev.js",
18
18
  "clean": "rimraf dist lib esm cjs",
19
19
  "build": "npm run build:umd",
20
- "build:umd": "cross-env NODE_ENV=production webpack --config scripts/webpack.config.build.js && cp -r src/style/ dist/style",
20
+ "build:umd": "cross-env NODE_ENV=production webpack --config scripts/webpack.config.build.js && cp -r src/style/ dist/style && cp scripts/entry.js dist",
21
21
  "build-analyse": "cross-env analyse=true npm run build",
22
22
  "types": "tsc -d --declarationDir ./tempTypes --outDir temp && rimraf types && mv ./tempTypes/src ./types && rimraf temp && rimraf tempTypes",
23
23
  "lint": "eslint . --ext .ts,.tsx",