-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.8 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.8 KB
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
{
"name": "gitstream-github-action",
"description": "This GitHub Action enables you to use the gitStream Continuous Merge (CM) script in your repositories to automate code review workflows. The gitStream CM script allows you to define custom automations that run whenever someone opens a new pull request (PR) or makes changes to an existing PR.",
"version": "2.0.0",
"author": "LinearB",
"homepage": "https://github.com/linear-b/gitstream-github-action",
"repository": {
"type": "git",
"url": "git+https://github.com/linear-b/gitstream-github-action.git"
},
"bugs": {
"url": "https://github.com/linear-b/gitstream-github-action/issues"
},
"keywords": [
"actions",
"node",
"gitstream",
"cm",
"continuous-merge"
],
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"scripts": {
"bundle": "npm run format:write && npm run package",
"format:write": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"copy-wasm": "mkdir -p dist/node_modules/@wasm-fmt && cp -r node_modules/@wasm-fmt/ruff_fmt dist/node_modules/@wasm-fmt/",
"package": "ncc build --minify src/index.ts -o dist --license licenses.txt --external @wasm-fmt/ruff_fmt && npm run copy-wasm",
"test": "jest",
"all": "npm run format:write && npm run lint && npm run test && npm run package",
"create-tag": "./scripts/tag-version.sh",
"update-v2-tag": "git tag v2 -f && git push origin v2 -f"
},
"license": "Apache-2.0",
"dependencies": {
"@actions/core": "^2.0.3",
"@linearb/gitstream-core": "2.1.264",
"@wasm-fmt/ruff_fmt": "^0.14.14"
},
"devDependencies": {
"@jest/globals": "^30.2.0",
"@types/jest": "^30.0.0",
"@types/node": "^25.3.3",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.54.0",
"@vercel/ncc": "^0.38.4",
"eslint": "^9.39.2",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-jest": "^29.15.0",
"eslint-plugin-jsonc": "^2.21.0",
"eslint-plugin-prettier": "^5.5.5",
"jest": "^30.2.0",
"prettier": "^3.8.1",
"prettier-eslint": "^16.4.2",
"ts-jest": "^29.4.6",
"typescript": "^5.9.3"
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageReporters": [
"json-summary",
"text",
"text-summary"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
],
"moduleNameMapper": {
"@wasm-fmt/ruff_fmt": "<rootDir>/__mocks__/@wasm-fmt/ruff_fmt.js"
}
}
}