-
Notifications
You must be signed in to change notification settings - Fork 102
/
package.json
155 lines (155 loc) · 4.67 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
147
148
149
150
151
152
153
154
155
{
"name": "uploadcare-widget",
"version": "3.21.8",
"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 --config ./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 --config ./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 . && prettier --check \"**/*.js\"",
"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.7.1"
},
"devDependencies": {
"@babel/core": "7.23.6",
"@babel/preset-env": "7.23.6",
"@size-limit/preset-big-lib": "11.0.1",
"@types/jquery": "^3.5.29",
"autoprefixer": "^10.4.16",
"aws-sdk": "2.1521.0",
"babel-plugin-html-tag": "2.0.1",
"cpy-cli": "5.0.0",
"cross-env": "7.0.3",
"cssnano": "6.0.2",
"cypress": "13.13.3",
"cypress-file-upload": "5.0.8",
"dotenv": "8.6.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-standard": "4.1.0",
"nodemon": "2.0.22",
"postcss": "^8.4.32",
"postcss-calc": "9.0.1",
"postcss-cli": "11.0.0",
"postcss-css-variables": "0.19.0",
"postcss-custom-media": "10.0.2",
"postcss-flexbugs-fixes": "5.0.2",
"postcss-hexrgba": "^2.1.0",
"postcss-import": "15.1.0",
"postcss-nested": "6.0.1",
"postcss-prefixer": "3.0.0",
"postcss-reporter": "7.0.5",
"prettier": "3.1.1",
"rimraf": "3.0.2",
"rollup": "2.79.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-livereload": "2.0.5",
"rollup-plugin-module-replacement": "1.2.1",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-serve": "1.1.1",
"rollup-plugin-string": "3.0.0",
"rollup-plugin-terser": "5.3.1",
"shipjs": "0.26.3",
"size-limit": "11.0.1",
"stylelint": "15.11.0",
"stylelint-config-recommended": "^11.0.0",
"svg-sprite": "2.0.2"
},
"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",
"overrides": {
"postcss-prefixer": {
"postcss": "$postcss"
},
"shipjs": {
"conventional-changelog-core": "^4.2.4"
}
}
}