/
package.json
167 lines (167 loc) Β· 6 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"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 --cache-location ./node_modules/.cache/ --format codeframe --ext js,ts .",
"lint:clean": "del-cli .eslintcache",
"lint:json": "node_modules/.bin/jsonlint ./package.json --quiet",
"pretty": "pretty-quick --staged --pattern '!test/tests/lint/**'",
"license": "license-checker --json > licenses.json",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"markdown": "markdown-link-check ./README.md ./SECURITY.md",
"remark": "remark -q -f .",
"lint:md": "remark-preset-davidtheclark",
"format:md": "remark-preset-davidtheclark --format",
"docs": "typedoc",
"data": "ls -lh data/",
"reinstall": "del-cli --dot=true ./node_modules ./package-lock.json ./yarn.lock",
"coverage": "cat ./coverage/lcov.info | coveralls",
"index": "node scripts/createIndex.js",
"postreinstall": "yarn setup",
"postinstall": "husky install",
"prepare": "del-cli 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:license": "license-checker --production --summary --unknown --onlyAllow=\"Apache-2.0;BSD;ISC;MIT;GPL-3.0;CC-BY-3.0;CC0-1.0;\"",
"lint:all": "npm run lint:clean && npm run lint && npm run lint:md && npm run lint:json",
"format:all": "npm run format && npm run format:md",
"check:all": "npm run format:check",
"test:all": "npm run test && npm run test:license",
"all": "npm run format:all && npm run lint:all && npm run pretty"
},
"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",
"dateformat": "^4.5.1",
"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",
"conventional-changelog-cli": "^2.0.0",
"remark-cli": "^9.0.0",
"remark-validate-links": "^10.0.2",
"remark-lint-code-block-style": "^2.0.1",
"remark-preset-davidtheclark": "^0.12.0",
"remark-lint-ordered-list-marker-value": "^2.0.1",
"typedoc": "^0.20.28",
"markdown-link-check": "^3.8.6",
"license-checker": "^25.0.1",
"coveralls": "^3.0.0",
"jsonlint": "^1.6.3",
"husky": "^5.0.8",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"prettier": "^2.1.2",
"pretty-quick": "^3.1.0",
"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 run test:all",
"pre-push": "npm run check: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",
"files": [
"data/**",
"api/**",
"typings/**"
]
}