This repository has been archived by the owner on Apr 13, 2021. It is now read-only.
generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.4 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
{
"name": "javascript-action",
"version": "0.0.1",
"description": "JavaScript Action Template",
"main": "dist/index.js",
"scripts": {
"lint-check": "prettier --check **/*.{js,yml,json,md} && eslint .",
"format": "prettier --write **/*.{js,yml,json,md} && eslint .",
"build": "rimraf -rf dist/* && ncc build src/index.js --minify --license license.txt && git add dist/"
},
"husky": {
"hooks": {
"pre-commit": "echo 'pre-commit...' && lint-staged && npm run build && npm run lint-check"
}
},
"lint-staged": {
"**/*.{js}": [
"prettier --write",
"git add",
"eslint"
],
"**/*.{md,json,yml}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/yi-Xu-0100/javascript-action.git"
},
"keywords": [
"GitHub",
"Actions",
"JavaScript"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/yi-Xu-0100/javascript-action/issues"
},
"homepage": "https://github.com/yi-Xu-0100/javascript-action#readme",
"dependencies": {
"@actions/core": "^1.1.1",
"js-yaml": "^4.0.0"
},
"devDependencies": {
"@vercel/ncc": "^0.28.0",
"eslint": "^7.4.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^6.0.0",
"lint-staged": "^10.4.0",
"prettier": "2.2.1",
"rimraf": "^3.0.2"
}
}