setup-cpp/package.json

128 lines
4.4 KiB
JSON

{
"name": "setup-cpp",
"version": "0.16.0",
"description": "Install all the tools required for building and testing C++/C projects.",
"repository": "https://github.com/aminya/setup-cpp",
"license": "Apache-2.0",
"author": "Amin Yahyaabadi",
"main": "./dist/setup_cpp.js",
"source": "./src/main.ts",
"bin": {
"setup-cpp": "./dist/setup_cpp.js",
"setup_cpp": "./dist/setup_cpp.js"
},
"scripts": {
"build": "shx rm -rf dist/ && shx mkdir ./dist && run-p test.tsc build.parcel copy.matchers",
"build.docker": "pnpm build && docker build -f ./dev/docker/ubuntu_node.dockerfile -t setup_cpp .",
"build.docker.arch": "pnpm build && docker build -f ./dev/docker/arch_node.dockerfile -t setup_cpp:arch .",
"build.docker.ubuntu": "pnpm build && docker build -f ./dev/docker/ubuntu_node.dockerfile -t setup_cpp:ubuntu .",
"build.parcel": "cross-env NODE_ENV=production parcel build --detailed-report",
"bump": "ncu -u -x execa,numerous && pnpm update",
"clean": "shx rm -rf .parcel-cache dist exe",
"copy.matchers": "shx cp ./src/gcc/gcc_matcher.json ./dist/ && shx cp ./src/msvc/msvc_matcher.json ./dist && shx cp ./src/python/python_matcher.json ./dist/ && shx cp ./src/llvm/llvm_matcher.json ./dist/ ",
"dev": "cross-env NODE_ENV=development parcel watch",
"format": "prettier --write .",
"lint": "eslint . --fix",
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./dev/scripts/pack-exe.js",
"prepare": "npm run build",
"start.docker": "docker run -t setup_cpp .",
"start.docker.arch": "docker run -t setup_cpp:arch .",
"start.docker.ubuntu": "docker run -t setup_cpp:ubuntu .",
"test": "run-p test.format test.lint test.cspell test.tsc test.unit",
"test.cspell": "cspell lint --no-progress --show-suggestions",
"test.docker.arch": "docker build -f ./dev/docker/arch_node.dockerfile --target base -t setup_cpp:arch-base . && container-structure-test test --image setup_cpp:arch-base --config ./dev/container-tests/arch.yml",
"test.docker.ubuntu": "docker build -f ./dev/docker/ubuntu_node.dockerfile --target base -t setup_cpp:ubuntu-base . && container-structure-test test --image setup_cpp:ubuntu-base --config ./dev/container-tests/ubuntu.yml",
"test.format": "prettier . --check",
"test.lint": "eslint .",
"test.tsc": "tsc --noEmit | loose-ts-check",
"test.unit": "jest --runInBand"
},
"prettier": "prettier-config-atomic",
"dependencies": {
"@actions/core": "^1.9.0",
"@actions/exec": "^1.1.1",
"@actions/io": "^1.1.2",
"@actions/tool-cache": "^2.0.1",
"escape-path-with-spaces": "^1.0.0",
"execa": "^5.1.1",
"mri": "^1.2.0",
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#9f672c1",
"numerous": "1.0.3",
"semver": "7.3.7",
"setup-python": "github:actions/setup-python#f0bcf8be037eba11327da6eaf40cd99a2a092494",
"time-delta": "github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e",
"ubuntu-version": "^2.0.0",
"untildify": "^4.0.0",
"which": "^2.0.2"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
"@types/jest": "^28.1.3",
"@types/mri": "^1.1.1",
"@types/node": "^18.0.0",
"@types/semver": "^7.3.10",
"@types/which": "^2.0.1",
"caxa": "^2.1.0",
"cross-env": "7.0.3",
"cross-spawn": "^7.0.3",
"cspell": "^6.1.2",
"eslint": "^8.18.0",
"eslint-config-atomic": "^1.18.1",
"jest": "^28.1.1",
"loose-ts-check": "^1.2.0",
"npm-check-updates": "^14.1.1",
"npm-run-all2": "^6.0.1",
"parcel": "2.6.2",
"prettier": "2.7.1",
"prettier-config-atomic": "^3.0.10",
"shx": "0.3.4",
"terser-config-atomic": "^0.1.1",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
},
"engines": {
"node": ">=12.x"
},
"keywords": [
"github-actions",
"actions",
"github",
"setup-cpp",
"c++",
"cpp",
"cxx",
"cc",
"llvm",
"clang",
"gcc",
"mingw",
"msvc",
"cl",
"cmake",
"ninja",
"meson"
],
"pnpm": {
"overrides": {
"semver": "7.3.7",
"eslint": "^8.18.0",
"prettier": "2.7.1",
"lru-cache": "7.8.1",
"core-js": "*",
"babel-eslint": "npm:@babel/eslint-parser"
},
"peerDependencyRules": {
"allowedVersions": {
"eslint": "*"
}
}
},
"targets": {
"main": {
"context": "node",
"includeNodeModules": true,
"optimize": true
}
}
}