-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.04 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "spa-prod",
"version": "0.6.1",
"description": "Production sever for Single Page Applications (SPAs)",
"keywords": [
"server",
"production",
"prod",
"serve",
"csp",
"prefetch",
"healthcheck",
"cache",
"caching",
"spa"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Jan Kelin",
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/jkelin/spa-prod.git"
},
"bugs": {
"url": "https://github.com/jkelin/spa-prod/issues"
},
"homepage": "https://github.com/jkelin/spa-prod",
"directories": {
"lib": "./src",
"bin": "./dist",
"test": "./src/test",
"doc": "./docs"
},
"bin": {
"spa-prod": "dist/cli.js"
},
"engines": {
"node": ">=6.5"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build:api": "typedoc ./src",
"lint": "eslint src/**/*",
"lint:fix": "eslint --fix src/**/* && prettier --write src/**/*",
"lint:prettier": "prettier src/**/*",
"typecheck": "tsc --noEmit",
"test": "mocha -r ts-node/register test/**/*.spec.ts",
"test:coverage": "nyc mocha -r ts-node/register test/**/*.spec.ts",
"preversion": "yarn lint && yarn typecheck && yarn build",
"start:test": "ts-node src/cli.ts example/config.js"
},
"files": [
"dist"
],
"dependencies": {
"@hapi/joi": "^15.1.0",
"@types/cheerio": "^0.22.16",
"cheerio": "^1.0.0-rc.3",
"compression": "^1.7.4",
"content-security-policy-builder": "^2.1.0",
"express": "^4.17.1",
"express-basic-auth": "^1.2.0",
"glob": "^7.1.6",
"glob-promise": "^3.4.0",
"helmet": "^3.21.2",
"lodash": "^4.17.15",
"morgan": "^1.9.1",
"typedoc": "^0.16.9",
"uuid": "^3.4.0"
},
"devDependencies": {
"@types/chai": "^4.2.9",
"@types/chai-as-promised": "^7.1.0",
"@types/compression": "^1.7.0",
"@types/express": "^4.17.2",
"@types/hapi__joi": "^15.0.2",
"@types/helmet": "^0.0.45",
"@types/lodash": "^4.14.149",
"@types/mocha": "^7.0.1",
"@types/morgan": "^1.7.35",
"@types/node": "^13.7.1",
"@types/uuid": "^3.4.7",
"@types/yargs": "^15.0.3",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"axios": "^0.21.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"codecov": "^3.6.5",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"mocha": "^7.0.1",
"nyc": "^15.0.0",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"ts-node": "^8.6.2",
"typedoc-plugin-internal-external": "^2.1.1",
"typescript": "^3.7.5"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts"
],
"include": [
"src/**/*"
],
"all": true
}
}