diff --git a/package.json b/package.json index c5d38e1..403a2c7 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "subresources": "^1.0.1" }, "scripts": { - "build": "tsc -p tsconfig.json", + "build": "tsc -p tsconfig.prod.json", + "dev": "tsc -p tsconfig.json -w", "lint": "prettier '**/*.{ts,md,yml,json}' '!python_modules/**' --check" }, "devDependencies": { @@ -18,8 +19,7 @@ "@types/node-fetch": "^2.5.10", "@types/serve-static": "^1.13.9", "@types/split2": "^3.2.0", - "typescript": "^4.3.2", - "yaml": "^1.10.2" + "typescript": "^4.3.2" }, "optionalDependencies": { "prettier": "^2.3.1", diff --git a/tsconfig.prod.json b/tsconfig.prod.json new file mode 100644 index 0000000..389f5c2 --- /dev/null +++ b/tsconfig.prod.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig", + "exclude": ["test/**"] +}