@bunup/shared 0.11.30

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 ADDED
@@ -0,0 +1,5 @@
1
+ # @bunup/shared
2
+
3
+ Shared utilities for use across bunup packages and official plugins.
4
+
5
+ https://bunup.dev
@@ -0,0 +1,7 @@
1
+ declare function getDefaultCssBrowserTargets(): {
2
+ chrome: number
3
+ firefox: number
4
+ safari: number
5
+ edge: number
6
+ };
7
+ export { getDefaultCssBrowserTargets };
package/dist/index.js ADDED
@@ -0,0 +1,12 @@
1
+ // src/index.ts
2
+ function getDefaultCssBrowserTargets() {
3
+ return {
4
+ chrome: 87 << 16,
5
+ firefox: 78 << 16,
6
+ safari: 14 << 16,
7
+ edge: 88 << 16
8
+ };
9
+ }
10
+ export {
11
+ getDefaultCssBrowserTargets
12
+ };
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@bunup/shared",
3
+ "description": "Shared utilities for use across bunup packages and official plugins.",
4
+ "version": "0.11.30",
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.js"
16
+ }
17
+ },
18
+ "./package.json": "./package.json"
19
+ },
20
+ "license": "MIT",
21
+ "author": "Arshad Yaseen <m@arshadyaseen.com> (https://arshadyaseen.com)",
22
+ "maintainers": [
23
+ {
24
+ "name": "Arshad Yaseen",
25
+ "email": "m@arshadyaseen.com",
26
+ "url": "https://arshadyaseen.com"
27
+ }
28
+ ],
29
+ "keywords": [
30
+ "bunup",
31
+ "shared"
32
+ ],
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/bunup/bunup.git"
36
+ },
37
+ "funding": "https://github.com/sponsors/arshad-yaseen",
38
+ "homepage": "https://bunup.dev",
39
+ "peerDependencies": {
40
+ "typescript": ">=4.5.0"
41
+ },
42
+ "peerDependenciesMeta": {
43
+ "typescript": {
44
+ "optional": true
45
+ }
46
+ }
47
+ }