add iife build

This commit is contained in:
JFH
2021-11-17 19:53:20 +01:00
parent caa9edce65
commit 81f4a9acbf
6 changed files with 252 additions and 142 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "svgedit",
"version": "7.0.1",
"version": "7.0.2",
"description": "Powerful SVG-Editor for your browser ",
"main": "dist/Editor.js",
"module": "dist/Editor.js",
@@ -19,7 +19,7 @@
"build:watch": "rollup -c --watch",
"start": "web-dev-server --app-index src/editor/index.html --open --node-resolve",
"start:test": "web-dev-server --app-index src/editor/index.html --node-resolve",
"start:watch": "web-dev-server --app-index src/editor/index.html --open --node-resolve --watch",
"start:iife": "web-dev-server --app-index dist/editor/iife-index.html --esbuild-target auto --open",
"cypress:open": "run-p start cypress:open-no-start",
"cypress:open-no-start": "cypress open",
"cypress:run": "rimraf \".nyc_output/*\" && cypress run -q && nyc report --reporter=text-summary",
@@ -72,9 +72,9 @@
"browser-fs-access": "0.21.1",
"canvg": "3.0.9",
"core-js": "3.19.1",
"elix": "15.0.0",
"elix": "15.0.1",
"html2canvas": "1.3.2",
"i18next": "21.4.2",
"i18next": "21.5.2",
"jspdf": "2.4.0",
"pathseg": "1.2.1",
"regenerator-runtime": "0.13.9",
@@ -83,7 +83,7 @@
},
"devDependencies": {
"@babel/core": "7.16.0",
"@babel/preset-env": "7.16.0",
"@babel/preset-env": "7.16.4",
"@babel/register": "7.16.0",
"@babel/runtime-corejs3": "7.16.3",
"@cypress/code-coverage": "3.9.11",
@@ -96,6 +96,7 @@
"@rollup/plugin-replace": "3.0.0",
"@rollup/plugin-url": "6.1.0",
"@web/dev-server": "0.1.28",
"@web/dev-server-esbuild": "^0.2.16",
"@web/dev-server-rollup": "0.3.13",
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
"copyfiles": "2.4.1",