1.0.6 • Published 4 years ago

@iceworks/config v1.0.6

Weekly downloads
12
License
-
Repository
-
Last release
4 years ago

@iceworks/config

import * as iceworksConfig from '@iceworks/config';

iceworksConfig.get();

Config

interface IConfig {
  npmClient?: string;
  registry?: string;
  unpkgHost?: string;
  'fusion-token'?: string;
  'fusion-token-ali'?: string;
}

API

get

const config = iceworksConfig.get();
const npmClient = iceworksConfig.get('npmClient');

set

const config = iceworksConfig.set('npmClient', 'cnpm');

remove

const config = iceworksConfig.remove('npmClient');

addProject

TODO

removeProject

TODO

addMaterial

TODO

removeMaterial

TODO

1.0.6

4 years ago

1.0.6-alpha.3

4 years ago

1.0.6-alpha.2

4 years ago

1.0.6-alpha.4

4 years ago

1.0.6-alpha.1

4 years ago

1.0.6-alpha.0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago