-
Notifications
You must be signed in to change notification settings - Fork 99
/
package.json
76 lines (76 loc) · 2.32 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
{
"author": "John Datserakis <[email protected]>",
"bugs": {
"url": "https://github.com/johndatserakis/file-upload-with-preview/issues"
},
"description": "Simple file-upload utility that shows a preview of the uploaded image. Written in TypeScript. No dependencies. Works well with or without a framework.",
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^18.15.3",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"jest": "^27.3.1",
"prettier": "^2.8.4",
"rimraf": "^4.4.0",
"sass": "^1.59.3",
"ts-jest": "^27.1.4",
"typedoc": "^0.23.27",
"typescript": "^4.9.4",
"vite": "^4.0.0",
"vite-plugin-dts": "^2.1.0"
},
"engines": {
"node": ">=10"
},
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/style.css": "./dist/style.css"
},
"files": [
"dist"
],
"keywords": [
"upload",
"uploader",
"preview",
"image",
"file",
"bootstrap"
],
"license": "MIT",
"main": "./dist/index.js",
"name": "file-upload-with-preview",
"repository": {
"type": "git",
"url": "git+https://github.com/johndatserakis/file-upload-with-preview.git"
},
"scripts": {
"build": "yarn clear:dist && yarn clear:docs && yarn typescript:check-types && yarn lint:fix && yarn prettier:format && yarn test && yarn build:example && yarn build:library && yarn build:typedoc",
"build:example": "vite build --config vite.config.app.ts",
"build:library": "vite build --config vite.config.library.ts",
"build:typedoc": "yarn typedoc",
"clear:dist": "rimraf ./dist",
"clear:docs": "rimraf ./docs ",
"dev": "vite --config vite.config.app.ts",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"prettier:format": "prettier 'src/**/*.ts' --write",
"test": "jest",
"typescript:check-types": "tsc --noEmit"
},
"sideEffects": false,
"style": "./dist/style.css",
"type": "module",
"types": "./dist/index.d.ts",
"version": "6.1.2"
}