mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "terminus",
|
||||
"version": "0.0.1",
|
||||
"description": "A terminal for a modern age",
|
||||
"author": "Eugene Pankov",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"build": "../node_modules/.bin/webpack --progress --color --display-modules",
|
||||
|
@@ -12,6 +12,12 @@ function normalizePath (path: string): string {
|
||||
};
|
||||
|
||||
(<any>global).require.main.paths.map(x => nodeModule.globalPaths.push(normalizePath(x)))
|
||||
nodeModule.globalPaths.unshift(
|
||||
path.join(
|
||||
path.dirname(require('electron').remote.app.getPath('exe')),
|
||||
'resources/builtin-plugins/node_modules',
|
||||
)
|
||||
)
|
||||
|
||||
if (process.env.TERMINUS_PLUGINS) {
|
||||
process.env.TERMINUS_PLUGINS.split(':').map(x => nodeModule.globalPaths.unshift(normalizePath(x)))
|
||||
|
@@ -56,6 +56,7 @@ module.exports = {
|
||||
'@angular/common': 'commonjs @angular/common',
|
||||
'@ng-bootstrap/ng-bootstrap': 'commonjs @ng-bootstrap/ng-bootstrap',
|
||||
'fs-promise': 'commonjs fs-promise',
|
||||
'electron': 'commonjs electron',
|
||||
'module': 'commonjs module',
|
||||
'path': 'commonjs path',
|
||||
'rxjs': 'commonjs rxjs',
|
||||
|
Reference in New Issue
Block a user