git ssb

0+

cel-desktop / ssb-pkg



Tree: 1eb144e388da5f1a3466703f56ac4ab591d700fc

Files: 1eb144e388da5f1a3466703f56ac4ab591d700fc / dictionary / sails.js

1209 bytesRaw
1'use strict';
2
3module.exports = {
4 pkg: {
5 scripts: [
6 'lib/**/*.js'
7 ],
8 patches: {
9 'lib/hooks/moduleloader/index.js': [
10 'require(\'coffee-script/register\')',
11 ''
12 ],
13 'lib/app/configuration/index.js': [
14 'hook = require(hookBundled);',
15 'hook = require(hookBundled);' +
16 // force to take the whole package
17 'require(\'sails-hook-sockets\');'
18 ],
19 'lib/hooks/grunt/index.js': [
20 'var child = ChildProcess.fork(', '\n' +
21 'sails.log.warn(\'*******************************************************************\');\n' +
22 'sails.log.warn(\'** Pkg: Grunt hook is temporarily disabled in pkg-ed app **\');\n' +
23 'sails.log.warn(\'** Instead it should be run before compilation to prepare files **\');\n' +
24 'sails.log.warn(\'*******************************************************************\');\n' +
25 'sails.emit(\'hook:grunt:done\');\n' +
26 'return cb_afterTaskStarted();('
27 ],
28 'lib/hooks/orm/backwards-compatibility/upgrade-datastore.js': [
29 'if (!fs.existsSync(modulePath)) {',
30 'try { require(modulePath); } catch (e) {'
31 ]
32 }
33 }
34};
35

Built with git-ssb-web