forked from reef-pi/reef-pi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 4.03 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "reef-pi",
"version": "1.0.0",
"private": true,
"description": "A Raspberry Pi based reeftank automation system",
"dependencies": {
"@babel/core": "7.17.10",
"@babel/plugin-transform-modules-commonjs": "7.18.2",
"@babel/plugin-transform-runtime": "^7.18.6",
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "7.16.7",
"@material-ui/core": "^4.12.4",
"autoprefixer": "10.4.2",
"babel-jest": "28.1.0",
"babel-loader": "8.2.5",
"bootstrap": "4.6.1",
"classnames": "2.2.6",
"clean-webpack-plugin": "4.0.0",
"cross-env": "7.0.2",
"css-loader": "6.7.1",
"csv-parse": "^4.15.4",
"csv-stringify": "6.1.3",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"eslint": "8.16.0",
"eslint-plugin-react": "7.29.4",
"fetch-mock": "9.11.0",
"form-data": "^4.0.0",
"formik": "2.2.9",
"html-webpack-plugin": "5.5.0",
"humanize-duration": "^3.27.0",
"i18next": "21.8.11",
"i18next-browser-languagedetector": "6.1.2",
"jest": "27.4.5",
"jest-date-mock": "1.0.8",
"jquery": "^3.6.0",
"json-loader": "0.5.7",
"lodash.debounce": "4.0.8",
"lodash.mapvalues": "4.6.0",
"marked": "^4.0.10",
"mini-css-extract-plugin": "2.6.0",
"popper.js": "^1.16.1",
"postcss": "^8.4.13",
"postcss-loader": "6.2.1",
"precss": "4.0.0",
"react": "16.14.0",
"react-color": "2.19.3",
"react-datepicker": "^4.8.0",
"react-dom": "16.12.0",
"react-i18next": "11.17.4",
"react-icons": "4.3.1",
"react-images": "1.1.7",
"react-redux": "^8.0.1",
"react-router-dom": "^6.3.0",
"react-test-renderer": "16.14.0",
"react-toggle-switch": "3.0.4",
"recharts": "^2.1.12",
"redoc-cli": "^0.13.0",
"redux": "^4.1.2",
"redux-mock-store": "1.5.4",
"redux-thunk": "2.4.1",
"sass": "^1.53.0",
"sass-lint": "1.13.1",
"sass-loader": "12.6.0",
"standard": "16.0.3",
"style-loader": "3.3.1",
"testcafe": "^1.19.0",
"webpack": "5.72.1",
"webpack-cli": "4.10.0",
"webpack-dev-server": "4.9.1",
"yup": "0.32.11"
},
"scripts": {
"translations:sync": "node ./build/translations/csv-sync.js sync",
"translations:chk": "node ./build/translations/csv-sync.js chk",
"build": "webpack",
"ui": "webpack --mode=production",
"ui-dev": "webpack --watch --mode=development",
"js-lint": "standard front-end/src/**/*",
"standard": "standard --fix front-end/src/**/**",
"jest": "cross-env NODE_ENV=testing jest --env=jsdom",
"jest-update-snapshot": "cross-env NODE_ENV=testing jest --coverage --all --updateSnapshot --env=jsdom",
"test": "cross-env NODE_ENV=testing jest --all --updateSnapshot --no-cache --coverage --env=jsdom",
"sass-lint": "sass-lint 'front-end/assets/sass/**/*.scss' --verbose",
"smoke": "testcafe chrome front-end/test/* --skip-js-errors",
"ci-smoke": "testcafe chrome:headless front-end/test/* --skip-js-errors"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reef-pi/reef-pi.git"
},
"author": {
"name": "Ranjib Dey",
"email": "[email protected]",
"url": "http://ranjib.com/"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/reef-pi/reef-pi/issues"
},
"homepage": "https://reef-pi.github.io",
"sasslintConfig": "sass-lint.yml",
"standard": {
"globals": [
"describe",
"it",
"fetch",
"expect",
"Headers",
"afterEach",
"jest",
"beforeEach"
],
"ignore": [
"*.test.js"
]
},
"jest": {
"moduleDirectories": [
"node_modules",
"front-end/src/",
"front-end/assets/translations/"
],
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/front-end/test/jest_config.js",
"\\.csv$": "<rootDir>/build/translations/loader.js"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}