@ctx-core/env
Advanced tools
Comparing version 6.0.2 to 6.0.3
{ | ||
"name": "@ctx-core/env", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"description": "ctx-core env", | ||
@@ -30,3 +30,3 @@ "main": "env.js", | ||
}, | ||
"gitHead": "d42b7cccfdd69d0ddc4a3da0fc54c783eb4ac0c3" | ||
"gitHead": "799acfacfd6a68e55c062afa8ec8389a3ee77c19" | ||
} |
@@ -5,4 +5,7 @@ import { writable, derive } from 'svelte/store' | ||
export const __VERSION = writable(process.env.HEROKU_SLUG_COMMIT || Math.random()) | ||
export const __is__production = derive(__NODE_ENV, NODE_ENV => NODE_ENV === 'production') | ||
export const __is__staging = derive(__NODE_ENV, NODE_ENV => NODE_ENV === 'staging') | ||
export const __is__development = derive(__NODE_ENV, NODE_ENV => NODE_ENV === 'development') | ||
export const __is__production = | ||
derive(__NODE_ENV, ([NODE_ENV]) => NODE_ENV === 'production') | ||
export const __is__staging = | ||
derive(__NODE_ENV, ([NODE_ENV]) => NODE_ENV === 'staging') | ||
export const __is__development = | ||
derive(__NODE_ENV, ([NODE_ENV]) => NODE_ENV === 'development') |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2052
34