diff --git a/.gitignore b/.gitignore index 7161dde..cb6333c 100644 --- a/.gitignore +++ b/.gitignore @@ -89,5 +89,7 @@ typings/ # Build Folders & Files dist/ - ./eslint/ + +# System Files +.DS_Store diff --git a/package.json b/package.json index 678200f..f262c3b 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,12 @@ "types" ], "scripts": { - "build": "ts-node-script scripts/build.ts", - "build-old": "tsc -b tsconfig.build.json", - "clean": "tsc -b tsconfig.build.json --clean", + "prepare": "npm run clean; npm run build", + "build-old": "ts-node-script scripts/build.ts", + "build": "tsc -b tsconfig.build.json", + "clean": "rm -r ./dist", "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", - "get-config": "ts-node-script -O '{\"noResolve\": false}' scripts/get-config.ts", + "get-config": "ts-node-script scripts/get-config.ts", "lint": "eslint . --ext .js,.ts", "typecheck": "tsc -p tsconfig.json --noEmit" },