-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
67 lines (67 loc) · 1.81 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
{
"name": "update-majorver",
"version": "1.1.0",
"description": "Update major version tags based on semver for GitHub Actions",
"main": "dist/index.js",
"scripts": {
"lint": "eslint 'src/**.ts' 'tests/**.ts' --fix",
"test": "eslint 'src/**.ts' 'tests/**.ts' && tsc --noEmit && jest --coverage",
"build": "tsc",
"precommit": "npm run build && git add dist/",
"release": "PACKAGE_VERSION=v$(grep -m1 version package.json | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag -a $PACKAGE_VERSION -m $PACKAGE_VERSION && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nowactions/update-majorver"
},
"keywords": [
"actions",
"node"
],
"author": "nownabe",
"license": "MIT",
"bugs": {
"url": "https://github.com/nowactions/update-majorver/issues"
},
"homepage": "https://github.com/nowactions/update-majorver#readme",
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^2.2.0"
},
"devDependencies": {
"@types/jest": "26.0.24",
"@typescript-eslint/eslint-plugin": "2.34.0",
"@typescript-eslint/parser": "2.34.0",
"@zeit/ncc": "0.22.3",
"eslint": "6.8.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-prettier": "3.4.1",
"husky": "4.3.8",
"jest": "26.6.3",
"prettier": "2.8.8",
"ts-jest": "25.5.1",
"typescript": "3.9.10"
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"src/update-majorver.js"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"moduleFileExtensions": [
"js",
"ts"
],
"transform": {
"^.+\\.ts$": "ts-jest"
}
}
}