-
Notifications
You must be signed in to change notification settings - Fork 128
/
package.json
92 lines (92 loc) · 2.87 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
{
"name": "uppload",
"version": "0.0.0-development",
"description": "Uppload is a JavaScript widget for better file uploading on the web.",
"keywords": [
"uppload",
"typescript",
"css",
"scss",
"el nino",
"file upload",
"image upload",
"crop",
"uploader",
"upload",
"javascript"
],
"main": "dist/index.umd.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"repository": "https://github.com/elninotech/uppload",
"homepage": "https://uppload.js.org",
"bugs": {
"url": "https://github.com/elninotech/uppload/issues"
},
"author": "El Niño <https://elnino.tech>",
"license": "MIT",
"scripts": {
"dev": "vite --host",
"build": "npm run build:package && npm run build:styles",
"build:package": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
"build:styles": "node scripts/build-scss.js",
"build:site": "node scripts/build-examples.js && site",
"test": "jest --runInBand",
"test:coverage": "jest --runInBand --coverage",
"lint:scripts": "eslint . --ext .ts",
"lint:styles": "stylelint ./**/*.{css,scss}",
"format:scripts": "prettier . --write",
"format:styles": "stylelint ./**/*.{css,scss} --fix",
"format": "npm run format:scripts && npm run format:styles",
"prepare": "husky install && husky set .husky/pre-commit 'npx lint-staged' && git add .husky/pre-commit",
"uninstall-husky": "npm uninstall husky --no-save && git config --unset core.hooksPath && npx rimraf .husky"
},
"devDependencies": {
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.2",
"@staart/site": "^3.0.0-beta.20",
"@types/estree": "^1.0.0",
"@types/jest": "^29.2.5",
"@types/jsdom": "^21.1.0",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"auto-i18n": "^1.0.0",
"coveralls": "^3.1.0",
"cssnano": "^5.1.7",
"dts-bundle-generator": "^7.1.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"extract-zip": "^2.0.1",
"gitmoji-changelog": "^2.1.0",
"husky": "^8.0.3",
"jest": "^29.3.1",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^29.4.3",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^13.1.0",
"prettier": "^2.8.3",
"sass": "^1.58.3",
"semantic-release": "^20.1.1",
"semantic-release-gitmoji": "^1.6.3",
"stylelint": "^14.16.1",
"stylelint-config-recommended": "^9.0.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"vite": "^4.1.4",
"xhr-mock": "^2.5.1"
},
"dependencies": {
"cropperjs": "^1.5.7",
"download": "^8.0.0",
"focus-trap": "^7.3.1",
"mitt": "^3.0.0"
}
}