forked from adamwatters/cropperjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.75 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
{
"name": "cropperjs-with-background-image-option",
"description": "Fork of cropper.js with backgroundImage option",
"version": "1.0.1",
"main": "dist/cropper.js",
"license": "MIT",
"repository": "adamwatters/cropperjs",
"author": {
"name": "Adam Watters",
"url": "http://chenfengyuan.com"
},
"keywords": [
"image",
"crop",
"cropping",
"move",
"zoom",
"rotate",
"scale",
"cropper",
"cropperjs",
"cropper.js",
"html",
"css",
"javascript",
"front-end",
"web",
"development"
],
"scripts": {
"build:css": "postcss -c postcss.config.json",
"build:js": "rollup -c",
"build": "npm run build:css && npm run build:js",
"compress:css": "postcss -u cssnano dist/cropper.css -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 -c postcss.config.json -w",
"watch:js": "rollup -c -w",
"lint": "eslint src/js",
"postbuild": "npm run compress && node build",
"prebuild": "npm run lint && npm test",
"start": "npm-run-all --parallel watch:*",
"test": "node-qunit-phantomjs test/index.html"
},
"devDependencies": {
"babel-plugin-external-helpers": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"cssnano": "^3.8.1",
"eslint": "^3.11.1",
"eslint-config-airbnb-base": "^10.0.1",
"eslint-plugin-import": "^2.2.0",
"node-qunit-phantomjs": "^1.5.0",
"npm-run-all": "^3.1.2",
"postcss-assets": "^4.1.0",
"postcss-cli": "^2.6.0",
"postcss-cssnext": "^2.9.0",
"rollup": "^0.36.4",
"rollup-plugin-babel": "^2.6.1",
"rollup-watch": "^2.5.0",
"uglify-js": "^2.7.5"
}
}