forked from human-tools/toolbox-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 2.67 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
{
"name": "@human-tools/toolbox-web",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ffmpeg/ffmpeg": "^0.9.7",
"@heroicons/react": "^2.0.13",
"@human-tools/use-sortable": "^0.0.5",
"@tailwindcss/forms": "^0.2.1",
"exif-auto-rotate": "^0.2.0",
"fabric": "^5.2.4",
"fabricjs-react": "1.0.8",
"file-saver": "^2.0.5",
"jszip": "^3.8.0",
"pdf-lib": "^1.16.0",
"pdfjs-dist": "^2.6.347",
"react": "^17.0.1",
"react-color": "^2.19.3",
"react-dom": "^17.0.1",
"react-dropzone": "^11.3.1",
"react-hotkeys-hook": "^4.0.6",
"react-image-crop": "^10.0.9",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.2",
"react-spinners": "^0.10.6",
"tailwindcss": "^2.0.3",
"typescript": "^4.1.5",
"usehooks-ts": "^2.9.1",
"web-vitals": "^1.1.0"
},
"scripts": {
"start": "BUILD_TARGET=dev npm run watch:css && npm run updatepdfjsworker && react-scripts start",
"format": "prettier --write \"src/**/*.{js,jsx,tsx}\"",
"build": "npm run watch:css && npm run updatepdfjsworker && react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"watch:css": "postcss src/assets/tailwind.css -o src/assets/main.generated.css",
"updatepdfjsworker": "node ./update-pdfjs-worker.mjs"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "^3.1.3",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.7.1",
"@types/fabric": "^4.5.14",
"@types/file-saver": "^2.0.1",
"@types/jest": "^26.0.20",
"@types/node": "^12.20.1",
"@types/pdfjs-dist": "^2.1.7",
"@types/react": "^17.0.2",
"@types/react-color": "^3.0.6",
"@types/react-dom": "^17.0.1",
"@types/react-router-dom": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"autoprefixer": "^10.2.4",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^5.0.9",
"lint-staged": "^10.5.4",
"postcss": "^8.2.6",
"postcss-cli": "^8.3.1",
"prettier": "^2.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
]
}
}