-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
85 lines (85 loc) · 2.09 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": "microstat",
"version": "2.0.0",
"description": "A Micropub endpoint for statically-generated microblogs.",
"author": "Josh Dick <[email protected]>",
"license": "MIT",
"keywords": [
"markdown",
"microblog",
"micro.blog",
"micropub",
"static"
],
"engines": {
"node": ">= 16.0.0"
},
"main": "dist/microstat.js",
"scripts": {
"build": "tsc",
"lint": "eslint 'src/**/*.{j,t}s' && prettier --check 'src/**/*.{js,ts,json,md}' '*.{json,md}'",
"lint:fix": "eslint --fix 'src/**/*.{j,t}s' && prettier --write 'src/**/*.{js,ts,json,md}' '*.{json,md}'",
"start": "yarn build && node dist/microstat.js",
"start:dev": "tsc-watch --onSuccess 'node dist/microstat.js'",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"axios": "^1.4.0",
"config": "^3.3.9",
"express": "4.18.2",
"format-microformat": "0.11.1",
"micropub-express": "0.9.1",
"minilog": "3.1.0",
"mkdirp": "3.0.1",
"moment": "2.29.4",
"send-webmention": "2.0.0"
},
"devDependencies": {
"@types/minilog": "^2.0.29",
"@types/node": "^16",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0",
"tsc-watch": "^6.0.4",
"typescript": "^5.1.6"
},
"repository": {
"type": "git",
"url": "https://github.com/joshdick/microstat.git"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"dist/",
"node_modules/"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn check --integrity"
}
},
"lint-staged": {
"src/**/*.{js,ts,json,md}": [
"prettier --check"
],
"./*.{json,md}": [
"prettier --check"
],
"src/**/*.{j,t}s": [
"eslint"
]
}
}