rename CLI to runner
This commit is contained in:
parent
fe756603d9
commit
09677dada5
23 changed files with 56 additions and 56 deletions
4699
runner/package-lock.json
generated
Normal file
4699
runner/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
17
runner/package.json
Normal file
17
runner/package.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "codeql-runner",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"description": "CodeQL runner",
|
||||
"scripts": {
|
||||
"build-runner": "webpack --mode production && pkg dist/codeql-runner.js --out-path dist"
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"pkg": "^4.4.9",
|
||||
"ts-loader": "8.0.2",
|
||||
"webpack": "^4.44.1",
|
||||
"webpack-cli": "^3.3.12"
|
||||
}
|
||||
}
|
||||
25
runner/webpack.config.js
Normal file
25
runner/webpack.config.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: '../src/runner.ts',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.ts$/,
|
||||
use: 'ts-loader',
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
],
|
||||
},
|
||||
target: 'node',
|
||||
resolve: {
|
||||
extensions: [ '.ts', '.js' ],
|
||||
},
|
||||
output: {
|
||||
filename: 'codeql-runner.js',
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
},
|
||||
optimization: {
|
||||
minimize: false
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue