1.0.6 • Published 5 years ago
@iceworks/config v1.0.6
@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
5 years ago
1.0.6-alpha.3
5 years ago
1.0.6-alpha.2
5 years ago
1.0.6-alpha.4
5 years ago
1.0.6-alpha.1
5 years ago
1.0.6-alpha.0
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.2
5 years ago
1.0.3
5 years ago
1.0.1
5 years ago