-
Notifications
You must be signed in to change notification settings - Fork 103
/
package.json
146 lines (146 loc) · 4.44 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "uploadcare-widget",
"version": "3.11.0",
"description": "Uploadcare Widget: file uploader.",
"main": "uploadcare.js",
"files": [
"uploadcare.api.js",
"uploadcare.api.min.js",
"uploadcare.full.js",
"uploadcare.full.min.js",
"uploadcare.js",
"uploadcare.min.js",
"uploadcare.lang.en.js",
"uploadcare.lang.en.min.js"
],
"scripts": {
"help:dev": "SCRIPTS FOR LOCAL DEVELOPMENT",
"dev:svg": "nodemon --watch src/svgs --exec 'svg-sprite --config ./scripts/svg-sprite.config.json' src/svgs/icon-*.svg",
"dev:css": "nodemon --watch src/stylesheets --exec 'postcss -o ./src/stylesheets/styles.css -c ./scripts/postcss.config.js' src/stylesheets/styles.pcss",
"dev:js": "rollup -wc scripts/rollup.config.dev.js",
"dev": "npm run dev:css & npm run dev:svg & npm run dev:js",
"help:build": "SCRIPTS FOR BUILD PRODUCTION VERSION",
"build:svg": "svg-sprite --config ./scripts/svg-sprite.config.json src/svgs/icon-*.svg",
"build:css": "postcss -o ./src/stylesheets/styles.css -c ./scripts/postcss.config.js ./src/stylesheets/styles.pcss",
"build:css:min": "cross-env NODE_ENV=production npm run build:css",
"build:js": "rollup -c",
"build:public": "rimraf public/* && cpy dummy/* public && cpy uploadcare.full.js public",
"build": "npm run build:svg && npm run build:css:min && npm run build:js && npm run build:public",
"help:test": "SCRIPTS FOR TESTS AND CODE QUALITY CHECKS",
"format": "prettier --write \"**/*.js\"",
"size": "size-limit",
"lint:css": "stylelint src/stylesheets/**/*.pcss",
"lint:js": "eslint .",
"test:ci": "cypress run",
"pretest": "npm run build",
"test": "npm run lint:css && npm run lint:js && npm run test:ci",
"release:prepare": "shipjs prepare",
"release:trigger": "shipjs trigger"
},
"dependencies": {
"escape-html": "^1.0.3",
"jquery": "^3.4.1"
},
"devDependencies": {
"@babel/core": "7.13.10",
"@babel/preset-env": "7.13.10",
"@size-limit/preset-big-lib": "4.10.1",
"autoprefixer": "7.2.6",
"aws-sdk": "2.859.0",
"babel-eslint": "10.1.0",
"babel-plugin-html-tag": "2.0.1",
"cpy-cli": "^3.1.1",
"cross-env": "7.0.3",
"cssnano": "4.1.10",
"cypress": "3.8.3",
"cypress-file-upload": "3.5.3",
"dotenv": "8.2.0",
"eslint": "7.21.0",
"eslint-config-prettier": "6.15.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-standard": "4.1.0",
"nodemon": "2.0.7",
"postcss-calc": "6.0.2",
"postcss-cli": "4.1.1",
"postcss-color-function": "4.1.0",
"postcss-css-variables": "0.17.0",
"postcss-custom-media": "6.0.0",
"postcss-flexbugs-fixes": "3.3.1",
"postcss-import": "11.1.0",
"postcss-nested": "2.1.2",
"postcss-prefixer": "2.1.2",
"postcss-reporter": "5.0.0",
"prettier": "2.2.1",
"rimraf": "^3.0.2",
"rollup": "2.40.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-livereload": "2.0.0",
"rollup-plugin-module-replacement": "1.2.1",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-serve": "1.1.0",
"rollup-plugin-string": "3.0.0",
"shipjs": "0.23.0",
"rollup-plugin-terser": "7.0.2",
"size-limit": "4.10.1",
"stylelint": "13.12.0",
"stylelint-config-uploadcare": "3.0.0",
"svg-sprite": "1.5.0"
},
"size-limit": [
{
"limit": "60 KB",
"path": "./uploadcare.api.min.js"
},
{
"limit": "120 KB",
"path": "./uploadcare.full.min.js"
},
{
"limit": "120 KB",
"path": "./uploadcare.min.js"
},
{
"limit": "90 KB",
"path": "./uploadcare.lang.en.min.js"
}
],
"browserslist": [
"> .4%",
"ie >= 10"
],
"keywords": [
"uploadcare",
"file",
"uploader",
"preview",
"chunk",
"drag",
"drop",
"image",
"image-edit",
"widget",
"mobile",
"dialog",
"upload",
"store",
"transformations",
"cdn",
"jquery"
],
"repository": {
"type": "git",
"url": "git+https://github.com/uploadcare/uploadcare-widget.git"
},
"author": "",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/uploadcare/uploadcare-widget/issues"
},
"homepage": "https://github.com/uploadcare/uploadcare-widget#readme"
}