-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
80 lines (80 loc) · 2.74 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
{
"name": "@frontastic/common",
"version": "2.48.5",
"devDependencies": {
"@babel/core": "7.21.0",
"@babel/plugin-proposal-class-properties": "^7.5.0",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.0.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"babel-eslint": "10.0.2",
"babel-jest": "26.6.3",
"babel-loader": "8.3.0",
"babel-preset-env": "^1.7.0",
"cloudinary-core": "^2.6.3",
"eslint": "7.32.0",
"eslint-config-react": "^1.1.7",
"eslint-config-react-app": "^6.0.0",
"eslint-config-standard": "^13.0.1",
"eslint-config-standard-react": "^8.0.0",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-standard": "^4.0.0",
"jest": "26.6.3",
"mime": "^1.4.1",
"webpack": "5.88.1",
"webpack-cli": "^5.1.4",
"whatwg-fetch": "3.0.0"
},
"dependencies": {
"uuid": "^3.3.2 || ^9.0.0"
},
"main": "src/js/frontastic-common.js",
"module": "src/js/index.js",
"scripts": {
"build": "webpack --mode=production",
"test": "node bin/test.js --env=jsdom",
"check": "eslint --ext .js --ext .jsx -c ../../integration/eslint.config.json --ignore-pattern frontastic-common.js src/js/ test/js/",
"fix": "eslint --fix --ext .js --ext .jsx -c ../../integration/eslint.config.json --ignore-pattern frontastic-common.js src/js/ test/js/"
},
"jest": {
"collectCoverageFrom": [
"<rootDir>/src/js/**/*.{js,jsx}"
],
"setupFiles": [
"<rootDir>/bin/config/polyfills.js"
],
"testMatch": [
"<rootDir>/test/js/**/*.js?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/../../../node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/bin/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/bin/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx"
]
},
"eslintConfig": {
"extends": "react-app"
}
}