forked from kaimallea/node-imgur
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
104 lines (104 loc) · 2.81 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
{
"author": "Ken Eucker <[email protected]>",
"name": "imgur",
"description": "Unofficial JavaScript library for Imgur",
"version": "2.4.1",
"homepage": "https://github.com/keneucker/imgur",
"license": "AGPL-3.0-or-later",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"keywords": [
"imgur",
"edit",
"images"
],
"repository": {
"type": "git",
"url": "git://github.com/keneucker/imgur.git"
},
"dependencies": {
"axios": "^0.25.0",
"form-data": "^4.0.0",
"whatwg-url": "^14.0.0"
},
"engines": {
"node": ">=14"
},
"files": [
"dist/**/*",
"package.json",
"LICENSE.md",
"README.md"
],
"scripts": {
"test": "jest --verbose",
"test:dev": "jest --silent=false",
"test:ci": "jest --ci --coverage --maxWorkers=2",
"run:dev": "node example/index",
"build:dev": "npm run build -- --watch",
"build": "vite build",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist _site test/src/**/*.js test/src/**/*.d.ts",
"prepare": "husky install",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "prettier . --check ",
"lint:fix": "prettier . --write && eslint . --fix",
"lint:check": "eslint . && prettier . --check",
"lint:release": "npm run format:check && npm run lint:check && npm run typecheck && echo '🤖 !linter ✅ success! 🤖'",
"lint:staged": "npx --no-install lint-staged",
"commit": "cz"
},
"devDependencies": {
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"@types/jest": "^27.4.0",
"@types/mock-fs": "^4.13.1",
"@types/node": "^20.11.0",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"axios-mock-adapter": "^1.20.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^14.2.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
"lint-staged": "^12.2.0",
"mock-fs": "^5.1.2",
"msw": "^0.36.5",
"prettier": "^2.5.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"semantic-release": "^19.0.2",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.6",
"typescript": "^4.5.4",
"vite": "^5.0.12",
"vite-plugin-dts": "^3.7.1"
},
"lint-staged": {
"*.ts": [
"eslint . --fix",
"jest --bail --findRelatedTests"
],
"*.{js,css,md,yml,yaml,json}": "prettier --write"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}