mirror of https://github.com/aminya/setup-cpp
120 lines
3.5 KiB
JSON
120 lines
3.5 KiB
JSON
{
|
|
"name": "setup-cpp",
|
|
"version": "0.13.1",
|
|
"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": "run-p test.tsc build.parcel copy.matchers",
|
|
"build.docker": "pnpm build && docker build -f ./building/docker/ubuntu_node.dockerfile -t setup_cpp .",
|
|
"build.parcel": "shx rm -rf ./dist/*.js ./dist/*.js.map && cross-env NODE_ENV=production parcel build --detailed-report",
|
|
"bump": "ncu -u -x execa && pnpm update",
|
|
"clean": "shx rm -rf .parcel-cache dist exe",
|
|
"copy.matchers": "shx rm -rf ./dist/*.json && 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 ./building/scripts/pack-exe.js",
|
|
"prepare": "npm run build",
|
|
"start.docker": "docker run -t setup_cpp .",
|
|
"test": "run-p test.format test.lint test.cspell test.tsc test.unit",
|
|
"test.cspell": "cspell lint --no-progress --show-suggestions",
|
|
"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.6.0",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/io": "^1.1.2",
|
|
"@actions/tool-cache": "^1.7.2",
|
|
"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#v3.1.2",
|
|
"time-delta": "github:aminya/time-delta#69d91a41cef28e569be9a2991129f5f7d1f0d00e",
|
|
"untildify": "^4.0.0",
|
|
"which": "^2.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cross-spawn": "^6.0.2",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/mri": "^1.1.1",
|
|
"@types/node": "^17.0.24",
|
|
"@types/semver": "^7.3.9",
|
|
"@types/which": "^2.0.1",
|
|
"caxa": "^2.1.0",
|
|
"cross-env": "7.0.3",
|
|
"cross-spawn": "^7.0.3",
|
|
"cspell": "^5.19.7",
|
|
"eslint": "^8.13.0",
|
|
"eslint-config-atomic": "^1.17.1",
|
|
"jest": "^27.5.1",
|
|
"loose-ts-check": "^1.2.0",
|
|
"npm-check-updates": "^12.5.9",
|
|
"npm-run-all2": "^5.0.2",
|
|
"parcel": "^2.4.1",
|
|
"prettier": "2.6.2",
|
|
"prettier-config-atomic": "^3.0.9",
|
|
"shx": "0.3.4",
|
|
"terser-config-atomic": "^0.1.1",
|
|
"ts-jest": "^27.1.4",
|
|
"typescript": "^4.6.3"
|
|
},
|
|
"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.13.0",
|
|
"prettier": "2.6.2",
|
|
"lru-cache": "7.8.1",
|
|
"core-js": "*",
|
|
"babel-eslint": "npm:@babel/eslint-parser"
|
|
},
|
|
"peerDependencyRules": {
|
|
"allowedVersions": {
|
|
"eslint": "*"
|
|
}
|
|
}
|
|
},
|
|
"targets": {
|
|
"main": {
|
|
"context": "node",
|
|
"includeNodeModules": true,
|
|
"optimize": true
|
|
}
|
|
}
|
|
}
|