2021-09-14 14:50:57 +08:00
|
|
|
{
|
|
|
|
"name": "setup-cpp",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"author": "Amin Yahyaabadi",
|
2021-09-14 14:57:47 +08:00
|
|
|
"description": "Install all the tools required for building and testing C++/C projects.",
|
2021-09-14 14:50:57 +08:00
|
|
|
"repository": "https://github.com/aminya/setup-cpp",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"scripts": {
|
|
|
|
"format": "prettier --write .",
|
|
|
|
"lint": "eslint . --fix",
|
2021-09-15 14:29:57 +08:00
|
|
|
"clean": "shx rm -rf dist exe",
|
2021-09-14 14:50:57 +08:00
|
|
|
"dev": "cross-env NODE_ENV=development parcel watch",
|
2021-09-14 15:47:05 +08:00
|
|
|
"build": "cross-env NODE_ENV=production parcel build --detailed-report",
|
2021-09-15 04:23:45 +08:00
|
|
|
"prepare": "git submodule update --init --recursive && npm run build",
|
2021-09-14 15:49:18 +08:00
|
|
|
"test.format": "prettier . --check",
|
|
|
|
"test.lint": "eslint .",
|
2021-09-14 16:13:29 +08:00
|
|
|
"test.tsc": "tsc --noEmit",
|
2021-09-16 17:29:34 +08:00
|
|
|
"test.unit": "jest --runInBand",
|
2021-09-15 14:29:57 +08:00
|
|
|
"test": "run-p test.format test.lint test.tsc test.unit",
|
2021-09-18 20:06:59 +08:00
|
|
|
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./building/scripts/pack-exe.js",
|
2021-09-19 01:05:52 +08:00
|
|
|
"build.docker": "pnpm build && docker build -f ./building/docker/debian.dockerfile -t setup_cpp .",
|
2021-09-18 20:06:59 +08:00
|
|
|
"start.docker": "docker run -t setup_cpp ."
|
2021-09-14 14:50:57 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=12.x"
|
|
|
|
},
|
2021-09-18 02:19:10 +08:00
|
|
|
"main": "./dist/setup_cpp.js",
|
|
|
|
"bin": {
|
|
|
|
"setup_cpp": "./dist/setup_cpp.js",
|
|
|
|
"setup-cpp": "./dist/setup_cpp.js"
|
|
|
|
},
|
2021-09-14 14:50:57 +08:00
|
|
|
"source": "./src/main.ts",
|
|
|
|
"targets": {
|
|
|
|
"main": {
|
|
|
|
"context": "node",
|
2021-09-14 15:47:05 +08:00
|
|
|
"includeNodeModules": true,
|
|
|
|
"optimize": true
|
2021-09-14 14:50:57 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"prettier": "prettier-config-atomic",
|
2021-09-14 19:12:17 +08:00
|
|
|
"dependencies": {
|
2021-09-14 15:33:49 +08:00
|
|
|
"@actions/core": "^1.5.0",
|
2021-09-15 01:40:42 +08:00
|
|
|
"@actions/exec": "^1.1.0",
|
2021-09-14 16:18:36 +08:00
|
|
|
"@actions/io": "^1.1.1",
|
2021-09-14 15:33:49 +08:00
|
|
|
"@actions/tool-cache": "^1.7.1",
|
2021-09-18 21:13:23 +08:00
|
|
|
"execa": "^5.1.1",
|
2021-09-14 20:02:59 +08:00
|
|
|
"hasha": "^5.2.2",
|
2021-09-18 01:51:59 +08:00
|
|
|
"mri": "^1.2.0",
|
2021-09-15 01:40:42 +08:00
|
|
|
"semver": "^7.3.5",
|
2021-09-18 02:54:30 +08:00
|
|
|
"untildify": "^4.0.0",
|
2021-09-15 01:40:42 +08:00
|
|
|
"which": "^2.0.2"
|
2021-09-14 19:12:17 +08:00
|
|
|
},
|
2021-09-16 18:29:52 +08:00
|
|
|
"pnpm": {
|
|
|
|
"overrides": {
|
|
|
|
"semver": "7.3.5"
|
|
|
|
}
|
|
|
|
},
|
2021-09-14 19:12:17 +08:00
|
|
|
"devDependencies": {
|
2021-09-17 18:21:00 +08:00
|
|
|
"@types/cross-spawn": "^6.0.2",
|
2021-09-14 16:18:36 +08:00
|
|
|
"@types/jest": "^27.0.1",
|
2021-09-18 01:51:59 +08:00
|
|
|
"@types/mri": "^1.1.1",
|
2021-09-14 14:50:57 +08:00
|
|
|
"@types/node": "^16.9.1",
|
2021-09-14 15:33:49 +08:00
|
|
|
"@types/semver": "^7.3.8",
|
2021-09-15 01:40:42 +08:00
|
|
|
"@types/which": "^2.0.1",
|
2021-09-15 14:29:57 +08:00
|
|
|
"caxa": "^2.1.0",
|
2021-09-14 14:50:57 +08:00
|
|
|
"cross-env": "7.0.3",
|
2021-09-17 18:21:00 +08:00
|
|
|
"cross-spawn": "^7.0.3",
|
2021-09-14 14:50:57 +08:00
|
|
|
"eslint-config-atomic": "^1.16.2",
|
2021-09-14 16:18:36 +08:00
|
|
|
"jest": "^27.2.0",
|
|
|
|
"npm-run-all2": "^5.0.2",
|
2021-09-14 15:33:49 +08:00
|
|
|
"parcel": "^2.0.0-rc.0",
|
2021-09-14 14:50:57 +08:00
|
|
|
"prettier-config-atomic": "^2.0.5",
|
|
|
|
"shx": "0.3.3",
|
|
|
|
"terser-config-atomic": "^0.1.1",
|
2021-09-14 16:18:36 +08:00
|
|
|
"ts-jest": "^27.0.5",
|
2021-09-17 18:21:00 +08:00
|
|
|
"typescript": "^4.4.3"
|
2021-09-14 14:50:57 +08:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"github-actions",
|
|
|
|
"actions",
|
|
|
|
"github",
|
|
|
|
"setup-cpp",
|
|
|
|
"c++",
|
|
|
|
"cpp",
|
|
|
|
"cxx",
|
|
|
|
"cc",
|
|
|
|
"llvm",
|
|
|
|
"clang",
|
|
|
|
"gcc",
|
|
|
|
"mingw",
|
|
|
|
"msvc",
|
|
|
|
"cl",
|
|
|
|
"cmake",
|
|
|
|
"ninja",
|
|
|
|
"meson"
|
2021-09-14 15:33:49 +08:00
|
|
|
]
|
2021-09-14 14:50:57 +08:00
|
|
|
}
|