chore: reduce the package size [skip ci]

This commit is contained in:
Amin Yahyaabadi 2023-05-26 13:20:42 -07:00
parent b736d88166
commit 95a1362194
1 changed files with 8 additions and 4 deletions

View File

@ -9,20 +9,24 @@
"import": "./dist/node12/setup-cpp.mjs", "import": "./dist/node12/setup-cpp.mjs",
"require": "./dist/node12/setup-cpp.js" "require": "./dist/node12/setup-cpp.js"
}, },
"main": "./dist/node12/setup-cpp.js", "main": "dist/node12/setup-cpp.js",
"source": "./src/main.ts", "source": "./src/main.ts",
"bin": { "bin": {
"setup-cpp": "./dist/node12/setup-cpp.js" "setup-cpp": "dist/node12/setup-cpp.js"
}, },
"files": [ "files": [
"action.yml",
".dockerignore",
"dist", "dist",
"src", "src",
"packages", "packages",
"dev", "dev/docker",
"dev/container-tests",
"README.md", "README.md",
"LICENSE.txt", "LICENSE.txt",
"LICENSE.dependencies.txt", "LICENSE.dependencies.txt",
"package.json", "package.json",
"package-version.json",
"tsconfig.json" "tsconfig.json"
], ],
"scripts": { "scripts": {
@ -44,7 +48,7 @@
"lint.prettier": "prettier --list-different --write .", "lint.prettier": "prettier --list-different --write .",
"lint.tsc": "tsc --noEmit", "lint.tsc": "tsc --noEmit",
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./dev/scripts/pack-exe.mjs", "pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./dev/scripts/pack-exe.mjs",
"prepare": "pnpm run -r build && pnpm run -w build", "prepare": "pnpm run -r build && pnpm run -w build && rm ./dist/tsconfig.tsbuildinfo",
"start.docker": "docker run -t setup-cpp .", "start.docker": "docker run -t setup-cpp .",
"start.docker.arch": "docker run -t setup-cpp:arch .", "start.docker.arch": "docker run -t setup-cpp:arch .",
"start.docker.fedora": "docker run -t setup-cpp:fedora .", "start.docker.fedora": "docker run -t setup-cpp:fedora .",