This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.76 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
119
120
121
122
123
124
{
"name": "school-report",
"version": "0.1.0",
"description": "Create school reports for classes based on catagorised texts",
"homepage": "https://github.com/sketchbuch/school-report",
"license": "SEE LICENSE IN LICENSE.txt",
"main": "public/electron.js",
"private": true,
"author": {
"name": "sketchbuch",
"url": "https://github.com/sketchbuch"
},
"bugs": {
"url": "https://github.com/sketchbuch/school-report/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/sketchbuch/school-report.git"
},
"scripts": {
"build": "react-scripts build",
"dist": "yarn build && yarn electron-build",
"eject": "react-scripts eject",
"electron": "concurrently \"BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\"",
"electron-build": "build --em.main=build/electron.js",
"flow": "flow",
"lint:css": "stylelint --config=.stylelintrc '{,!(.vscode|build|coverage|dist|docs|flow-typed)/**/}*.{css,less,sass}'",
"lint:js": "eslint --config .eslintrc --fix '{,!(.vscode|build|coverage|dist|docs|flow-typed)/**/}*.{js,jsx}'",
"lint:js:dry": "eslint --config .eslintrc --fix-dry-run '{,!(.vscode|build|coverage|dist|docs|flow-typed)/**/}*.{js,jsx}'",
"precommit": "lint-staged",
"prepush": "lint-staged",
"prettier": "prettier --config .prettierrc --write '{,!(.vscode|build|coverage|dist|docs|flow-typed)/**/}*.{js,json,jsx,md}'",
"start": "react-scripts start",
"test": "react-scripts test",
"test:watch": "react-scripts test --watch",
"yarn-audit": "yarn audit --json | yarn-audit-html --output audit-report.html"
},
"dependencies": {
"debounce": "^1.2.0",
"docxtemplater": "^3.14.1",
"electron-is-dev": "^1.1.0",
"electron-storage": "^1.0.7",
"formik": "^1.5.8",
"jszip": "^3.2.2",
"jszip-utils": "0.0.2",
"md5": "^2.2.1",
"react": "^16.9.0",
"react-dnd": "^7.7.0",
"react-dnd-html5-backend": "^7.7.0",
"react-dom": "^16.9.0",
"react-redux": "^7.1.0",
"react-redux-toastr": "^7.5.1",
"react-router-dom": "^5.0.1",
"react-router-redux": "^4.0.8",
"react-scripts": "^3.1.1",
"react-select": "^3.0.4",
"react-transition-group": "^4.2.2",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"yup": "^0.27.0"
},
"devDependencies": {
"concurrently": "^4.1.1",
"electron": "^8.1.0",
"electron-builder": "^20.44.4",
"electron-devtools-installer": "^2.2.4",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-jest": "^22.15.1",
"eslint-plugin-prettier": "^3.1.0",
"flow-bin": "^0.101.1",
"husky": "^2.7.0",
"jest-localstorage-mock": "^2.4.0",
"lint-staged": "^8.2.1",
"prettier": "^1.18.2",
"redux-mock-store": "^1.5.3",
"stylelint": "^10.1.0",
"stylelint-config-recommended": "^2.2.0",
"wait-on": "^3.3.0",
"yarn-audit-html": "^1.1.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
]
},
"build": {
"appId": "com.sketchbuch.school-report",
"files": [
"build/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "assets"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
"electron >= 1.8.7"
],
"husky": {
"hooks": {
"pre-push": "lint-staged",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx}": [
"eslint --config .eslintrc --fix --max-warnings=0",
"prettier --config .prettierrc --write",
"git add"
],
"src/**/*.{css,less,sass}": [
"stylelint --config=.stylelintrc --fix",
"prettier --config .prettierrc --write",
"git add"
]
}
}