{ "_args": [ [ "viewerjs@1.9.0", "D:\\jenkins\\workspace\\cssc-fvue" ] ], "_from": "viewerjs@1.9.0", "_id": "viewerjs@1.9.0", "_inBundle": false, "_integrity": "sha1-bfr1REDDsvdpG4Vma6bSdwjtlZI= sha512-2D1OdGatb5aCZbZvaCdbJYuoDObjD9ITe7GZp0SoG7rgw3arOIZoIO1ygmfG+I4+RvEuDo+aZ75kNgwmYS9j3w==", "_location": "/viewerjs", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "viewerjs@1.9.0", "name": "viewerjs", "escapedName": "viewerjs", "rawSpec": "1.9.0", "saveSpec": null, "fetchSpec": "1.9.0" }, "_requiredBy": [ "/v-viewer" ], "_resolved": "https://registry.npm.taobao.org/viewerjs/download/viewerjs-1.9.0.tgz", "_spec": "1.9.0", "_where": "D:\\jenkins\\workspace\\cssc-fvue", "author": { "name": "Chen Fengyuan", "url": "https://chenfengyuan.com/" }, "browser": "dist/viewer.js", "browserslist": [ "last 2 versions", "> 1%", "not ie <= 8" ], "bugs": { "url": "https://github.com/fengyuanchen/viewerjs/issues" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "description": "JavaScript image viewer.", "devDependencies": { "@babel/core": "^7.12.9", "@babel/preset-env": "^7.12.7", "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", "@rollup/plugin-babel": "^5.2.2", "babel-plugin-istanbul": "^6.0.0", "chai": "^4.2.0", "change-case": "^4.1.2", "codecov": "^3.8.1", "cpy-cli": "^3.1.1", "create-banner": "^1.0.0", "cssnano": "^4.1.10", "del-cli": "^3.0.1", "eslint": "^7.15.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.22.1", "husky": "^4.3.4", "karma": "^5.2.3", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.1.0", "karma-coverage-istanbul-reporter": "^3.0.3", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-rollup-preprocessor": "^7.0.5", "lint-staged": "^10.5.3", "mocha": "^8.2.1", "npm-run-all": "^4.1.5", "postcss": "^8.1.14", "postcss-cli": "^8.3.0", "postcss-header": "^3.0.1", "postcss-import": "^13.0.0", "postcss-preset-env": "^6.7.0", "postcss-url": "^10.1.1", "puppeteer": "^5.5.0", "rollup": "^2.34.2", "stylelint": "^13.8.0", "stylelint-config-standard": "^20.0.0", "stylelint-order": "^4.1.0", "uglify-js": "^3.12.1" }, "files": [ "src", "dist", "types" ], "homepage": "https://fengyuanchen.github.io/viewerjs", "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "keywords": [ "image", "viewer", "viewerjs", "viewer.js", "html", "css", "javascript", "front-end", "web" ], "license": "MIT", "lint-staged": { "{src,test}/**/*.js|*.conf*.js": "eslint --fix", "{src,docs}/**/*.{css,scss,html}": "stylelint --fix" }, "main": "dist/viewer.common.js", "module": "dist/viewer.esm.js", "name": "viewerjs", "repository": { "type": "git", "url": "git+https://github.com/fengyuanchen/viewerjs.git" }, "scripts": { "build": "npm run build:css && npm run build:js", "build:css": "postcss src/index.css -o dist/viewer.css --no-map", "build:js": "rollup -c", "clear": "del-cli dist", "codecov": "cat coverage/lcov.info | codecov", "compress": "npm run compress:css && npm run compress:js", "compress:css": "postcss dist/viewer.css -u cssnano -o dist/viewer.min.css --no-map", "compress:js": "uglifyjs dist/viewer.js -o dist/viewer.min.js -c -m --comments /^!/", "copy": "cpy dist/viewer.css docs/css", "lint": "npm run lint:js && npm run lint:css", "lint:css": "stylelint {src,docs}/**/*.{css,scss,html} --fix", "lint:js": "eslint src test *.js --fix", "release": "npm run clear && npm run lint && npm run build && npm run compress && npm run copy && npm test", "start": "npm-run-all --parallel watch:*", "test": "karma start", "watch:css": "postcss src/index.css -o docs/css/viewer.css -m -w", "watch:js": "rollup -c -m -w" }, "style": "dist/viewer.css", "types": "types/index.d.ts", "version": "1.9.0" }