123456789101112131415161718 |
- 'use strict';
- /**
- *
- *
- * @author Mai
- * @date
- * @version
- */
- const fs = require('fs');
- const path = require('path');
- const filename = path.join(path.resolve(__dirname, '..'), 'package.json');
- const packageJSON = JSON.parse(fs.readFileSync(filename, 'utf8'));
- packageJSON.name = 'calc_minusNoValue' ;
- packageJSON.scripts['start-qa-minus'] = "egg-scripts start --daemon --port 7005";
- fs.writeFileSync(filename, JSON.stringify(packageJSON, '', '\t'));
|