-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.88 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 1.88 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
{
"name": "lock-action",
"version": "0.0.0",
"private": true,
"description": "Lock Action to support deployment locking for the branch-deploy Action",
"main": "lib/main.js",
"scripts": {
"format": "prettier --write '**/*.js'",
"format-check": "prettier --check '**/*.js'",
"lint": "eslint src/**/*.js",
"package": "ncc build src/main.js -o dist --source-map --license licenses.txt",
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
"ci-test": "CI=false jest",
"all": "npm run format && npm run lint && npm run package",
"bundle": "npm run format && npm run package",
"act": "npm run format && npm run package && act issue_comment -e events/issue_comment_deploy.json -s GITHUB_TOKEN=faketoken -j test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/github/lock.git"
},
"keywords": [
"actions",
"branch-deploy",
"lock",
"unlock",
"deployment"
],
"author": "Grant Birkinbine",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.1",
"dedent-js": "^1.0.1",
"github-username-regex-js": "^1.0.0"
},
"jest": {
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
],
"coverageThreshold": {
"global": {
"lines": 100
}
}
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
"@types/node": "^24.6.1",
"@vercel/ncc": "^0.38.4",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^29.0.1",
"jest": "^30.2.0",
"js-yaml": "^4.1.0",
"prettier": "3.6.2",
"@babel/preset-env": "^7.28.3",
"@babel/core": "^7.25.2",
"babel-jest": "^30.2.0",
"make-coverage-badge": "^1.2.0"
}
}