@vezham/env 0.0.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/CHANGELOG.md +9 -0
- package/README.md +3 -0
- package/index.d.ts +10 -0
- package/index.mjs +11 -0
- package/package.json +12 -0
package/CHANGELOG.md
ADDED
package/README.md
ADDED
package/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const __DEV__: boolean;
|
|
2
|
+
export declare const __TEST__: boolean;
|
|
3
|
+
export declare const __PRODUCTION__: boolean;
|
|
4
|
+
export declare const __PREVIEW__: boolean;
|
|
5
|
+
export declare const __DEBUG__: boolean;
|
|
6
|
+
export declare const IS_BETA: boolean;
|
|
7
|
+
export declare const APP_NAME: any;
|
|
8
|
+
type T_BASE_API_URL = 'api' | 'mock' | 'local';
|
|
9
|
+
export declare const BASE_API_URL: T_BASE_API_URL;
|
|
10
|
+
export {};
|
package/index.mjs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const _ = process.env.NODE_ENV !== "production", n = process.env.NODE_ENV === "test", e = process.env.NODE_ENV === "production", o = !1, t = !1, s = !1, E = "vapp", c = "api";
|
|
2
|
+
export {
|
|
3
|
+
E as APP_NAME,
|
|
4
|
+
c as BASE_API_URL,
|
|
5
|
+
s as IS_BETA,
|
|
6
|
+
t as __DEBUG__,
|
|
7
|
+
_ as __DEV__,
|
|
8
|
+
o as __PREVIEW__,
|
|
9
|
+
e as __PRODUCTION__,
|
|
10
|
+
n as __TEST__
|
|
11
|
+
};
|