@w5s/browserslist-config 1.0.0-alpha.1 → 1.0.0-alpha.11
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/README.md +21 -21
- package/index.js +1 -1
- package/lib/default.d.ts +2 -0
- package/lib/default.js +8 -0
- package/lib/development.d.ts +2 -0
- package/lib/development.js +4 -0
- package/package.json +51 -9
- package/{default.js → src/default.ts} +3 -1
- package/src/development.ts +4 -0
- package/development.js +0 -2
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
2
|
-
# W5s
|
|
1
|
+
<!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=# W5s BrowsersList configuration _(${name})_) -->
|
|
2
|
+
# W5s BrowsersList configuration _(@w5s/browserslist-config)_
|
|
3
3
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
4
4
|
|
|
5
5
|
[![NPM Version][package-version-svg]][package-url]
|
|
6
6
|
[![License][license-image]][license-url]
|
|
7
7
|
|
|
8
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
8
|
+
<!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=> ${description}&unknownTxt= ) -->
|
|
9
9
|
> Browserslist support shared configuration
|
|
10
10
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
14
|
+
<!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=```console\nnpm install --save-dev ${name}\n```) -->
|
|
15
15
|
```console
|
|
16
16
|
npm install --save-dev @w5s/browserslist-config
|
|
17
17
|
```
|
|
@@ -31,47 +31,47 @@ In the `package.json` for your project
|
|
|
31
31
|
|
|
32
32
|
## Alternative configuration
|
|
33
33
|
|
|
34
|
-
- `@w5s/browserslist-config/development` : Only some common browsers (for development)
|
|
34
|
+
- `@w5s/browserslist-config/lib/development` : Only some common browsers (for development)
|
|
35
35
|
|
|
36
36
|
## Supported Browsers
|
|
37
37
|
<!-- AUTO-GENERATED-CONTENT:START (FILE:src=./BROWSER_LIST.md) -->
|
|
38
38
|
<!-- The below content is automatically added from ./BROWSER_LIST.md -->
|
|
39
|
-
_Generated Automatically at
|
|
39
|
+
_Generated Automatically at Sat, 04 Feb 2023 14:36:25 GMT_
|
|
40
40
|
|
|
41
41
|
### Desktop
|
|
42
42
|
|
|
43
43
|
- Android (4.4.3-4.4.4)
|
|
44
|
-
- Chrome (
|
|
45
|
-
- Edge (
|
|
46
|
-
- Firefox (
|
|
47
|
-
- Opera (
|
|
48
|
-
- Safari (
|
|
49
|
-
- Samsung (
|
|
44
|
+
- Chrome (108, 107, 106, 103)
|
|
45
|
+
- Edge (108, 107)
|
|
46
|
+
- Firefox (108, 107)
|
|
47
|
+
- Opera (92)
|
|
48
|
+
- Safari (16.1, 15.6, 14.1)
|
|
49
|
+
- Samsung (19.0, 18.0)
|
|
50
50
|
|
|
51
51
|
### Mobile
|
|
52
52
|
|
|
53
|
-
- Chrome for Android (
|
|
54
|
-
- Firefox for Android (
|
|
55
|
-
- UC Browser (
|
|
56
|
-
- Safari for iOS (15.6, 15.5, 15.4, 15.2-15.3,
|
|
53
|
+
- Chrome for Android (109)
|
|
54
|
+
- Firefox for Android (109)
|
|
55
|
+
- UC Browser (13.4)
|
|
56
|
+
- Safari for iOS (16.2, 16.1, 16.0, 15.6, 15.5, 15.4, 15.2-15.3, 14.5-14.8, 14.0-14.4, 12.2-12.5)
|
|
57
57
|
|
|
58
|
-
[View more in
|
|
58
|
+
[View more in browserslist.dev (usages, coverage)](https://browserslist.dev/?q=PjAuMiUsbm90IGRlYWQsbm90IG9wX21pbmkgYWxs)
|
|
59
59
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
60
60
|
|
|
61
61
|
## License
|
|
62
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
62
|
+
<!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=[${license}][license-url] © ${author}) -->
|
|
63
63
|
[MIT][license-url] © Julien Polo <julien.polo@gmail.com>
|
|
64
64
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
65
65
|
|
|
66
66
|
<!-- VARIABLES -->
|
|
67
67
|
|
|
68
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
68
|
+
<!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=[package-version-svg]: https://img.shields.io/npm/v/${name}.svg?style=flat-square) -->
|
|
69
69
|
[package-version-svg]: https://img.shields.io/npm/v/@w5s/browserslist-config.svg?style=flat-square
|
|
70
70
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
71
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
71
|
+
<!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=[package-url]: https://www.npmjs.com/package/${name}) -->
|
|
72
72
|
[package-url]: https://www.npmjs.com/package/@w5s/browserslist-config
|
|
73
73
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
74
|
-
<!-- AUTO-GENERATED-CONTENT:START (
|
|
74
|
+
<!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=[license-image]: https://img.shields.io/badge/license-${license}-green.svg?style=flat-square) -->
|
|
75
75
|
[license-image]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square
|
|
76
76
|
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
77
77
|
[license-url]: ../../LICENSE
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = require('./default.js');
|
|
1
|
+
module.exports = require('./lib/default.js');
|
package/lib/default.d.ts
ADDED
package/lib/default.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/browserslist-config",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.11",
|
|
4
4
|
"description": "Browserslist support shared configuration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"browserslist",
|
|
@@ -12,31 +12,73 @@
|
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "
|
|
15
|
+
"url": "git@github.com:w5s/project-config.git",
|
|
16
16
|
"directory": "packages/browserslist-config"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"author": "Julien Polo <julien.polo@gmail.com>",
|
|
20
20
|
"type": "commonjs",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": "./index.js",
|
|
23
|
+
"./lib/*": "./lib/*"
|
|
24
|
+
},
|
|
25
|
+
"typings": "./index.d.ts",
|
|
21
26
|
"files": [
|
|
27
|
+
"lib/**/!(*.spec).d.ts",
|
|
28
|
+
"lib/**/!(*.spec).d.ts.map",
|
|
29
|
+
"lib/**/!(*.spec).js.map",
|
|
30
|
+
"lib/**/!(*.spec).js",
|
|
31
|
+
"src/**/!(*.spec).ts",
|
|
22
32
|
"index.js",
|
|
23
|
-
"
|
|
24
|
-
"development.js"
|
|
33
|
+
"index.d.ts"
|
|
25
34
|
],
|
|
26
35
|
"scripts": {
|
|
27
|
-
"build": "
|
|
28
|
-
"
|
|
29
|
-
"
|
|
36
|
+
"build": "concurrently \"npm:build:*\" \":\"",
|
|
37
|
+
"build:tsc": "tsc -b tsconfig.build.json;yarn docs",
|
|
38
|
+
"clean": "concurrently \"npm:clean:*\" \":\"",
|
|
39
|
+
"clean:tsc": "rm -rf lib",
|
|
40
|
+
"docs": "node scripts/build-docs.mjs && node ../../markdown.mjs",
|
|
41
|
+
"format": "concurrently \"npm:format:*\" \":\"",
|
|
42
|
+
"format:src": "eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
|
|
43
|
+
"lint": "concurrently \"npm:lint:*\" \":\"",
|
|
44
|
+
"lint:src": "eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
|
|
45
|
+
"prepare": "concurrently \"npm:prepare:*\" \":\"",
|
|
46
|
+
"spellcheck": "cspell --no-progress '**'",
|
|
47
|
+
"test": "concurrently \"npm:test:*\" ",
|
|
48
|
+
"test:src": "jest"
|
|
49
|
+
},
|
|
50
|
+
"jest": {
|
|
51
|
+
"moduleNameMapper": {
|
|
52
|
+
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
53
|
+
},
|
|
54
|
+
"preset": "es-jest",
|
|
55
|
+
"testPathIgnorePatterns": [
|
|
56
|
+
"/node_modules/",
|
|
57
|
+
"/lib/",
|
|
58
|
+
"/build/",
|
|
59
|
+
"/.cache/",
|
|
60
|
+
"/docs/",
|
|
61
|
+
"/public/"
|
|
62
|
+
]
|
|
30
63
|
},
|
|
31
64
|
"devDependencies": {
|
|
32
|
-
"
|
|
65
|
+
"@jest/globals": "29.4.2",
|
|
66
|
+
"browserslist": "4.21.5",
|
|
33
67
|
"lodash-es": "4.17.21"
|
|
34
68
|
},
|
|
35
69
|
"peerDependencies": {
|
|
36
70
|
"browserslist": ">= 4.0"
|
|
37
71
|
},
|
|
72
|
+
"peerDependenciesMeta": {
|
|
73
|
+
"browserslist": {
|
|
74
|
+
"optional": true
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"engines": {
|
|
78
|
+
"node": ">=16.0.0"
|
|
79
|
+
},
|
|
38
80
|
"publishConfig": {
|
|
39
81
|
"access": "public"
|
|
40
82
|
},
|
|
41
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "918c1157da6808ff19124ee96a4fe499f0da1877"
|
|
42
84
|
}
|
package/development.js
DELETED