Skip to content

Commit

Permalink
refactor: 💚 improve build
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Sep 6, 2023
1 parent 2c3a843 commit 0f4f74c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "ootk",
"version": "2.0.1",
"version": "3.0.0",
"description": "Orbital Object Toolkit including SGP4 Propagator and Coordinate Transforms",
"main": "dist/ootk.js",
"scripts": {
"build": "node ./scripts/cleanup.js && tsc -p tsconfig.json && node --openssl-legacy-provider node_modules/webpack/bin/webpack.js --config ./scripts/webpack.js",
"build:legacy": "node ./scripts/cleanup.js && tsc && node node_modules/webpack/bin/webpack.js --config ./scripts/webpack.js",
"build": "node ./scripts/cleanup.js && tsc -p tsconfig.build.json && node --openssl-legacy-provider node_modules/webpack/bin/webpack.js --config ./scripts/webpack.js",
"build:legacy": "node ./scripts/cleanup.js && tsc -p tsconfig.build.json && node node_modules/webpack/bin/webpack.js --config ./scripts/webpack.js",
"lcov": "node ./scripts/openLcov.mjs",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
Expand Down
10 changes: 5 additions & 5 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/**
* This is the tsconfig extension that only applies to webpack.
*/
* This is the tsconfig extension that only applies to webpack.
*/
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist" /* Redirect output structure to the directory. */,
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
"outDir": "./lib" /* Redirect output structure to the directory. */,
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
},
"include": ["./src/**/*.ts"],
"filesGlob": ["./src/**/*.ts"],
"ignorePatterns": ["./src/sgp4/asc/**/*.ts"],
"exclude": ["./src/sgp4/asc/assembly/index.ts"]
}
}

0 comments on commit 0f4f74c

Please sign in to comment.