generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
61 lines (61 loc) · 1.68 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
{
"name": "traffic-to-badge",
"version": "1.4.0",
"description": "Use repository traffic data to generate badges that include views and clones.",
"main": "dist/index.js",
"scripts": {
"prepare": "husky install",
"lint-check": "prettier --check **/*.{js,yaml,yml,json,md} && eslint .",
"format": "prettier --write **/*.{js,yaml,yml,json,md} && eslint .",
"clear": "rimraf -rf dist/* .traffic/ .test/",
"build": "npm run clear && ncc build src/index.js --source-map --license license.txt",
"dry-test": "node --require dotenv/config dist/index.js",
"test": "npm run build && npm run dry-test"
},
"lint-staged": {
"**/*.{js}": [
"prettier --write",
"eslint"
],
"**/*.{md,json,yml,yaml}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/yi-Xu-0100/traffic-to-badge.git"
},
"keywords": [
"GitHub",
"Actions",
"JavaScript",
"Badge",
"Traffic"
],
"author": "yi-Xu-0100",
"license": "MIT",
"bugs": {
"url": "https://github.com/yi-Xu-0100/traffic-to-badge/issues"
},
"homepage": "https://github.com/yi-Xu-0100/traffic-to-badge#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.1.1",
"@actions/io": "^1.1.3",
"dotenv": "^11.0.0",
"image-downloader": "^4.3.0",
"underscore": "^1.13.6"
},
"devDependencies": {
"@vercel/ncc": "^0.36.1",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"pinst": "^2.1.6",
"prettier": "2.8.8",
"rimraf": "^3.0.2"
}
}