UNPKG

jquery-cropper

Version:
113 lines (112 loc) 2.79 kB
{ "name": "jquery-cropper", "description": "A jQuery plugin wrapper for Cropper.js.", "version": "1.0.2", "main": "dist/jquery-cropper.common.js", "module": "dist/jquery-cropper.esm.js", "browser": "dist/jquery-cropper.js", "files": [ "src", "dist" ], "scripts": { "build": "rollup -c", "clean": "del-cli dist", "compress": "uglifyjs dist/jquery-cropper.js -o dist/jquery-cropper.min.js -c -m --comments /^!/", "lint": "eslint src test *.js --fix", "release": "npm run clean && npm run lint && npm run build && npm run compress && npm test", "start": "rollup -c -m -w", "test": "karma start" }, "repository": { "type": "git", "url": "git+https://github.com/fengyuanchen/jquery-cropper.git" }, "keywords": [ "image", "crop", "move", "zoom", "rotate", "scale", "cropper", "cropper.js", "cropping", "processing", "jquery", "plugin", "jquery-plugin", "html", "css", "javascript", "front-end", "web" ], "author": { "name": "Chen Fengyuan", "url": "https://chenfengyuan.com/" }, "license": "MIT", "bugs": { "url": "https://github.com/fengyuanchen/jquery-cropper/issues" }, "homepage": "https://fengyuanchen.github.io/jquery-cropper", "devDependencies": { "@babel/core": "^7.26.9", "@babel/preset-env": "^7.26.9", "@commitlint/cli": "^8.3.6", "@commitlint/config-conventional": "^8.3.6", "babel-plugin-istanbul": "^5.2.0", "chai": "^4.5.0", "create-banner": "^1.0.0", "cropperjs": "^1.6.2", "del-cli": "^3.0.1", "eslint": "^6.5.1", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.31.0", "husky": "^3.1.0", "jquery": "^3.7.1", "lint-staged": "^9.5.0", "karma": "^4.4.1", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.2.0", "karma-coverage-istanbul-reporter": "^2.1.1", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.5", "karma-rollup-preprocessor": "^7.0.8", "mocha": "^6.2.3", "puppeteer": "^1.20.0", "rollup": "^1.32.1", "rollup-plugin-alias": "^2.1.0", "rollup-plugin-babel": "^4.3.3", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "uglify-js": "^3.19.3" }, "peerDependencies": { "cropperjs": ">=1.0.0 <2.0.0", "jquery": ">=1.9.1" }, "browserslist": [ "last 2 versions", "> 1%", "ie >= 9" ], "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": { "{src,test}/**/*.js|*.conf*.js": [ "eslint --fix", "git add" ] } }