mirror of
https://github.com/tiennm99/FBcount.git
synced 2026-08-05 22:12:07 +00:00
Init
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'apis/*.json',
|
||||
'lib/services/*.js'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
// https://github.com/chjj/blessed/issues/298
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'lib/widgets/*.js'
|
||||
]
|
||||
}
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'lib/types/*.js' // for 1.4-1.13
|
||||
]
|
||||
}
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
assets: [
|
||||
'bin/*.txt'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'lib/*.js'
|
||||
]
|
||||
}
|
||||
};
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'lib/bunyan.js': [
|
||||
'mv = require(\'mv\' + \'\');',
|
||||
'mv = require(\'mv\');'
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'lib/types/*.js'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'lib/coffee-script/*.js'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'lib/middleware/*.js'
|
||||
],
|
||||
assets: [
|
||||
'lib/public/**/*' // for connect@2.3
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'platform/win32.js': [
|
||||
'".\\\\fallbacks\\\\paste.vbs"',
|
||||
'"./fallbacks/paste.vbs"'
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
// author is mistaken to point package.json.main to
|
||||
// src/index.js (that is es6) instead of dist/index.js (es5)
|
||||
'src/index.js': [
|
||||
{ do: 'erase' },
|
||||
''
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
assets: [
|
||||
'src/view/**/*',
|
||||
'src/js/view/**/*'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'build/scripts.js': [
|
||||
'path.join(__dirname, \'..\', \'scripts\')',
|
||||
'path.join(path.dirname(process.execPath), \'drivelist\')'
|
||||
],
|
||||
'lib/scripts.js': [
|
||||
'path.join(__dirname, \'..\', \'scripts\')',
|
||||
'path.join(path.dirname(process.execPath), \'drivelist\')' // for 4.0.0
|
||||
]
|
||||
},
|
||||
deployFiles: [
|
||||
[ 'build/Release/drivelist.node', 'drivelist.node' ],
|
||||
[ 'scripts/darwin.sh', 'drivelist/darwin.sh' ],
|
||||
[ 'scripts/linux.sh', 'drivelist/linux.sh' ],
|
||||
[ 'scripts/win32.bat', 'drivelist/win32.bat' ]
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'index.js': [
|
||||
'path.join(__dirname, fs',
|
||||
'path.join(path.dirname(process.execPath), \'electron\', fs'
|
||||
]
|
||||
},
|
||||
deployFiles: [
|
||||
[ 'dist', 'electron/dist', 'directory' ],
|
||||
[ '../sliced/index.js', 'node_modules/sliced/index.js' ],
|
||||
[ '../deep-defaults/lib/index.js', 'node_modules/deep-defaults/index.js' ]
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
assets: [
|
||||
'public/**/*'
|
||||
]
|
||||
}
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
assets: [
|
||||
'lib/static/*'
|
||||
]
|
||||
}
|
||||
};
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'lib/rules/*.js',
|
||||
'lib/formatters/*.js'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
assets: [
|
||||
// TODO look at exceljs and implement as
|
||||
// many __dirname use cases as possible
|
||||
'lib/**/*.xml'
|
||||
],
|
||||
patches: {
|
||||
'lib/stream/xlsx/workbook-writer.js': [
|
||||
'require.resolve(\'../../xlsx/xml/theme1.xml\')',
|
||||
'require(\'path\').join(__dirname, \'../../xlsx/xml/theme1.xml\')'
|
||||
],
|
||||
'lib/xlsx/xlsx.js': [
|
||||
'require.resolve(\'./xml/theme1.xml\')',
|
||||
'require(\'path\').join(__dirname, \'./xml/theme1.xml\')'
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'index.js': [
|
||||
'path.join(__dirname, \'vendor\', \'exiftool.exe\')',
|
||||
'path.join(path.dirname(process.execPath), \'exiftool.exe\')'
|
||||
]
|
||||
},
|
||||
deployFiles: [
|
||||
[ 'vendor/exiftool.exe', 'exiftool.exe' ]
|
||||
]
|
||||
}
|
||||
};
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'index.js': [
|
||||
'path.join(__dirname, \'vendor\', \'exiftool\')',
|
||||
'path.join(path.dirname(process.execPath), \'exiftool\')'
|
||||
]
|
||||
},
|
||||
deployFiles: [
|
||||
[ 'vendor/exiftool', 'exiftool' ]
|
||||
]
|
||||
}
|
||||
};
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'lib/express-load.js': [
|
||||
'entity = path.resolve(',
|
||||
'entity = process.pkg.path.resolve('
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'lib/view.js': [
|
||||
'path = join(this.root, path)',
|
||||
'path = process.pkg.path.resolve(this.root, path)', // for 3.x
|
||||
'loc = resolve(root, name)',
|
||||
'loc = process.pkg.path.resolve(root, name)' // for 4.x
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
|
||||
// в declare.js грязный хак.
|
||||
// если в тексте(!) функции есть подстрока "super"
|
||||
// (см SUPER_REGEXP), то её надо оборачивать особым
|
||||
// способом (см functionWrapper). поэтому все пакеты,
|
||||
// которые зависят от declare.js - надо проработать.
|
||||
// хотя бы те файлы, функции в которых попадают в
|
||||
// functionWrapper
|
||||
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
assets: [
|
||||
'data/*'
|
||||
]
|
||||
}
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
assets: [
|
||||
'lib/routes.json'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'index.js': [
|
||||
'require.resolve(\'./compiler.jar\')',
|
||||
'require(\'path\').join(require(\'path\').dirname(process.execPath), \'compiler/compiler.jar\')'
|
||||
]
|
||||
},
|
||||
deployFiles: [
|
||||
[ 'compiler.jar', 'compiler/compiler.jar' ]
|
||||
]
|
||||
}
|
||||
};
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'lib/node/closure-compiler.js': [
|
||||
'require.resolve(\'../../compiler.jar\')',
|
||||
'require(\'path\').join(require(\'path\').dirname(process.execPath), \'compiler/compiler.jar\')'
|
||||
]
|
||||
},
|
||||
deployFiles: [
|
||||
[ 'compiler.jar', 'compiler/compiler.jar' ]
|
||||
]
|
||||
}
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'apis/**/*.js'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'graceful-fs.js': [
|
||||
{ do: 'prepend' },
|
||||
'if ((function() {\n' +
|
||||
' var version = require(\'./package.json\').version;\n' +
|
||||
' var major = parseInt(version.split(\'.\')[0]);\n' +
|
||||
' if (major < 4) {\n' +
|
||||
' module.exports = require(\'fs\');\n' +
|
||||
' return true;\n' +
|
||||
' }\n' +
|
||||
'})()) return;\n'
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
files: [
|
||||
// suppress because hundreds of
|
||||
// C++ files go inside executable
|
||||
],
|
||||
assets: [
|
||||
'etc/*.pem',
|
||||
'deps/grpc/etc/*.pem'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'j.js': [
|
||||
'require(\'xl\'+\'sx\')',
|
||||
'require(\'xlsx\')',
|
||||
'require(\'xl\'+\'sjs\')',
|
||||
'require(\'xlsjs\')',
|
||||
'require(\'ha\'+\'rb\')',
|
||||
'require(\'harb\')'
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'lib/**/*.js'
|
||||
]
|
||||
}
|
||||
};
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
scripts: [
|
||||
'later.js'
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'binding.js': [
|
||||
'__dirname',
|
||||
'require(\'path\').dirname(process.execPath)'
|
||||
]
|
||||
},
|
||||
deployFiles: [
|
||||
[ 'prebuilds', 'prebuilds', 'directory' ]
|
||||
]
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
pkg: {
|
||||
patches: {
|
||||
'index.js': [
|
||||
'resolve.sync(this.moduleName, {basedir: configBase || cwd, paths: paths})',
|
||||
'resolve.sync(this.moduleName, {basedir: configBase || require.main.filename, paths: paths})'
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user