@iceworks/config
v1.0.6
Published
```js import * as iceworksConfig from '@iceworks/config';
Downloads
5
Keywords
Readme
@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