forked from firecow/gitlab-ci-local
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
160 lines (160 loc) · 4.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "gitlab-ci-local",
"description": "Tired of pushing to test your .gitlab-ci.yml?",
"main": "src/index.js",
"bin": "src/index.js",
"version": "4.43.0",
"scripts": {
"pkg-linux": "pkg src/index.js --public -t node18-linux-x64 -o bin/linux/gitlab-ci-local && chmod +x bin/linux/gitlab-ci-local && gzip -c bin/linux/gitlab-ci-local > bin/linux.gz",
"pkg-macos": "pkg src/index.js --public -t node18-macos-x64 -o bin/macos/gitlab-ci-local && gzip -c bin/macos/gitlab-ci-local > bin/macos.gz",
"pkg-win": "pkg src/index.js --public -t node18-win-x64 -o bin/win/gitlab-ci-local && gzip -c bin/win/gitlab-ci-local.exe > bin/win.gz",
"pkg-all": "npm run pkg-linux && npm run pkg-macos && npm run pkg-win",
"pkg": "pkg",
"cleanup": "git clean -fX tests/ && git clean -fX src/",
"build": " npm run cleanup && tsc",
"check-all": "npm run build && npm run lint && npm run coverage && npm run audit",
"audit": "npm audit --parseable",
"lint": "npx eslint .",
"test": "npm run build && jest --testTimeout 60000",
"coverage": "jest --coverage --testTimeout 60000",
"start": "ts-node --log-error src/index.ts --cwd examples/docker-compose-nodejs"
},
"dependencies": {
"axios": "0.27.x",
"base64url": "3.x.x",
"camelcase": "6.x.x",
"chalk": "4.x.x",
"checksum": "1.x.x",
"deep-extend": "0.6.x",
"dotenv": "16.x.x",
"execa": "5.x.x",
"fs-extra": "11.x.x",
"globby": "11.x.x",
"js-yaml": "4.x.x",
"object-traversal": "1.x.x",
"p-map": "4.x.x",
"pretty-hrtime": "1.x.x",
"source-map-support": "0.5.x",
"split2": "4.x.x",
"yargs": "17.x.x"
},
"devDependencies": {
"@types/base64url": "2.x.x",
"@types/camelcase": "5.x.x",
"@types/checksum": "0.1.x",
"@types/deep-extend": "0.6.x",
"@types/fs-extra": "11.x.x",
"@types/jest-when": "3.x.x",
"@types/js-yaml": "4.x.x",
"@types/pretty-hrtime": "1.x.x",
"@types/source-map-support": "0.5.x",
"@types/split2": "4.x.x",
"@types/yargs": "17.x.x",
"@typescript-eslint/eslint-plugin": "6.x.x",
"@typescript-eslint/parser": "6.x.x",
"axios-mock-adapter": "1.x.x",
"depcheck": "1.x.x",
"eslint": "8.x.x",
"jest": "29.x.x",
"jest-when": "3.x.x",
"pkg": "5.x.x",
"ts-jest": "29.x.x",
"ts-node": "^10.9.1",
"typescript": "5.x.x"
},
"engines": {
"node": ">=16.10.0"
},
"pkg": {
"assets": [
"package.json"
],
"scripts": [
"src/**/*.js"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"*.js"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/semi": "error",
"@typescript-eslint/quotes": "error",
"@typescript-eslint/comma-dangle": [
"error",
"always-multiline"
],
"@typescript-eslint/object-curly-spacing": "error",
"@typescript-eslint/space-before-function-paren": "error",
"@typescript-eslint/space-before-blocks": "error",
"@typescript-eslint/space-infix-ops": "error",
"@typescript-eslint/member-delimiter-style": "error",
"@typescript-eslint/indent": [
"error",
4
],
"@typescript-eslint/type-annotation-spacing": [
"error"
],
"@typescript-eslint/func-call-spacing": [
"error"
],
"@typescript-eslint/comma-spacing": [
"error"
],
"keyword-spacing": "error",
"space-in-parens": "error",
"no-trailing-spaces": "error",
"no-multi-spaces": "error",
"arrow-spacing": "error",
"key-spacing": "error"
}
},
"jest": {
"preset": "ts-jest",
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/.gitlab-ci-local/"
],
"coverageReporters": [
"lcov",
"json-summary",
"text-summary"
]
},
"repository": {
"type": "git",
"url": "https://github.com/firecow/gitlab-ci-local.git"
},
"author": "Mads Jon Nielsen <madsjon@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/firecow/gitlab-ci-local/issues"
},
"homepage": "https://github.com/firecow/gitlab-ci-local#readme",
"keywords": [
"git",
"gitlab",
"pipeline",
"local",
"ci",
"cd",
"push",
"untracked",
"uncomitted",
"gitlab-ci"
]
}