@elliemae/browserslist-config-elliemae-latest-browsers 1.4.0 → 1.5.0

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.
@@ -0,0 +1,10 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Document</title>
8
+ </head>
9
+ <body></body>
10
+ </html>
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ module.exports = {
3
+ development: [
4
+ "Chrome >= 102, Edge >= 103, Safari >= 15.5, Firefox >= 102, iOS >= 14.5, ChromeAndroid >= 104"
5
+ ],
6
+ production: [
7
+ "Chrome >= 102, Edge >= 103, Safari >= 15.5, Firefox >= 102, iOS >= 14.5, ChromeAndroid >= 104"
8
+ ]
9
+ };
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "commonjs",
3
+ "sideEffects": false
4
+ }
@@ -0,0 +1,10 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Document</title>
8
+ </head>
9
+ <body></body>
10
+ </html>
@@ -0,0 +1,26 @@
1
+ var __getOwnPropNames = Object.getOwnPropertyNames;
2
+ var __esm = (fn, res) => function __init() {
3
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
4
+ };
5
+ var __commonJS = (cb, mod) => function __require() {
6
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
7
+ };
8
+ import * as React from "react";
9
+ var init_react_shim = __esm({
10
+ "node_modules/.pnpm/@elliemae+pui-cli@7.0.0_j54qouox73ltdlx6coiojegcda/node_modules/@elliemae/pui-cli/dist/esm/transpile/react-shim.js"() {
11
+ }
12
+ });
13
+ var require_lib = __commonJS({
14
+ "lib/index.js"(exports, module) {
15
+ init_react_shim();
16
+ module.exports = {
17
+ development: [
18
+ "Chrome >= 102, Edge >= 103, Safari >= 15.5, Firefox >= 102, iOS >= 14.5, ChromeAndroid >= 104"
19
+ ],
20
+ production: [
21
+ "Chrome >= 102, Edge >= 103, Safari >= 15.5, Firefox >= 102, iOS >= 14.5, ChromeAndroid >= 104"
22
+ ]
23
+ };
24
+ }
25
+ });
26
+ export default require_lib();
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "module",
3
+ "sideEffects": false
4
+ }
@@ -0,0 +1,2 @@
1
+ export const development: string[];
2
+ export const production: string[];
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@elliemae/browserslist-config-elliemae-latest-browsers",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "description": "Browserslist Configuration with latest browsers only",
6
6
  "sideeffects": false,
7
7
  "main": "./dist/cjs/index.js",
8
8
  "module": "./dist/esm/index.js",
9
- "types": "./dist/types/index.d.ts",
9
+ "types": "./dist/types/lib/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
+ "types": "./dist/types/lib/index.d.ts",
12
13
  "import": "./dist/esm/index.js",
13
14
  "require": "./dist/cjs/index.js"
14
15
  }
15
16
  },
16
17
  "files": [
17
- "lib"
18
+ "dist"
18
19
  ],
19
20
  "publishConfig": {
20
21
  "access": "public"
@@ -35,15 +36,17 @@
35
36
  "gendoc": "pui-cli gendoc",
36
37
  "lint": "pui-cli lint",
37
38
  "lint:fix": "pui-cli lint --fix",
39
+ "lint:staged": "lint-staged",
38
40
  "release": "semantic-release",
39
- "start:server": "serve ./dist/public -l 3000",
41
+ "start": "pui-cli start",
40
42
  "storybook": "exit 0",
41
43
  "storybook:build": "exit 0",
44
+ "storybook:docs:build": "exit 0",
42
45
  "storybook:prod": "exit 0",
43
46
  "setup": "rimraf node_modules && rimraf pnpm-lock.yaml && pnpm i",
44
- "test": "pui-cli test -p",
47
+ "test": "pui-cli test",
45
48
  "test:fix": "pui-cli test -f",
46
- "test:watch": "pui-cli test -w",
49
+ "test:watch": "jest --watch",
47
50
  "test:staged": "jest --coverage --passWithNoTests --bail --findRelatedTests",
48
51
  "upgrade": "ncu -u && npm run setup",
49
52
  "prepare": "[ -n \"$CI\" ] || husky install"
@@ -55,7 +58,7 @@
55
58
  "indent": 4
56
59
  },
57
60
  "devDependencies": {
58
- "@elliemae/pui-cli": "~6.14.0",
61
+ "@elliemae/pui-cli": "~7.0.0",
59
62
  "redux-saga": "1.1.3",
60
63
  "styled-components": "~5.3.5"
61
64
  }
package/lib/index.pug DELETED
@@ -1,15 +0,0 @@
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
-
package/lib/index.ts DELETED
@@ -1,8 +0,0 @@
1
- export 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
- };
@@ -1,7 +0,0 @@
1
- import config from '..';
2
-
3
- describe('browserslistconfig', () => {
4
- it('should return a list of browsers', () => {
5
- expect(config.production).toBeDefined();
6
- });
7
- });