@w5s/browserslist-config 1.0.0-alpha.7 → 1.0.0-alpha.9
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 +1 -1
- 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 +30 -5
- package/{default.js → src/default.ts} +3 -1
- package/src/development.ts +4 -0
- package/development.js +0 -2
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ 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) -->
|
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.9",
|
|
4
4
|
"description": "Browserslist support shared configuration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"browserslist",
|
|
@@ -18,15 +18,25 @@
|
|
|
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
36
|
"build": "concurrently \"npm:build:*\" \":\"",
|
|
28
|
-
"build:
|
|
37
|
+
"build:tsc": "tsc;yarn docs",
|
|
29
38
|
"clean": "concurrently \"npm:clean:*\" \":\"",
|
|
39
|
+
"clean:src": "rm -rf lib/*",
|
|
30
40
|
"docs": "node scripts/build-docs.mjs && md-magic --path '**/*.md' --ignore='node_modules'",
|
|
31
41
|
"format": "concurrently \"npm:format:*\" \":\"",
|
|
32
42
|
"format:src": "eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
|
|
@@ -37,7 +47,22 @@
|
|
|
37
47
|
"test": "concurrently \"npm:test:*\" ",
|
|
38
48
|
"test:src": "jest"
|
|
39
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
|
+
]
|
|
63
|
+
},
|
|
40
64
|
"devDependencies": {
|
|
65
|
+
"@jest/globals": "29.4.1",
|
|
41
66
|
"browserslist": "4.21.4",
|
|
42
67
|
"lodash-es": "4.17.21"
|
|
43
68
|
},
|
|
@@ -55,5 +80,5 @@
|
|
|
55
80
|
"publishConfig": {
|
|
56
81
|
"access": "public"
|
|
57
82
|
},
|
|
58
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "dd093c2907cf8e136f4adec9a14b176e0851de17"
|
|
59
84
|
}
|
package/development.js
DELETED