forked from fengyuanchen/cropper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.06 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
{
"name": "cropper",
"description": "A simple jQuery image cropping plugin.",
"version": "3.0.0",
"main": "dist/cropper.common.js",
"module": "dist/cropper.esm.js",
"browser": "dist/cropper.js",
"license": "MIT",
"repository": "fengyuanchen/cropper",
"homepage": "https://fengyuanchen.github.io/cropper",
"author": {
"name": "Fengyuan Chen",
"url": "http://chenfengyuan.com"
},
"keywords": [
"image",
"crop",
"cropper",
"cropping",
"move",
"zoom",
"rotate",
"scale",
"jquery",
"plugin",
"jqueryplugin",
"html",
"css",
"javascript",
"front-end",
"web",
"development"
],
"scripts": {
"build:css": "postcss src/css/cropper.css --no-map -o dist/cropper.css",
"build:js": "rollup -c",
"build": "npm run build:css && npm run build:js",
"compress:css": "postcss dist/cropper.css -u cssnano --no-map -o dist/cropper.min.css",
"compress:js": "uglifyjs dist/cropper.js -o dist/cropper.min.js -c -m --comments /^!/",
"compress": "npm run compress:css && npm run compress:js",
"watch:css": "postcss src/css/cropper.css -o docs/css/cropper.css -w",
"watch:js": "rollup -c -w -m",
"lint": "eslint src/js --fix",
"postbuild": "npm test && npm run compress && node build",
"prebuild": "npm run lint",
"start": "npm-run-all --parallel watch:*",
"test": "node-qunit-phantomjs test/index.html --timeout 10"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.0",
"cssnano": "^3.10.0",
"eslint": "^4.6.0",
"eslint-config-airbnb-base": "^11.3.2",
"eslint-plugin-import": "^2.7.0",
"jquery": "^3.2.1",
"node-qunit-phantomjs": "^1.5.0",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.0",
"postcss-cssnext": "^3.0.2",
"postcss-url": "^7.1.2",
"rollup": "^0.49.2",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.2.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-watch": "^4.3.1",
"uglify-js": "^3.0.28"
},
"peerDependencies": {
"jquery": ">= 1.9.1"
}
}