-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
85 lines (85 loc) · 2.25 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
{
"name": "silverstripe-mfa",
"license": "BSD-3-Clause",
"homepage": "https://github.com/silverstripe/silverstripe-mfa",
"author": "SilverStripe Ltd",
"engines": {
"node": ">=18.x"
},
"scripts": {
"build": "yarn && yarn lint && yarn test && rm -rf client/dist/* && NODE_ENV=production webpack --mode production --bail --progress",
"dev": "NODE_ENV=development webpack --progress",
"watch": "NODE_ENV=development webpack --watch --progress",
"css": "WEBPACK_CHILD=css npm run build",
"test": "jest",
"coverage": "jest --coverage --passWithNoTests",
"lock": "npm-shrinkwrap --dev",
"lint": "yarn lint-js && yarn lint-sass",
"lint-js": "eslint client/src",
"lint-js-fix": "eslint client/src --fix",
"lint-sass": "stylelint client/src"
},
"dependencies": {
"@silverstripe/react-injector": "^0.2.1",
"classnames": "^2.3.2",
"core-js": "^3.26.0",
"es6-promise": "^4.2.8",
"isomorphic-fetch": "^3.0.0",
"moment": "^2.29.4",
"printd": "^1.5.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-redux": "^8.0.4",
"reactstrap": "^8.9.0",
"reactstrap-confirm": "^1.3.2",
"redux": "^4.2.0",
"regenerator-runtime": "^0.13.11"
},
"devDependencies": {
"@silverstripe/eslint-config": "^1.3.0",
"@silverstripe/webpack-config": "^2.1.0",
"@testing-library/react": "^14.0.0",
"babel-jest": "^29.2.2",
"copy-webpack-plugin": "^11.0.0",
"jest-cli": "^29.2.2",
"jest-environment-jsdom": "^29.3.1",
"webpack": "^5.94.0",
"webpack-cli": "^5.0.0"
},
"resolutions": {
"colors": "1.4.0"
},
"browserslist": [
"defaults"
],
"jest": {
"testEnvironment": "jsdom",
"roots": [
"client/src"
],
"modulePaths": [
"client/src"
],
"collectCoverageFrom": [
"**/*.{js,jsx}",
"!**/node_modules/**",
"!**/boot/**",
"!**/bundles/**",
"!**/legacy/**",
"!**/vendor/**",
"!**/*-test.{js,jsx}",
"!**/*-story.{js,jsx}"
],
"testMatch": [
"**/tests/**/*-test.js?(x)"
],
"transform": {
".[jt]s[mx]?$": "babel-jest"
},
"setupFiles": [
"<rootDir>/tests/js/bootstrap.js"
]
}
}