cleanup plugin.js
This commit is contained in:
parent
6035b5d038
commit
ae81e2aae5
@ -22,7 +22,7 @@
|
|||||||
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js build",
|
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js build",
|
||||||
"test": "qode ./node_modules/.bin/jest",
|
"test": "qode ./node_modules/.bin/jest",
|
||||||
"lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",
|
"lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",
|
||||||
"lint:ts": "tsc --noEmit && eslint './src/**/*.{ts,tsx}' --fix"
|
"lint:ts": "tsc --noEmit && eslint './src/**/*.{ts,tsx,js,jsx}' --fix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nodegui/qode": "^1.0.5",
|
"@nodegui/qode": "^1.0.5",
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
const path = require("path");
|
const path = require('path');
|
||||||
|
|
||||||
const NODEGUI_ROOT = path.resolve(__dirname, "..");
|
const NODEGUI_ROOT = path.resolve(__dirname, '..');
|
||||||
const CMAKE_HELPER_DIR = path.resolve(NODEGUI_ROOT, "config");
|
const CMAKE_HELPER_DIR = path.resolve(NODEGUI_ROOT, 'config');
|
||||||
const CMAKE_HELPER_FILE = path.resolve(CMAKE_HELPER_DIR, "plugin.cmake");
|
const CMAKE_HELPER_FILE = path.resolve(CMAKE_HELPER_DIR, 'plugin.cmake');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
CMAKE_HELPER_FILE,
|
CMAKE_HELPER_FILE,
|
||||||
CMAKE_HELPER_DIR,
|
CMAKE_HELPER_DIR,
|
||||||
NODEGUI_ROOT
|
NODEGUI_ROOT,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user