cropperjs: use npm-asset for composer
parent
51841ab148
commit
4efa2109ee
|
@ -35,23 +35,12 @@
|
|||
"npm-asset/jquery-datetimepicker": "^2.4.0",
|
||||
"npm-asset/jgrowl": "^1.4",
|
||||
"npm-asset/fullcalendar": "^3.0.1",
|
||||
"fengyuanchen/cropperjs": "1.2.2"
|
||||
"npm-asset/cropperjs": "1.2.2"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"type": "vcs",
|
||||
"url": "https://github.com/pear/Text_Highlighter"
|
||||
},
|
||||
{
|
||||
"type": "package",
|
||||
"package": {
|
||||
"name": "fengyuanchen/cropperjs",
|
||||
"version": "1.2.2",
|
||||
"dist": {
|
||||
"url": "https://github.com/fengyuanchen/cropperjs/archive/v1.2.2.zip",
|
||||
"type": "zip"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"autoload": {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "c665c4d63bd0317db0c1992ad7c6c7a1",
|
||||
"content-hash": "12b8df66213734281765cb6e2c5a786e",
|
||||
"packages": [
|
||||
{
|
||||
"name": "asika/simple-console",
|
||||
|
@ -225,17 +225,6 @@
|
|||
],
|
||||
"time": "2015-08-05T01:03:42+00:00"
|
||||
},
|
||||
{
|
||||
"name": "fengyuanchen/cropperjs",
|
||||
"version": "1.2.2",
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://github.com/fengyuanchen/cropperjs/archive/v1.2.2.zip",
|
||||
"reference": null,
|
||||
"shasum": null
|
||||
},
|
||||
"type": "library"
|
||||
},
|
||||
{
|
||||
"name": "fxp/composer-asset-plugin",
|
||||
"version": "v1.4.2",
|
||||
|
@ -671,6 +660,100 @@
|
|||
],
|
||||
"time": "2018-02-26T19:39:55+00:00"
|
||||
},
|
||||
{
|
||||
"name": "npm-asset/cropperjs",
|
||||
"version": "1.2.2",
|
||||
"dist": {
|
||||
"type": "tar",
|
||||
"url": "https://registry.npmjs.org/cropperjs/-/cropperjs-1.2.2.tgz",
|
||||
"reference": null,
|
||||
"shasum": "30dc7a7ce872155b23a33bd10ad4c76c0d613f55"
|
||||
},
|
||||
"require-dev": {
|
||||
"npm-asset/babel-core": ">=6.26.0,<7.0.0",
|
||||
"npm-asset/babel-plugin-external-helpers": ">=6.22.0,<7.0.0",
|
||||
"npm-asset/babel-preset-env": ">=1.6.1,<2.0.0",
|
||||
"npm-asset/cpy-cli": ">=1.0.1,<2.0.0",
|
||||
"npm-asset/cssnano": ">=3.10.0,<4.0.0",
|
||||
"npm-asset/del-cli": ">=1.1.0,<2.0.0",
|
||||
"npm-asset/eslint": ">=4.14.0,<5.0.0",
|
||||
"npm-asset/eslint-config-airbnb-base": ">=12.1.0,<13.0.0",
|
||||
"npm-asset/eslint-plugin-import": ">=2.8.0,<3.0.0",
|
||||
"npm-asset/node-qunit-phantomjs": ">=2.0.0,<3.0.0",
|
||||
"npm-asset/npm-run-all": ">=4.1.2,<5.0.0",
|
||||
"npm-asset/postcss-cli": ">=4.1.1,<5.0.0",
|
||||
"npm-asset/postcss-cssnext": ">=3.0.2,<4.0.0",
|
||||
"npm-asset/postcss-header": ">=1.0.0,<2.0.0",
|
||||
"npm-asset/postcss-url": ">=7.3.0,<8.0.0",
|
||||
"npm-asset/rollup": ">=0.53.3,<0.54.0",
|
||||
"npm-asset/rollup-plugin-babel": ">=3.0.3,<4.0.0",
|
||||
"npm-asset/rollup-watch": ">=4.3.1,<5.0.0",
|
||||
"npm-asset/stylefmt": ">=6.0.0,<7.0.0",
|
||||
"npm-asset/uglify-js": ">=3.3.4,<4.0.0"
|
||||
},
|
||||
"type": "npm-asset-library",
|
||||
"extra": {
|
||||
"npm-asset-bugs": {
|
||||
"url": "https://github.com/fengyuanchen/cropperjs/issues"
|
||||
},
|
||||
"npm-asset-files": [
|
||||
"src",
|
||||
"dist"
|
||||
],
|
||||
"npm-asset-main": "dist/cropper.common.js",
|
||||
"npm-asset-directories": [],
|
||||
"npm-asset-repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/fengyuanchen/cropperjs.git"
|
||||
},
|
||||
"npm-asset-scripts": {
|
||||
"build": "npm run build:css && npm run build:js",
|
||||
"build:css": "postcss src/css/cropper.css -o dist/cropper.css --no-map",
|
||||
"build:js": "rollup -c",
|
||||
"clear": "del-cli dist",
|
||||
"compress": "npm run compress:css && npm run compress:js",
|
||||
"compress:css": "postcss dist/cropper.css -u cssnano -o dist/cropper.min.css --no-map",
|
||||
"compress:js": "uglifyjs dist/cropper.js -o dist/cropper.min.js -c -m --comments /^!/",
|
||||
"copy": "cpy dist/cropper.css docs/css",
|
||||
"lint": "eslint src/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": "node-qunit-phantomjs test/index.html --timeout 10",
|
||||
"watch:css": "postcss src/css/cropper.css -o docs/css/cropper.css -m -w",
|
||||
"watch:js": "rollup -c -m -w"
|
||||
}
|
||||
},
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Chen Fengyuan",
|
||||
"url": "http://chenfengyuan.com"
|
||||
}
|
||||
],
|
||||
"description": "JavaScript image cropper.",
|
||||
"homepage": "https://fengyuanchen.github.io/cropperjs",
|
||||
"keywords": [
|
||||
"crop",
|
||||
"cropper",
|
||||
"cropper.js",
|
||||
"cropperjs",
|
||||
"cropping",
|
||||
"css",
|
||||
"development",
|
||||
"front-end",
|
||||
"html",
|
||||
"image",
|
||||
"javascript",
|
||||
"move",
|
||||
"rotate",
|
||||
"scale",
|
||||
"web",
|
||||
"zoom"
|
||||
],
|
||||
"time": "2018-01-03T13:39:39+00:00"
|
||||
},
|
||||
{
|
||||
"name": "npm-asset/fullcalendar",
|
||||
"version": "3.9.0",
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<script type="text/javascript" src="vendor/fengyuanchen/cropperjs/dist/cropper.min.js"></script>
|
||||
<link rel="stylesheet" href="vendor/fengyuanchen/cropperjs/dist/cropper.min.css" type="text/css" />
|
||||
<script type="text/javascript" src="view/asset/cropperjs/dist/cropper.min.js"></script>
|
||||
<link rel="stylesheet" href="view/asset/cropperjs/dist/cropper.min.css" type="text/css" />
|
||||
|
|
Loading…
Reference in New Issue