-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
129 lines (129 loc) · 3.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
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
{
"name": "@ucfopen/materia",
"version": "10.1.0",
"license": "AGPL-3.0",
"engines": {
"node": ">=18.0.0"
},
"description": "Engage students with easily embedded apps for online courses.",
"author": "University of Central Florida, Center for Distributed Learning",
"homepage": "https://ucfopen.github.io/Materia-Docs",
"repository": "https://github.com/ucfopen/Materia.git",
"scripts": {
"dev": "webpack-dev-server",
"build": "webpack",
"build-for-image": "webpack --config webpack.prod.config.js",
"test": "TZ=Etc/UTC jest --verbose",
"test:dev": "TZ=Etc/UTC jest --verbose --watch --coverage",
"test:ci": "TZ=Etc/UTC CI=true jest --ci --useStderr --coverage --coverageReporters text-summary cobertura",
"test:php": "echo 'Additional env setup needed to run on host. You probably want docker/run_tests.sh'; composer run testci",
"test:php:watch": "nodemon -e php -i node_modules/ -i coverage/ -i docker/ -i public/widget -i fuel/vendor/ -i fuel/core/ --exec 'composer run test || exit 1'",
"prettier:run": "prettier --write 'src/**/*.{js,scss}'",
"prettier:debug": "prettier -l 'src/**/*.{js,scss}'",
"prettier:detectchanges": "git diff --exit-code ./src || (echo '!! Prettier created files that need to be manually added.'; exit 1;)"
},
"dependencies": {
"d3": "^7.2.0",
"fs-extra": "^8.0.1",
"js-base64": "^3.7.2",
"react-datepicker": "^5.0.0",
"react-overlays": "^5.2.1",
"react-query": "^3.39.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@testing-library/dom": "7.31.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "11.2.7",
"@testing-library/user-event": "^13.1.9",
"autoprefixer": "^9.8.5",
"babel-jest": "^29.3.1",
"babel-loader": "^9.1.2",
"concurrently": "^5.1.0",
"core-js": "3",
"css-loader": "^6.7.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"husky": "^4.2.5",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.4.3",
"jquery": "3.5.1",
"jquery-ui": "1.13.2",
"lint-staged": "^10.2.11",
"mini-css-extract-plugin": "^2.7.2",
"nodemon": "^2.0.20",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^17.0.2",
"sass": "^1.69.5",
"sass-loader": "^13.2.0",
"webpack": "^5.76.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1",
"webpack-manifest-plugin": "^5.0.0",
"webpack-remove-empty-scripts": "1.0.1",
"webpack-strip-block": "^0.3.0"
},
"nodemonConfig": {
"delay": "500",
"ignoreRoot": [
".git"
]
},
"prettier": {
"printWidth": 100,
"semi": false,
"useTabs": true,
"singleQuote": true
},
"lint-staged": {
"src/**/*.{js,scss}": [
"yarn prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn test:ci && yarn lint-staged"
}
},
"browserslist": [
"> 0.5%",
"not ie >= 0",
"not op_mini all"
],
"jest": {
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleNameMapper": {
"^.+\\.(css|less|scss)$": "babel-jest"
},
"verbose": false,
"coverageReporters": [
"text",
"lcov"
],
"setupFilesAfterEnv": [
"./src/testSetup.js"
],
"collectCoverageFrom": [
"src/components/**/*.{js,jsx}"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"coverageThreshold": {
"global": {
"statements": 43,
"branches": 32,
"functions": 48,
"lines": 43
}
}
}
}