/
package.json
141 lines (141 loc) Β· 4.65 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "styled-quotes",
"version": "0.0.0-dev",
"description": "Automatically generate styled SVG quotes upon request",
"main": "api/index.ts",
"license": "GPL-3.0",
"scripts": {
"deploy:dev": "env-cmd --silent -e prod vercel",
"deploy:prod": "env-cmd --silent -e prod vercel --prod",
"development": "env-cmd --silent -e dev vercel dev",
"develop": "concurrently --prefix \"[{name}]:{time}\" --names \"index,dev\" \"npm run index\" \"npm run development\"",
"format": "prettier --single-quote --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"lint": "eslint --cache --fix --quiet --format codeframe --ext js,ts .",
"markdown": "markdown-link-check ./README.md ./SECURITY.md",
"remark": "remark -q -f .",
"docs": "typedoc",
"reinstall": "del-cli ./node_modules ./package-lock.json ./yarn.lock",
"index": "node scripts/createIndex.js",
"postreinstall": "yarn setup",
"postinstall": "husky install",
"prepare": "rimraf coverage .cache && npm run index",
"postpublish": "git push && git push --tags",
"setup": "yarn",
"semantic-release": "semantic-release",
"test": "env-cmd --silent -e test jest",
"test:coverage": "env-cmd --silent -e test jest --collectCoverage --detectOpenHandles",
"test:watch": "env-cmd --silent -e test jest --watch",
"test:all": "npm run test",
"all": "npm run format && npm run lint"
},
"dependencies": {
"concurrently": "^6.0.0",
"env-cmd": "^10.1.0",
"hero-patterns": "^2.1.0",
"isomorphic-unfetch": "^3.1.0",
"lodash": "^4.17.20",
"lunr": "^2.3.9",
"node-cron": "^2.0.3"
},
"devDependencies": {
"@semantic-release/github": "^7.2.0",
"@semantic-release/npm": "^7.0.10",
"@semantic-release/release-notes-generator": "^9.0.1",
"@types/jest": "^26.0.20",
"@types/lodash.mergewith": "^4.6.6",
"@types/lunr": "^2.3.3",
"@types/prettier": "^2.1.5",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"@vercel/node": "^1.9.0",
"boxen": "^5.0.0",
"del-cli": "^3.0.1",
"eslint": "^7.18.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-github": "^4.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-spellcheck": "0.0.17",
"gradient-string": "^1.2.0",
"remark-cli": "^9.0.0",
"remark-validate-links": "^10.0.2",
"remark-lint-code-block-style": "^2.0.1",
"remark-lint-ordered-list-marker-value": "^2.0.1",
"typedoc": "^0.20.28",
"markdown-link-check": "^3.8.6",
"husky": "^5.0.8",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"prettier": "^2.1.2",
"randomcolor": "^0.5.4",
"semantic-release": ">=17.2.3",
"ts-jest": "^26.5.4",
"ts-node": ">=9.0.0",
"typescript": "^4.1.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AlexRogalskiy/quotes.git"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">= 12.x"
},
"keywords": [
"quotes",
"vercel",
"serverless functions",
"typescript"
],
"maintainers": [
{
"name": "Alexander Rogalskiy",
"email": "hi@nullables.io"
}
],
"contributors": [
{
"name": "Alexander Rogalskiy",
"email": "hi@nullables.io"
}
],
"release": {
"tagFormat": "v${version}",
"plugins": [
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false,
"tarballDir": "dist",
"allowSameVersion": true
}
],
[
"@semantic-release/github",
{
"assets": "dist/*.tgz"
}
]
]
},
"husky": {
"hooks": {
"pre-commit": "npm test:all"
}
},
"bugs": {
"url": "https://github.com/AlexRogalskiy/quotes/issues"
},
"homepage": "https://github.com/AlexRogalskiy/quotes",
"author": {
"name": "Alexander Rogalskiy",
"url": "https://github.com/AlexRogalskiy"
},
"funding": "https://github.com/sponsors/AlexRogalskiy"
}