@elliemae/browserslist-config-elliemae-latest-browsers 1.2.1 → 1.4.1
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/dist/cjs/index.js +30 -0
- package/{lib → dist/cjs}/index.pug +0 -0
- package/dist/cjs/package.json +4 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.pug +15 -0
- package/dist/esm/package.json +4 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/tests/index.test.d.ts +1 -0
- package/package.json +17 -15
- package/lib/index.js +0 -4
- package/lib/tests/index.test.js +0 -7
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var lib_exports = {};
|
|
19
|
+
__export(lib_exports, {
|
|
20
|
+
default: () => lib_default
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(lib_exports);
|
|
23
|
+
var lib_default = {
|
|
24
|
+
development: [
|
|
25
|
+
"Chrome >= 96, Edge >= 96, Safari >= 14.1, Firefox >= 95, iOS >= 14.5, ChromeAndroid >= 97"
|
|
26
|
+
],
|
|
27
|
+
production: [
|
|
28
|
+
"Chrome >= 96, Edge >= 96, Safari >= 14.1, Firefox >= 95, iOS >= 14.5, ChromeAndroid >= 97"
|
|
29
|
+
]
|
|
30
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var lib_default = {
|
|
2
|
+
development: [
|
|
3
|
+
"Chrome >= 96, Edge >= 96, Safari >= 14.1, Firefox >= 95, iOS >= 14.5, ChromeAndroid >= 97"
|
|
4
|
+
],
|
|
5
|
+
production: [
|
|
6
|
+
"Chrome >= 96, Edge >= 96, Safari >= 14.1, Firefox >= 95, iOS >= 14.5, ChromeAndroid >= 97"
|
|
7
|
+
]
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
lib_default as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
doctype html
|
|
2
|
+
head
|
|
3
|
+
meta(charset='UTF-8')
|
|
4
|
+
meta(name='viewport' content='width=device-width, initial-scale=1.0')
|
|
5
|
+
meta(http-equiv='X-UA-Compatible' content='ie=edge')
|
|
6
|
+
title #{htmlWebpackPlugin.options.libraryName}
|
|
7
|
+
p This library #{htmlWebpackPlugin.options.libraryName} exposes the following properties
|
|
8
|
+
ul#libraryAttributes
|
|
9
|
+
script(lang='javascript').
|
|
10
|
+
window.onload = () => {
|
|
11
|
+
const attribNode = document.getElementById('libraryAttributes');
|
|
12
|
+
if (attribNode) {
|
|
13
|
+
attribNode.innerHTML = Object.keys(window['#{htmlWebpackPlugin.options.libraryName}'] || {}).reduce((value, attribute) => value += `<li>${attribute}</li>`, '');
|
|
14
|
+
}
|
|
15
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/browserslist-config-elliemae-latest-browsers",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Browserslist Configuration with latest browsers only",
|
|
6
6
|
"sideeffects": false,
|
|
7
|
-
"main": "./
|
|
7
|
+
"main": "./dist/cjs/index.js",
|
|
8
|
+
"module": "./dist/esm/index.js",
|
|
9
|
+
"types": "./dist/types/index.d.ts",
|
|
8
10
|
"exports": {
|
|
9
11
|
".": {
|
|
10
|
-
"
|
|
12
|
+
"import": "./dist/esm/index.js",
|
|
13
|
+
"require": "./dist/cjs/index.js"
|
|
11
14
|
}
|
|
12
15
|
},
|
|
13
16
|
"files": [
|
|
14
|
-
"
|
|
17
|
+
"dist"
|
|
15
18
|
],
|
|
16
19
|
"publishConfig": {
|
|
17
20
|
"access": "public"
|
|
@@ -21,30 +24,29 @@
|
|
|
21
24
|
"url": "https://git.elliemae.io/platform-ui/pui-browserslist-config-latest-browsers.git"
|
|
22
25
|
},
|
|
23
26
|
"engines": {
|
|
24
|
-
"
|
|
25
|
-
"node": ">=
|
|
27
|
+
"pnpm": ">=6",
|
|
28
|
+
"node": ">=16"
|
|
26
29
|
},
|
|
27
|
-
"author": "
|
|
30
|
+
"author": "ICE MT",
|
|
28
31
|
"license": "MIT",
|
|
29
32
|
"scripts": {
|
|
30
|
-
"build": "
|
|
31
|
-
"build:dev": "
|
|
33
|
+
"build": "pui-cli pack -p -t node",
|
|
34
|
+
"build:dev": "pui-cli pack -t node",
|
|
32
35
|
"gendoc": "pui-cli gendoc",
|
|
33
36
|
"lint": "pui-cli lint",
|
|
34
37
|
"lint:fix": "pui-cli lint --fix",
|
|
35
|
-
"lint:staged": "lint-staged",
|
|
36
38
|
"release": "semantic-release",
|
|
37
39
|
"start:server": "serve ./dist/public -l 3000",
|
|
38
40
|
"storybook": "exit 0",
|
|
39
41
|
"storybook:build": "exit 0",
|
|
40
42
|
"storybook:prod": "exit 0",
|
|
41
|
-
"setup": "rimraf
|
|
42
|
-
"test": "pui-cli test",
|
|
43
|
+
"setup": "rimraf node_modules && rimraf pnpm-lock.yaml && pnpm i",
|
|
44
|
+
"test": "pui-cli test -p",
|
|
43
45
|
"test:fix": "pui-cli test -f",
|
|
44
46
|
"test:watch": "pui-cli test -w",
|
|
45
47
|
"test:staged": "jest --coverage --passWithNoTests --bail --findRelatedTests",
|
|
46
48
|
"upgrade": "ncu -u && npm run setup",
|
|
47
|
-
"prepare": "husky install"
|
|
49
|
+
"prepare": "[ -n \"$CI\" ] || husky install"
|
|
48
50
|
},
|
|
49
51
|
"jestSonar": {
|
|
50
52
|
"sonar56x": true,
|
|
@@ -53,8 +55,8 @@
|
|
|
53
55
|
"indent": 4
|
|
54
56
|
},
|
|
55
57
|
"devDependencies": {
|
|
56
|
-
"@elliemae/pui-cli": "~
|
|
58
|
+
"@elliemae/pui-cli": "~6.14.1",
|
|
57
59
|
"redux-saga": "1.1.3",
|
|
58
|
-
"styled-components": "~5.3.
|
|
60
|
+
"styled-components": "~5.3.5"
|
|
59
61
|
}
|
|
60
62
|
}
|
package/lib/index.js
DELETED