-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
181 lines (181 loc) Β· 6.68 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "stylegrams",
"version": "0.0.0-dev",
"description": "Generate styled infographics more easily and with no efforts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "GPL-3.0",
"private": true,
"scripts": {
"format": "prettier --single-quote --write \"**/*.{js,ts,json,yml,yaml}\"",
"format:check": "prettier --check \"**/*.{js,ts,json,yml,yaml}\"",
"lint:editorconfig": "editorconfig-checker",
"start": "npm run build && node dist/index.js",
"start:dev": "env-cmd --silent -e dev npm run start",
"start:prod": "env-cmd --silent -e prod npm run start",
"lint": "eslint --cache --fix --quiet --cache-location ./node_modules/.cache/ --format codeframe --ext js,ts .",
"lint:clean": "del-cli .eslintcache",
"lint:staged": "lint-staged --no-stash --allow-empty",
"lint:report": "tsdx lint src tools --report-file report.json",
"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",
"ico": "png2icons static/logo.png static/icon -allwe",
"docs": "typedoc",
"remark": "remark -q -f .",
"lint:md": "remark-preset-davidtheclark",
"format:md": "remark-preset-davidtheclark --format",
"semantic-release": "semantic-release",
"commit": "git-cz",
"postreinstall": "yarn setup",
"setup": "yarn",
"yarn:import": "del-cli --dot=true ./yarn.lock && yarn import",
"prepublishOnly": "npm run check:all && npm run build",
"postpublish": "npm run clean",
"postinstall": "husky install",
"prebuild": "del-cli dist coverage",
"build": "tsdx build",
"watch": "tsdx watch",
"clean": "del-cli --dot=true \"./dist/**/*\"",
"reinstall": "del-cli --dot=true ./node_modules ./package-lock.json ./yarn.lock",
"version": "git add -A dist",
"postversion": "git push && git push --tags",
"test:folio": "env-cmd --silent -e test folio tests/spec/",
"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",
"lint:all": "npm run lint:clean && npm run lint && npm run lint:md",
"format:all": "npm run format && npm run format:md",
"check:all": "npm run format:check",
"test:all": "npm run test && npm run test:folio && npm run test:license",
"all": "npm run format:all && npm run lint:all && npm run pretty && npm run build"
},
"dependencies": {
"env-cmd": "10.1.0",
"lodash": "4.17.21"
},
"devDependencies": {
"@babel/preset-env": "7.14.2",
"@babel/preset-typescript": "7.13.0",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/commit-analyzer": "8.0.1",
"@semantic-release/git": "9.0.0",
"@semantic-release/github": "7.2.3",
"@semantic-release/npm": "7.1.3",
"@semantic-release/release-notes-generator": "9.0.2",
"@types/jest": "26.0.23",
"@types/lodash.mergewith": "4.6.6",
"@types/parse-json": "4.0.0",
"@types/prettier": "2.2.3",
"@typescript-eslint/eslint-plugin": "4.23.0",
"@typescript-eslint/parser": "4.23.0",
"cz-conventional-changelog": "3.3.0",
"conventional-changelog-cli": "2.1.1",
"del-cli": "3.0.1",
"editorconfig-checker": "3.3.0",
"eslint": "7.26.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-github": "4.1.3",
"eslint-plugin-import": "2.23.2",
"eslint-plugin-jest": "23.20.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-spellcheck": "0.0.8",
"expect": "26.6.2",
"folio": "0.3.18",
"git-cz": "4.7.6",
"husky": "5.2.0",
"import-fresh": "3.3.0",
"jest": "26.6.3",
"jest-circus": "26.6.3",
"license-checker": "25.0.1",
"lint-staged": "10.5.4",
"parse-json": "5.2.0",
"path-type": "4.0.0",
"png2icons": "2.0.1",
"prettier": "2.3.0",
"pretty-quick": "3.1.0",
"remark-cli": "9.0.0",
"remark-lint-code-block-style": "2.0.1",
"remark-lint-ordered-list-marker-value": "2.0.1",
"remark-preset-davidtheclark": "0.12.0",
"remark-preset-lint-recommended": "5.0.0",
"remark-validate-links": "10.0.4",
"semantic-release": "17.4.3",
"ts-jest": "26.5.6",
"ts-node": "9.1.1",
"tsdx": "0.14.1",
"typedoc": "0.20.36",
"typescript": "4.2.4",
"yaml": "1.10.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AlexRogalskiy/stylegrams.git"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=10"
},
"keywords": [
"styled infographics",
"infographics",
"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-push": "npm run check:all",
"pre-commit": "npm run lint:staged && npm run all && npm run test:all",
"prepare-commit-msg": "git cz --hook --non-interactive --type=feat --subject=\"added new features\" || true"
}
},
"bugs": {
"url": "https://github.com/AlexRogalskiy/stylegrams/issues"
},
"homepage": "https://github.com/AlexRogalskiy/stylegrams",
"author": {
"name": "Alexander Rogalskiy",
"url": "https://github.com/AlexRogalskiy"
},
"funding": "https://github.com/sponsors/AlexRogalskiy",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}