update build

pull/34/head
Vladimir Mandic 2020-12-23 11:30:18 -05:00
parent 0692fbf532
commit 4bc96602c2
7 changed files with 13 additions and 8 deletions

View File

@ -1,5 +1,10 @@
#!/usr/bin/env -S node --trace-warnings
/* eslint-disable no-restricted-syntax */
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable node/no-unpublished-require */
/* eslint-disable node/shebang */
const fs = require('fs');
const esbuild = require('esbuild');
const ts = require('typescript');
@ -22,7 +27,7 @@ const tsconfig = {
target: ts.ScriptTarget.ES2018,
module: ts.ModuleKind.ES2020,
// outFile: "dist/face-api.d.ts",
outDir: "types/",
outDir: 'types/',
declaration: true,
emitDeclarationOnly: true,
emitDecoratorMetadata: true,
@ -31,7 +36,7 @@ const tsconfig = {
strictNullChecks: true,
baseUrl: './',
paths: {
tslib: ["node_modules/tslib/tslib.d.ts"]
tslib: ['node_modules/tslib/tslib.d.ts'],
},
};

View File

@ -1077,7 +1077,7 @@
]
},
"package.json": {
"bytes": 1719,
"bytes": 1727,
"imports": []
},
"src/xception/extractParams.ts": {

View File

@ -1077,7 +1077,7 @@
]
},
"package.json": {
"bytes": 1719,
"bytes": 1727,
"imports": []
},
"src/xception/extractParams.ts": {

2
dist/face-api.json vendored
View File

@ -1077,7 +1077,7 @@
]
},
"package.json": {
"bytes": 1719,
"bytes": 1727,
"imports": []
},
"src/xception/extractParams.ts": {

View File

@ -1077,7 +1077,7 @@
]
},
"package.json": {
"bytes": 1719,
"bytes": 1727,
"imports": []
},
"src/xception/extractParams.ts": {

View File

@ -1077,7 +1077,7 @@
]
},
"package.json": {
"bytes": 1719,
"bytes": 1727,
"imports": []
},
"src/xception/extractParams.ts": {

View File

@ -11,7 +11,7 @@
},
"scripts": {
"start": "node --trace-warnings example/node-singleprocess.js",
"build": "rimraf dist/* && node ./build.js",
"build": "rimraf dist/* types/* && node ./build.js",
"lint": "eslint src/**/*"
},
"keywords": [