-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
143 lines (143 loc) · 4.65 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
{
"name": "@uploadcare/file-uploader",
"version": "1.10.0",
"description": "Building blocks for Uploadcare products integration",
"keywords": [
"web components",
"uploadcare",
"lighter",
"file uploader",
"adaptive image",
"image optimization",
"image editing",
"image size",
"cloud image editor",
"symbiote.js",
"upload api client",
"building blocks",
"blocks",
"lr-blocks",
"uc-blocks",
"widget",
"integrations",
"frontend",
"typescript",
"smart cdn",
"cloud file platform",
"transformation api",
"webp",
"avif",
"custom elements",
"shadow dom",
"shadow root",
"css context properties",
"meta applications",
"MIT"
],
"type": "module",
"sideEffects": ["*.css"],
"module": "./index.js",
"exports": {
".": {
"node": "./index.ssr.js",
"browser": "./index.js",
"default": "./index.js"
},
"./abstract/loadFileUploaderFrom.js": "./abstract/loadFileUploaderFrom.js",
"./env": "./env.js",
"./web/*": "./web/*",
"./types/*": "./types/*",
"./types/jsx": "./types/jsx.d.ts",
"./locales/*": "./locales/*"
},
"repository": "https://github.com/uploadcare/file-uploader/",
"homepage": "https://uploadcare.com/",
"files": [
"{abstract,blocks,solutions,web,utils,types,locales}/**/*.{js,css,d.ts,d.ts.map}",
"index.{js,d.ts,d.ts.map}",
"index.ssr.{js,d.ts,d.ts.map}",
"env.{js,d.ts,d.ts.map}",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "esbuild --servedir=.",
"test": "npm run test:types && npm run test:specs && npm run test:locales",
"test:types": "tsd -t types/index.d.ts -f types/test/",
"test:specs": "web-test-runner \"./{abstract,blocks,solutions,web,utils}/**/*.test.js\" --node-resolve",
"test:locales": "npx playwright install && npx playwright install-deps chromium && node ./test-locales.js",
"release": "shipjs prepare",
"build:web": "npm run clean:web && node ./build.js",
"build:ssr-stubs": "node ./build-ssr-stubs.js",
"build:jsx:types": "node build-jsx-types.js",
"build:types": "npm run clean:types && tsc --build tsconfig.types.json",
"build:svg-sprites": "node ./build-svg-sprite.js",
"build": "run-s build:svg-sprites build:ssr-stubs build:web build:types build:jsx:types",
"tsc": "tsc --project tsconfig.json",
"lint:js": "eslint ./",
"lint:js:fix": "eslint ./ --fix",
"lint:css": "stylelint './**/*.css'",
"lint:css:fix": "stylelint './**/*.css' --fix",
"lint": "run-s lint:js lint:css",
"clean:web": "rimraf -g './web/**/*.{js,css}'",
"clean:types": "rimraf -g './{abstract,blocks,solutions,web,utils,test,locales}/**/*.{d.ts,d.ts.map}' && rimraf -g './*.{d.ts,d.ts.map}'",
"clean": "run-s clean:*",
"format:js": "prettier --write './**/*.{js,cjs}'",
"format:css": "prettier --write --parser css './**/*.css'",
"format:html": "prettier --write --parser html './**/*.html'",
"format:json": "prettier --write --parser json './**/*.json'",
"format:md": "prettier --write --parser markdown './**/*.md'",
"format": "run-s lint:js:fix lint:css:fix format:js format:css format:json format:md",
"prepare": "husky install"
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.3",
"@babel/preset-env": "^7.21.4",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@happy-dom/global-registrator": "^9.8.4",
"@jam-do/jam-tools": "^0.0.4",
"@total-typescript/ts-reset": "^0.5.1",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"@types/react": "^18.2.34",
"@web/dev-server": "^0.1.38",
"@web/test-runner": "^0.15.3",
"esbuild": "^0.19.9",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"highlight.js": "^11.7.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"marked": "^4.3.0",
"node-watch": "^0.7.3",
"npm-run-all": "^4.1.5",
"playwright": "^1.42.1",
"postcss": "^8.4.21",
"prettier": "^3.2.4",
"prettier-plugin-jsdoc": "1.3.0",
"puppeteer": "^19.8.5",
"rimraf": "^5.0.0",
"shipjs": "^0.26.3",
"sinon": "^16.1.0",
"stylelint": "^15.4.0",
"stylelint-config-standard": "^32.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
"stylelint-order": "^6.0.3",
"svg-sprite": "^2.0.4",
"tsd": "^0.29.0",
"typescript": "^5.2.2"
},
"author": "Uploadcare Inc.",
"license": "MIT",
"dependencies": {
"@symbiotejs/symbiote": "^1.11.7",
"@uploadcare/image-shrink": "^6.14.1",
"@uploadcare/upload-client": "^6.14.1",
"keyux": "^0.7.1"
}
}