|
1 | 1 | {
|
2 | 2 | "name": "setup-cpp",
|
3 | 3 | "version": "0.1.0",
|
4 |
| - "author": "Amin Yahyaabadi", |
5 | 4 | "description": "Install all the tools required for building and testing C++/C projects.",
|
6 | 5 | "repository": "https://github.com/aminya/setup-cpp",
|
7 | 6 | "license": "Apache-2.0",
|
| 7 | + "author": "Amin Yahyaabadi", |
| 8 | + "main": "./dist/setup_cpp.js", |
| 9 | + "source": "./src/main.ts", |
| 10 | + "bin": { |
| 11 | + "setup-cpp": "./dist/setup_cpp.js", |
| 12 | + "setup_cpp": "./dist/setup_cpp.js" |
| 13 | + }, |
8 | 14 | "scripts": {
|
9 |
| - "format": "prettier --write .", |
10 |
| - "lint": "eslint . --fix", |
| 15 | + "build": "cross-env NODE_ENV=production parcel build --detailed-report", |
| 16 | + "build.docker": "pnpm build && docker build -f ./building/docker/debian.dockerfile -t setup_cpp .", |
11 | 17 | "clean": "shx rm -rf dist exe",
|
12 | 18 | "dev": "cross-env NODE_ENV=development parcel watch",
|
13 |
| - "build": "cross-env NODE_ENV=production parcel build --detailed-report", |
| 19 | + "format": "prettier --write .", |
| 20 | + "lint": "eslint . --fix", |
| 21 | + "pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./building/scripts/pack-exe.js", |
14 | 22 | "prepare": "git submodule update --init --recursive && npm run build",
|
| 23 | + "start.docker": "docker run -t setup_cpp .", |
| 24 | + "test": "run-p test.format test.lint test.tsc test.unit", |
15 | 25 | "test.format": "prettier . --check",
|
16 | 26 | "test.lint": "eslint .",
|
17 | 27 | "test.tsc": "tsc --noEmit",
|
18 |
| - "test.unit": "jest --runInBand", |
19 |
| - "test": "run-p test.format test.lint test.tsc test.unit", |
20 |
| - "pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./building/scripts/pack-exe.js", |
21 |
| - "build.docker": "pnpm build && docker build -f ./building/docker/debian.dockerfile -t setup_cpp .", |
22 |
| - "start.docker": "docker run -t setup_cpp ." |
23 |
| - }, |
24 |
| - "engines": { |
25 |
| - "node": ">=12.x" |
26 |
| - }, |
27 |
| - "main": "./dist/setup_cpp.js", |
28 |
| - "bin": { |
29 |
| - "setup_cpp": "./dist/setup_cpp.js", |
30 |
| - "setup-cpp": "./dist/setup_cpp.js" |
31 |
| - }, |
32 |
| - "source": "./src/main.ts", |
33 |
| - "targets": { |
34 |
| - "main": { |
35 |
| - "context": "node", |
36 |
| - "includeNodeModules": true, |
37 |
| - "optimize": true |
38 |
| - } |
| 28 | + "test.unit": "jest --runInBand" |
39 | 29 | },
|
40 | 30 | "prettier": "prettier-config-atomic",
|
41 | 31 | "dependencies": {
|
|
50 | 40 | "untildify": "^4.0.0",
|
51 | 41 | "which": "^2.0.2"
|
52 | 42 | },
|
53 |
| - "pnpm": { |
54 |
| - "overrides": { |
55 |
| - "semver": "7.3.5" |
56 |
| - } |
57 |
| - }, |
58 | 43 | "devDependencies": {
|
59 | 44 | "@types/cross-spawn": "^6.0.2",
|
60 | 45 | "@types/jest": "^27.0.2",
|
61 | 46 | "@types/mri": "^1.1.1",
|
62 |
| - "@types/node": "^16.10.2", |
| 47 | + "@types/node": "^16.10.3", |
63 | 48 | "@types/semver": "^7.3.8",
|
64 | 49 | "@types/which": "^2.0.1",
|
65 | 50 | "caxa": "^2.1.0",
|
|
69 | 54 | "jest": "^27.2.4",
|
70 | 55 | "npm-run-all2": "^5.0.2",
|
71 | 56 | "parcel": "^2.0.0-rc.0",
|
72 |
| - "prettier-config-atomic": "^2.0.6", |
| 57 | + "prettier-config-atomic": "^3.0.1", |
73 | 58 | "shx": "0.3.3",
|
74 | 59 | "terser-config-atomic": "^0.1.1",
|
75 | 60 | "ts-jest": "^27.0.5",
|
76 | 61 | "typescript": "^4.4.3"
|
77 | 62 | },
|
| 63 | + "engines": { |
| 64 | + "node": ">=12.x" |
| 65 | + }, |
78 | 66 | "keywords": [
|
79 | 67 | "github-actions",
|
80 | 68 | "actions",
|
|
93 | 81 | "cmake",
|
94 | 82 | "ninja",
|
95 | 83 | "meson"
|
96 |
| - ] |
| 84 | + ], |
| 85 | + "pnpm": { |
| 86 | + "overrides": { |
| 87 | + "semver": "7.3.5" |
| 88 | + } |
| 89 | + }, |
| 90 | + "targets": { |
| 91 | + "main": { |
| 92 | + "context": "node", |
| 93 | + "includeNodeModules": true, |
| 94 | + "optimize": true |
| 95 | + } |
| 96 | + } |
97 | 97 | }
|
0 commit comments