mirror of https://github.com/aminya/setup-cpp
chore: add dependencies and build script
This commit is contained in:
parent
cd543e97d0
commit
aec4d20a7b
|
@ -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"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue