@elliemae/browserslist-config-elliemae-latest-browsers 1.2.0 → 1.4.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.
package/lib/index.ts ADDED
@@ -0,0 +1,8 @@
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
+ };
package/package.json CHANGED
@@ -1,21 +1,20 @@
1
1
  {
2
2
  "name": "@elliemae/browserslist-config-elliemae-latest-browsers",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "private": false,
5
5
  "description": "Browserslist Configuration with latest browsers only",
6
6
  "sideeffects": false,
7
- "main": "./dist/index.js",
8
- "module": "./lib/index.js",
9
- "typings": "./dist/types/index.d.ts",
7
+ "main": "./dist/cjs/index.js",
8
+ "module": "./dist/esm/index.js",
9
+ "types": "./dist/types/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
- "import": "./dist/es/index.js",
12
+ "import": "./dist/esm/index.js",
13
13
  "require": "./dist/cjs/index.js"
14
14
  }
15
15
  },
16
16
  "files": [
17
- "lib",
18
- "dist"
17
+ "lib"
19
18
  ],
20
19
  "publishConfig": {
21
20
  "access": "public"
@@ -25,30 +24,29 @@
25
24
  "url": "https://git.elliemae.io/platform-ui/pui-browserslist-config-latest-browsers.git"
26
25
  },
27
26
  "engines": {
28
- "npm": ">=7",
29
- "node": ">=14"
27
+ "pnpm": ">=6",
28
+ "node": ">=16"
30
29
  },
31
- "author": "IMT",
30
+ "author": "ICE MT",
32
31
  "license": "MIT",
33
32
  "scripts": {
34
- "build": "pui-cli pack -p --target=node",
35
- "build:dev": "pui-cli pack --target=node",
33
+ "build": "pui-cli pack -p -t node",
34
+ "build:dev": "pui-cli pack -t node",
36
35
  "gendoc": "pui-cli gendoc",
37
36
  "lint": "pui-cli lint",
38
37
  "lint:fix": "pui-cli lint --fix",
39
- "lint:staged": "lint-staged",
40
38
  "release": "semantic-release",
41
39
  "start:server": "serve ./dist/public -l 3000",
42
40
  "storybook": "exit 0",
43
41
  "storybook:build": "exit 0",
44
42
  "storybook:prod": "exit 0",
45
- "setup": "rimraf -r node_modules && rimraf package-lock.json && npm i",
46
- "test": "pui-cli test",
43
+ "setup": "rimraf node_modules && rimraf pnpm-lock.yaml && pnpm i",
44
+ "test": "pui-cli test -p",
47
45
  "test:fix": "pui-cli test -f",
48
46
  "test:watch": "pui-cli test -w",
49
47
  "test:staged": "jest --coverage --passWithNoTests --bail --findRelatedTests",
50
48
  "upgrade": "ncu -u && npm run setup",
51
- "prepare": "husky install"
49
+ "prepare": "[ -n \"$CI\" ] || husky install"
52
50
  },
53
51
  "jestSonar": {
54
52
  "sonar56x": true,
@@ -57,8 +55,8 @@
57
55
  "indent": 4
58
56
  },
59
57
  "devDependencies": {
60
- "@elliemae/pui-cli": "~5.3.0",
58
+ "@elliemae/pui-cli": "~6.14.0",
61
59
  "redux-saga": "1.1.3",
62
- "styled-components": "~5.3.1"
60
+ "styled-components": "~5.3.5"
63
61
  }
64
62
  }
package/dist/cjs/index.js DELETED
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _default = {
8
- development: ['> 0.5% in US, not ie 11, not dead'],
9
- production: ['> 0.5% in US, not ie 11, not dead']
10
- };
11
- exports.default = _default;
@@ -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
-
@@ -1 +0,0 @@
1
- {"type":"commonjs","sideEffects":false}
@@ -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
- });
package/dist/es/index.js DELETED
@@ -1,4 +0,0 @@
1
- export default {
2
- development: ['> 0.5% in US, not ie 11, not dead'],
3
- production: ['> 0.5% in US, not ie 11, not dead']
4
- };
package/dist/es/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
-
@@ -1 +0,0 @@
1
- {"type":"module","sideEffects":false}
@@ -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
- });
@@ -1,5 +0,0 @@
1
- declare namespace _default {
2
- const development: string[];
3
- const production: string[];
4
- }
5
- export default _default;
@@ -1 +0,0 @@
1
- export {};
package/lib/index.js DELETED
@@ -1,4 +0,0 @@
1
- export default {
2
- development: ['> 0.5% in US, not ie 11, not dead'],
3
- production: ['> 0.5% in US, not ie 11, not dead'],
4
- };