From cb4700ffa33524d88b4981defab1108744085147 Mon Sep 17 00:00:00 2001 From: Nikolay Kostyurin Date: Fri, 5 Feb 2021 01:51:23 +0200 Subject: [PATCH] feat: provide unpkg fileds for all package.json files --- packages/bbob-core/package.json | 5 +++-- packages/bbob-html/package.json | 5 +++-- packages/bbob-parser/package.json | 5 +++-- packages/bbob-plugin-helper/package.json | 5 +++-- packages/bbob-preset-html5/package.json | 5 +++-- packages/bbob-preset/package.json | 5 +++-- 6 files changed, 18 insertions(+), 12 deletions(-) diff --git a/packages/bbob-core/package.json b/packages/bbob-core/package.json index 2f67521..95438a5 100644 --- a/packages/bbob-core/package.json +++ b/packages/bbob-core/package.json @@ -22,11 +22,12 @@ "dependencies": { "@bbob/parser": "^2.6.2" }, + "unpkg": "dist/index.js", + "unpkgName": "BbobCore", "main": "lib/index.js", "module": "es/index.js", "jsnext:main": "es/index.js", - "browser": "dist/index.js", - "browserName": "BbobCore", + "source": "src/index.js", "homepage": "https://github.com/JiLiZART/bbob", "author": "Nikolay Kostyurin ", "license": "MIT", diff --git a/packages/bbob-html/package.json b/packages/bbob-html/package.json index 1c1dd77..130658f 100644 --- a/packages/bbob-html/package.json +++ b/packages/bbob-html/package.json @@ -7,11 +7,12 @@ "@bbob/core": "^2.6.2", "@bbob/plugin-helper": "^2.6.2" }, + "unpkg": "dist/index.js", + "unpkgName": "BbobHtml", "main": "lib/index.js", "module": "es/index.js", "jsnext:main": "es/index.js", - "browser": "dist/index.js", - "browserName": "BbobHtml", + "source": "src/index.js", "homepage": "https://github.com/JiLiZART/bbob", "author": "Nikolay Kostyurin ", "license": "MIT", diff --git a/packages/bbob-parser/package.json b/packages/bbob-parser/package.json index f961ee7..8d78ca1 100644 --- a/packages/bbob-parser/package.json +++ b/packages/bbob-parser/package.json @@ -15,11 +15,12 @@ "dependencies": { "@bbob/plugin-helper": "^2.6.2" }, + "unpkg": "dist/index.js", + "unpkgName": "BbobParser", "main": "lib/index.js", "module": "es/index.js", "jsnext:main": "es/index.js", - "browser": "dist/index.js", - "browserName": "BbobParser", + "source": "src/index.js", "homepage": "https://github.com/JiLiZART/bbob", "author": "Nikolay Kostyurin ", "license": "MIT", diff --git a/packages/bbob-plugin-helper/package.json b/packages/bbob-plugin-helper/package.json index c109857..e186f2e 100644 --- a/packages/bbob-plugin-helper/package.json +++ b/packages/bbob-plugin-helper/package.json @@ -7,11 +7,12 @@ "plugin", "helper" ], + "unpkg": "dist/index.js", + "unpkgName": "BbobPluginHelper", "main": "lib/index.js", "module": "es/index.js", "jsnext:main": "es/index.js", - "browser": "dist/index.js", - "browserName": "BbobPluginHelper", + "source": "src/index.js", "homepage": "https://github.com/JiLiZART/bbob", "author": "Nikolay Kostyurin ", "license": "MIT", diff --git a/packages/bbob-preset-html5/package.json b/packages/bbob-preset-html5/package.json index 3d2fdd7..8f19508 100644 --- a/packages/bbob-preset-html5/package.json +++ b/packages/bbob-preset-html5/package.json @@ -14,11 +14,12 @@ "devDependencies": { "@bbob/html": "^2.6.2" }, + "unpkg": "dist/index.js", + "unpkgName": "BbobPresetHTML5", "main": "lib/index.js", "module": "es/index.js", "jsnext:main": "es/index.js", - "browser": "dist/index.js", - "browserName": "BbobPresetHTML5", + "source": "src/index.js", "homepage": "https://github.com/JiLiZART/bbob", "author": "Nikolay Kostyurin ", "license": "MIT", diff --git a/packages/bbob-preset/package.json b/packages/bbob-preset/package.json index b3e5305..8739705 100644 --- a/packages/bbob-preset/package.json +++ b/packages/bbob-preset/package.json @@ -10,11 +10,12 @@ "dependencies": { "@bbob/plugin-helper": "^2.6.2" }, + "unpkg": "dist/index.js", + "unpkgName": "BbobPreset", "main": "lib/index.js", "module": "es/index.js", "jsnext:main": "es/index.js", - "browser": "dist/index.js", - "browserName": "BbobPreset", + "source": "src/index.js", "homepage": "https://github.com/JiLiZART/bbob", "author": "Nikolay Kostyurin ", "license": "MIT",