test-post-build 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/post-install.js +1 -1
package/package.json
CHANGED
package/post-install.js
CHANGED
@@ -31,7 +31,7 @@ function produceContent(json) {
|
|
31
31
|
return [...array, ` ${key.toUpperCase()} = '${value}',`];
|
32
32
|
}, ['export enum DeploymentConfigs {']), '}', '', 'declare const config: DeploymentConfigs;', 'export default config;', ''];
|
33
33
|
|
34
|
-
writeFileSync('
|
34
|
+
writeFileSync('main.d.ts', deployment_config_array.join('\n'), { encoding: 'utf-8' });
|
35
35
|
writeFileSync('deployment.json', JSON.stringify(config, null, 2), { encoding: 'utf-8' });
|
36
36
|
}
|
37
37
|
|