This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.8 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
{
"name": "upload-exif-plugin",
"version": "2.5.0",
"author": "Upload <[email protected]> (https://upload.io)",
"description": "Extracts EXIF metadata from images for Upload's Image API.",
"license": "MIT",
"main": "dist/main.js",
"types": "dist/index.d.ts",
"homepage": "https://upload.io/image-upload-api",
"repository": {
"type": "git",
"url": "git+https://github.com/upload-io/upload-exif-plugin.git"
},
"bugs": {
"url": "https://github.com/upload-io/upload-exif-plugin/issues"
},
"files": [
"upload.config.json",
"/dist/*"
],
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"typecheck": "tsc --noEmit",
"prepack": "rm -rf dist && webpack && tsc-alias",
"publish:executeIfReleaseCommit": "bash -c 'COMMIT=$(git log -1 --pretty=%B) && [ \"${COMMIT:0:8}\" != \"Release \" ] || npm run publish:execute'",
"publish:execute": "npm publish && npm run publish:createGitHubRelease",
"publish:createGitHubRelease": "gh release create v$(node -p \"require('./package.json').version\")",
"test": "jest --runInBand",
"generateSchema": "typescript-json-schema tsconfig.json Params --include 'src/types/*' --defaultNumberType integer --desctitles --required --strictNullChecks --refs true --noExtraProps"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*/**/*.{js,jsx,ts,tsx}": [
"eslint"
],
"src/types/**/*.{ts,tsx}": [
"bash -c \"npm run generateSchema\""
],
"*/**/*.{js,jsx,ts,tsx,test}": [
"bash -c \"npm run test\""
],
"*/**/*.{ts,tsx}": [
"bash -c \"tsc --noEmit\""
],
"*.{js,jsx,ts,tsx,json,css,html,md,yaml,yml}": [
"prettier -w"
]
},
"dependencies": {
"bluebird": "3.7.2",
"exifr": "6.1.0",
"upload-plugin-sdk": "6.12.0"
},
"devDependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.20.5",
"@babel/preset-env": "7.20.2",
"@types/bluebird": "3.5.33",
"@types/jest": "26.0.15",
"@types/node": "14.14.10",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"@upload-io/typescript-json-schema": "0.51.0",
"babel-loader": "8.2.1",
"eslint": "7.32.0",
"eslint-config-prettier": "6.15.0",
"eslint-config-standard-with-typescript": "19.0.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-return-types-object-literals": "1.0.1",
"eslint-plugin-standard": "4.1.0",
"husky": "4.3.0",
"jest": "26.6.3",
"lint-staged": "10.5.1",
"prettier": "2.1.2",
"ts-jest": "26.4.4",
"tsc-alias": "1.2.10",
"ts-loader": "9.2.2",
"typescript": "4.4.4",
"webpack": "5.75.0",
"webpack-cli": "4.10.0",
"webpack-node-externals": "2.5.2"
}
}