๐Ÿ“ฆ theajack / jsbox

๐Ÿ“„ ebuild.config.js ยท 23 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23module.exports = {
    'tranToEs5InNpm': true, // wether use babel
    'packageFiles': [
        './package.json'
        // config which package.json files need to modify version
        // '../npm/package.json', // this is an example
    ],
    'versioJsEs6Module': true, // use es6(export default) or require(module.exports=)
    'versioJsFiles': [
        // config which version.js files need to modify version
        // '../npm/version.js', // this is an example
    ],
    'libraryName': '', // cdn global name
    'cdnFileName': '',
    'version': '0.0.1',
    'npmExternals': {
        // example
        // 'md5': 'md5'
    },
    'npmPaths': [
        'npm'
    ]
};