-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
62 lines (62 loc) · 2.03 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
{
"name": "error-pages",
"version": "1.11.2",
"description": "Lightweight tool to create static HTTP Error Pages in minimalistic adaptive and accessible design with customization and localization support",
"main": "index.ts",
"scripts": {
"build": "npx ts-node index.ts",
"build:pages": "npx tailwind -c ./pages/tailwind.config.js -i ./pages/main.twnd.css -o ./artifacts/assets/main.css -m",
"build:tailwind": "npx tailwindcss -i $INPUT -o $OUTPUT -m",
"lint": "eslint .",
"prettier": "prettier --check --ignore-unknown .",
"prettier:fix": "prettier --write --ignore-unknown .",
"test": "mocha -r ts-node/register 'test/**/*.ts'",
"check": "npm run build && npm run lint && npm run coverage:lcov",
"coverage:html": "nyc --reporter=html npm run test",
"coverage:lcov": "nyc --reporter=lcov npm run test",
"dev": "npx ts-node dev/server.ts"
},
"author": "Pavel Sapachev",
"repository": "https://github.com/sapachev/error-pages",
"license": "ISC",
"dependencies": {
"@types/mustache": "^4.2.2",
"inversify": "^6.0.1",
"mustache": "^4.2.0",
"reflect-metadata": "^0.1.13",
"tailwindcss": "^3.2.4",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"typograf": "^7.1.0"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/sinon": "^10.0.13",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"chai": "^4.3.7",
"chokidar": "^3.5.3",
"coveralls": "^3.1.1",
"eslint": "^8.32.0",
"koa": "^2.14.2",
"koa-sse-stream": "^0.2.0",
"lint-staged": "^13.1.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.3",
"prettier-plugin-tailwindcss": "^0.2.1",
"pretty-quick": "^3.1.3",
"sinon": "^15.0.1"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown ."
}
}