Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
87155900e1 | |||
d24b11f737 |
722
package-lock.json
generated
722
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
17
package.json
17
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartenv",
|
||||
"version": "4.0.7",
|
||||
"version": "4.0.8",
|
||||
"description": "store things about your environment and let them travel across modules",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
@ -24,16 +24,17 @@
|
||||
"homepage": "https://gitlab.com/pushrocks/smartenv",
|
||||
"dependencies": {
|
||||
"@pushrocks/smartparam": "^1.0.4",
|
||||
"@pushrocks/smartpromise": "^3.0.2",
|
||||
"@types/node": "^12.7.2"
|
||||
"@pushrocks/smartpromise": "^3.0.6",
|
||||
"@types/node": "^12.12.7",
|
||||
"is-wsl": "^2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.11",
|
||||
"@gitzone/tsbuild": "^2.1.17",
|
||||
"@gitzone/tsrun": "^1.2.8",
|
||||
"@gitzone/tstest": "^1.0.24",
|
||||
"@pushrocks/tapbundle": "^3.0.11",
|
||||
"@types/npm": "^2.0.29",
|
||||
"tslint": "^5.19.0",
|
||||
"@gitzone/tstest": "^1.0.28",
|
||||
"@pushrocks/tapbundle": "^3.0.13",
|
||||
"@types/npm": "^2.0.31",
|
||||
"tslint": "^5.20.1",
|
||||
"tslint-config-prettier": "^1.18.0"
|
||||
},
|
||||
"private": false,
|
||||
|
@ -36,6 +36,10 @@ export class Smartenv {
|
||||
return this.runtimeEnv === 'node';
|
||||
}
|
||||
|
||||
public get isWsl(): boolean {
|
||||
return plugins.isWsl;
|
||||
}
|
||||
|
||||
public get nodeVersion(): string {
|
||||
return process.version;
|
||||
}
|
||||
|
@ -1,4 +1,12 @@
|
||||
import * as smartparam from '@pushrocks/smartparam';
|
||||
import * as smartq from '@pushrocks/smartpromise';
|
||||
import * as smartpromise from '@pushrocks/smartpromise';
|
||||
|
||||
export { smartparam, smartq };
|
||||
export { smartparam, smartpromise };
|
||||
|
||||
// third party scope
|
||||
|
||||
import isWsl from 'is-wsl';
|
||||
|
||||
export {
|
||||
isWsl
|
||||
};
|
||||
|
Reference in New Issue
Block a user