forked from mattiasw/ExifReader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.61 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
{
"name": "exifreader",
"version": "4.12.1",
"description": "Library that parses Exif metadata in images.",
"author": "Mattias Wallander <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/mattiasw/ExifReader"
},
"bugs": "https://github.com/mattiasw/ExifReader/issues",
"license": "MPL-2.0",
"main": "dist/exif-reader.js",
"module": "src/exif-reader.js",
"sideEffects": false,
"files": [
"bin/",
"dist/",
"src/",
"babel.config.json",
"exif-reader.d.ts",
"webpack.config.js"
],
"types": "./exif-reader.d.ts",
"optionalDependencies": {
"@xmldom/xmldom": "^0.8.8"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/register": "^7.15.3",
"@types/node": "^14.14.36",
"babel-loader": "^8.2.2",
"babel-plugin-rewire": "^1.2.0",
"chai": "^4.3.4",
"cross-env": "^7.0.3",
"cypress": "^8.5.0",
"cypress-file-upload": "^5.0.8",
"eslint": "^8.0.0",
"eslint-plugin-cypress": "^2.12.1",
"husky": "^4.3.8",
"mocha": "^9.1.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"string-replace-loader": "^3.0.3",
"terser-webpack-plugin": "^5.2.4",
"typescript": "^5.0.2",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
},
"scripts": {
"build": "node bin/build.js",
"build:pages": "node bin/build-pages.js",
"coverage": "nyc npm test",
"cypress:open": "cypress open",
"lint": "eslint .",
"start": "cross-env NODE_ENV=development webpack serve",
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --recursive \"test/unit/\"",
"test:build": "mocha test/build/test.js",
"test:build:custom": "mocha --bail test/build/test-custom.js",
"test:build:update": "node test/build/update.js",
"test:e2e": "cypress run",
"test:types": "tsc --noEmit --project test/types",
"test:all": "npm-run-all lint coverage test:e2e test:build test:build:custom test:types",
"postinstall": "node bin/build.js --only-with-config"
},
"nyc": {
"check-coverage": true,
"statements": 95,
"branches": 92,
"functions": 98,
"lines": 95,
"reporter": [
"lcov",
"text"
],
"exclude": [
"test/*",
"**/node_modules/*"
]
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"not dead",
"Chrome >= 9",
"Firefox >= 15",
"IE >= 10",
"Edge >= 12",
"Safari >= 5.1",
"Opera >= 12.1"
],
"husky": {
"hooks": {
"pre-commit": "npm-run-all lint test test:build"
}
}
}