chore: add dependencies and build script

This commit is contained in:
Amin Yahyaabadi 2021-09-14 01:50:57 -05:00
parent cd543e97d0
commit aec4d20a7b
3 changed files with 6593 additions and 0 deletions

62
package.json Normal file
View File

@ -0,0 +1,62 @@
{
"name": "setup-cpp",
"version": "0.1.0",
"author": "Amin Yahyaabadi",
"description": "Install all the tools required for building and testing C++ projects.",
"repository": "https://github.com/aminya/setup-cpp",
"license": "Apache-2.0",
"scripts": {
"format": "prettier --write .",
"test.format": "prettier . --check",
"lint": "eslint . --fix",
"test.lint": "eslint .",
"clean": "shx rm -rf dist",
"tsc": "tsc -p src/tsconfig.json || echo done",
"dev": "cross-env NODE_ENV=development parcel watch",
"build": "cross-env NODE_ENV=production parcel build",
"prepare": "npm run build"
},
"engines": {
"node": ">=12.x"
},
"main": "./dist/main.js",
"source": "./src/main.ts",
"targets": {
"main": {
"context": "node",
"includeNodeModules": true
}
},
"prettier": "prettier-config-atomic",
"devDependencies": {
"@types/node": "^16.9.1",
"cross-env": "7.0.3",
"eslint-config-atomic": "^1.16.2",
"prettier-config-atomic": "^2.0.5",
"shx": "0.3.3",
"terser-config-atomic": "^0.1.1",
"typescript": "^4.4.3"
},
"keywords": [
"github-actions",
"actions",
"github",
"setup-cpp",
"c++",
"cpp",
"cxx",
"cc",
"llvm",
"clang",
"gcc",
"mingw",
"msvc",
"cl",
"cmake",
"ninja",
"meson"
],
"dependencies": {
"parcel": "^2.0.0-rc.0"
}
}

6500
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

31
src/tsconfig.json Normal file
View File

@ -0,0 +1,31 @@
{
"compilerOptions": {
"strict": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noFallthroughCasesInSwitch": true,
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"incremental": true,
"inlineSourceMap": true,
"inlineSources": true,
"preserveSymlinks": true,
"removeComments": false,
"jsx": "react",
"lib": ["ES2018", "dom"],
"target": "ES2018",
"allowJs": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"module": "commonjs",
"moduleResolution": "node",
"importHelpers": false,
"outDir": "../dist"
},
"compileOnSave": false
}