-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.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
{
"name": "@mainframework/dropzone",
"version": "1.0.13",
"description": "A file selection package, without all of the re-rendering issues that come with other dropzone packages",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/TerrySlack/mainframework-dropzone.git"
},
"bugs": {
"url": "https://github.com/TerrySlack/mainframework-dropzone/issues"
},
"homepage": "https://github.com/TerrySlack/mainframework-dropzone#readme",
"scripts": {
"build:css:dev": "npx tailwindcss -i ./src/index.css -o ./src/shared/components/FileSelector/tailwind.css --watch",
"build:css:prod": "npx tailwindcss -i ./src/index.css -o ./src/shared/components/FileSelector/tailwind.css --minify ",
"husky": "husky",
"clean": "rimraf dist",
"lint": "eslint --ext 'ts,tsx' --max-warnings=0 --fix",
"lint-staged": "lint-staged",
"prebuild": "yarn husky && yarn clean",
"copy:css": "copyfiles -a -u 4 src/shared/components/FileSelector/tailwind.css dist/esm/shared/components/FileSelector/",
"build": "cross-env yarn prebuild && yarn build:css:prod && yarn build:esm && yarn copy:css",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"test": "jest --config jestconfig.json"
},
"peerDependencies": {
"react": ">=17"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"keywords": [
"react",
"typescript",
"file selection",
"file dialog",
"dropzone"
],
"author": "Terry Slack",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged && git add --all"
}
},
"lint-staged": {
"*.(ts|tsx)": [
"eslint --fix",
"prettier --write"
]
},
"devDependencies": {
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.10",
"@testing-library/react": "^16.2.0",
"@types/jest": "^29.5.14",
"@types/react": "^19.0.7",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.2",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.4.1",
"prettier": "^3.4.2",
"react": "^19.0.0",
"rimraf": "^6.0.1",
"tailwindcss": "^3.4.17",
"ts-jest": "^29.2.5",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
}
}