-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 1.96 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "latest-stable-version",
"version": "1.0.1",
"description": "Utility function to get the latest cleaned stable SemVer version from GitHub releases.",
"license": "MIT",
"repository": "seancroach/latest-stable-version",
"author": "Sean Colin Roach <me@seancroach.dev> (https://seancroach.dev)",
"main": "build/index.js",
"engines": {
"node": ">=10"
},
"scripts": {
"ava": "ava --fail-fast",
"clean": "rm -rf build",
"eslint": "eslint source test",
"format": "npm run prettier:write",
"lint": "npm run prettier:check && npm run eslint",
"prepare": "tsc -p source",
"prettier:check": "prettier --check \"**\"",
"prettier:write": "prettier --write \"**\"",
"test": "npm run lint && npm run ava"
},
"files": [
"build"
],
"keywords": [
"latest",
"release",
"semver",
"stable",
"version"
],
"dependencies": {
"@octokit/rest": "^18.0.15",
"is-stable-version": "^1.0.3",
"semver": "^7.3.4"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@seancroach/eslint-config-typescript": "^3.0.8",
"@seancroach/tsconfig": "^2.1.0",
"@types/semver": "^7.3.4",
"ava": "^3.15.0",
"eslint": "^7.19.0",
"husky": "^4.3.8",
"prettier": "^2.2.1",
"prettier-plugin-package": "^1.3.0",
"ts-node": "^9.1.1",
"type-fest": "^0.20.2",
"typescript": "^4.1.3"
},
"ava": {
"files": [
"test/*.ts"
],
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"extends": "@seancroach/eslint-config-typescript"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*": "prettier --check",
"*.ts": "eslint"
},
"prettier": {
"proseWrap": "never"
}
}