95 lines
2.6 KiB
JSON
95 lines
2.6 KiB
JSON
{
|
|
"name": "exifreader",
|
|
"version": "4.23.6",
|
|
"description": "Library that parses Exif metadata in images.",
|
|
"author": "Mattias Wallander <mattias@wallander.eu>",
|
|
"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.10"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.2",
|
|
"@babel/preset-env": "^7.25.4",
|
|
"@babel/register": "^7.24.6",
|
|
"@types/node": "^18.11.9",
|
|
"babel-loader": "^9.2.1",
|
|
"babel-plugin-rewire": "^1.2.0",
|
|
"chai": "^4.3.10",
|
|
"cross-env": "^7.0.3",
|
|
"cypress": "^13.3.2",
|
|
"eslint": "^8.52.0",
|
|
"eslint-plugin-cypress": "^3.0.2",
|
|
"husky": "^9.0.11",
|
|
"mocha": "^10.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^17.0.0",
|
|
"rimraf": "^5.0.5",
|
|
"string-replace-loader": "^3.1.0",
|
|
"terser-webpack-plugin": "^5.3.10",
|
|
"typescript": "^5.2.2",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-dev-server": "^5.0.4"
|
|
},
|
|
"scripts": {
|
|
"build": "node bin/build.js",
|
|
"build:pages": "node bin/build-pages.js",
|
|
"coverage": "nyc npm test",
|
|
"cypress:open": "cypress open --e2e",
|
|
"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 test:types coverage test:e2e test:build test:build:custom",
|
|
"pre-commit": "npm-run-all lint test:types coverage test:build",
|
|
"postinstall": "node bin/build.js --only-with-config",
|
|
"prepare": "husky"
|
|
},
|
|
"nyc": {
|
|
"check-coverage": true,
|
|
"statements": 93,
|
|
"branches": 88,
|
|
"functions": 98,
|
|
"lines": 93,
|
|
"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"
|
|
]
|
|
}
|