forked from elninotech/uppload
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 3.1 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
{
"name": "uppload",
"version": "3.2.1",
"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": {
"build": "npm run build-package && node scripts/build-scss.js",
"test": "jest",
"build-package": "gulp build && npm run build-browser",
"build-site": "node scripts/build-examples.js && site",
"build-demo": "parcel build ./demo --dist-dir=dist",
"build-browser": "tsc --lib es6 webpack.config.ts && webpack --config webpack.config.js",
"demo": "parcel ./demo --dist-dir=dist",
"lint": "prettier '**/*.{ts,scss}' --write",
"serve-site": "site --serve",
"test-report": "jest --coverage",
"changelog": "gitmoji-changelog && prettier 'CHANGELOG.md' --write",
"build-site-demo": "npm run build-site && npm run build-demo && node scripts/build-demo.js",
"build-typedoc": "typedoc --out public/typedoc src",
"test-typescript": "tsc",
"semantic-release": "semantic-release"
},
"browserslist": [
"last 1 Chrome versions"
],
"devDependencies": {
"@parcel/transformer-sass": "^2.5.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-typescript": "^8.3.2",
"@semantic-release/git": "^10.0.1",
"@staart/site": "^2.1.0",
"@types/estree": "^0.0.51",
"@types/jest": "^27.4.1",
"@types/webpack": "^5.28.0",
"auto-i18n": "^1.0.0",
"coveralls": "^3.1.0",
"cssnano": "^5.1.7",
"eslint-config-prettier": "^8.3.0",
"extract-zip": "^2.0.1",
"gitmoji-changelog": "^2.1.0",
"gulp": "^4.0.2",
"husky": "^7.0.1",
"jest": "^27.1.4",
"jest-canvas-mock": "^2.4.0",
"jest-fetch-mock": "^3.0.3",
"parcel": "^2.5.0",
"prettier": "^2.0.5",
"rollup": "^2.19.0",
"sass": "^1.26.9",
"semantic-release": "^19.0.2",
"semantic-release-gitmoji": "^1.3.4",
"ts-jest": "^27.1.4",
"ts-loader": "^9.2.1",
"tslib": "^2.0.0",
"typedoc": "^0.22.5",
"typescript": "^4.6.4",
"webpack": "^5.49.0",
"webpack-cli": "^4.0.0-beta.8",
"xhr-mock": "^2.5.1"
},
"dependencies": {
"cropperjs": "^1.5.7",
"download": "^8.0.0",
"focus-trap": "^6.6.0",
"mitt": "^3.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && git add ."
}
},
"jest": {
"roots": [
"<rootDir>/src/",
"<rootDir>/tests/"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"automock": false,
"setupFiles": [
"./tests/mocks.ts"
],
"testEnvironment": "jsdom"
}
}