mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
- Complete rewrite and reorganization - Expose a usable programmatic API - Support Async .env files by accepting javascript files - Update all libraries/dependencies - Support for more options in the future by using commanderjs - More thorough test cases and code-coverage - Better handling of signal terminations for both parent and child processes - Use ESLint Standard with Typescript
16 lines
305 B
JavaScript
16 lines
305 B
JavaScript
module.exports = new Promise((resolve) => {
|
|
setTimeout(() => {
|
|
resolve({
|
|
'development': {
|
|
'THANKS': 'FOR ALL THE FISH',
|
|
'ANSWER': 0
|
|
},
|
|
'production': {
|
|
'THANKS': 'FOR WHAT?!',
|
|
'ANSWER': 42,
|
|
'ONLY': 'IN PRODUCTION'
|
|
}
|
|
})
|
|
}, 200)
|
|
})
|