-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
130 lines (130 loc) · 3.89 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
{
"name": "materialnet",
"version": "1.0.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/react-fontawesome": "^0.1.11",
"@material-ui/core": "^4.10.2",
"@material-ui/icons": "^4.9.1",
"@openchemistry/molecule": "^0.4.36",
"geojs": "^0.20.0",
"lineupjsx": "^4.0.0",
"mobx": "^5.15.4",
"mobx-react": "^6.2.2",
"react-select": "^3.1.0"
},
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"sample_data": "./scripts/sample_data.sh",
"deploy_s3": "./scripts/deploy_s3.sh",
"lint": "eslint --max-warnings 0 src",
"prettier:check-staged": "pretty-quick --staged --check --pattern '**/*.{js,jsx,ts,tsx,css}'",
"prettier:write-staged": "pretty-quick --staged --write --pattern '**/*.{js,jsx,ts,tsx,css}'",
"prettier:check-modified": "pretty-quick --check --pattern '**/*.{js,jsx,ts,tsx,css}'",
"prettier:write-modified": "pretty-quick --write --pattern '**/*.{js,jsx,ts,tsx,css}'",
"prettier:check-all": "prettier --check '**/*.{js,jsx,ts,tsx,css}'",
"prettier:write-all": "prettier --write '**/*.{js,jsx,ts,tsx,css}'"
},
"eslintConfig": {
"extends": "react-app"
},
"husky": {
"hooks": {
"pre-commit": "yarn prettier:check-staged --bail"
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"resolver": "jest-pnp-resolver",
"setupFiles": [
"react-app-polyfill/jsdom"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx}"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
},
"babel": {
"presets": [
"react-app",
"mobx"
]
},
"homepage": ".",
"devDependencies": {
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-named-asset-import": "^0.3.6",
"babel-preset-mobx": "^2.0.0",
"babel-preset-react-app": "^9.1.2",
"bfj": "^7.0.2",
"case-sensitive-paths-webpack-plugin": "^2.3.0",
"chalk": "^4.1.0",
"css-loader": "^3.6.0",
"eslint": "^7.2.0",
"eslint-config-react-app": "^5.2.1",
"eslint-loader": "^4.0.2",
"eslint-plugin-flowtype": "^5.1.3",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.3.0",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.4",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"husky": "^4.2.5",
"mini-css-extract-plugin": "^0.9.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"pnp-webpack-plugin": "^1.6.4",
"postcss-flexbugs-fixes": "^4.2.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"postcss-safe-parser": "^4.0.2",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"react-dev-utils": "^11.0.4",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-dev-server": "^3.11.0",
"webpack-manifest-plugin": "^2.2.0",
"workbox-webpack-plugin": "^5.1.3",
"worker-loader": "^2.0.0"
}
}