-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 4.45 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
{
"name": "dp-frontend",
"version": "0.1.0",
"private": true,
"jest": {},
"dependencies": {
"@date-io/moment": "1.3.13",
"@fortawesome/fontawesome-svg-core": "1.2.36",
"@fortawesome/free-brands-svg-icons": "5.15.4",
"@fortawesome/free-regular-svg-icons": "5.15.4",
"@fortawesome/free-solid-svg-icons": "5.15.4",
"@fortawesome/react-fontawesome": "0.1.15",
"@material-ui/core": "4.12.3",
"@material-ui/lab": "4.0.0-alpha.60",
"@material-ui/pickers": "3.3.10",
"@react-google-maps/api": "^2.3.0",
"@reduxjs/toolkit": "^1.4.0",
"axios": "^0.21.1",
"bootstrap": "^4.5.0",
"classnames": "^2.3.1",
"date-fns": "^2.16.1",
"humanize-plus": "^1.8.2",
"lodash": "4.17.21",
"lodash.camelcase": "4.3.0",
"lodash.snakecase": "4.1.1",
"moment": "^2.27.0",
"moment-duration-format": "^2.3.2",
"moment-timezone": "^0.5.31",
"query-string": "7.0.1",
"react": "16.14.0",
"react-bootstrap": "1.6.1",
"react-dom": "16.14.0",
"react-intersection-observer": "^8.32.1",
"react-loading-skeleton": "^2.1.1",
"react-number-format": "^4.4.1",
"react-redux": "^7.2.1",
"react-router-dom": "5.3.0",
"react-scripts": "4.0.3",
"react-scroll": "^1.8.1",
"react-transition-group": "^4.4.1",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.9",
"reselect": "^4.0.0"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"scripts": {
"start": "react-scripts start",
"stop": "react-scripts stop",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint --ext .js --ext .jsx .",
"lint:fix": "eslint --ext .js --ext .jsx 'src/' --fix",
"move-dist": "npm run move-dist-css && npm run move-dist-js",
"move-dist-css": "copyfiles -Vf \"build-dist/css/*\" \"../../static/css/react\"",
"move-dist-js": "copyfiles -Vf \"build-dist/js/*\" \"../../static/js/react\"",
"collect-and-move": "npm run collect && npm run move-dist",
"collect": "react-scripts build && npm run build-rename && npm run copy-buildfiles && npm run cleanup",
"build-rename": "npm run build-rename-js && npm run build-rename-css && npm run build-rename-fonts",
"build-rename-js": "npm run build-rename-js-main && npm run build-rename-js-id",
"build-rename-js-main": "renamer --path-element base --find \"/main\\.[^\\.]+\\.chunk\\.js/\" --replace 'reactify-django.ui.main.js' build/static/js/*.js",
"build-rename-js-id": "renamer --path-element base --find \"/(\\d.\\w{8})(\\.chunk)\\.js/\" --replace 'reactify-django.ui.toolkit.js' build/static/js/*.js",
"build-rename-css": "npm run build-rename-css-main && npm run build-rename-css-id",
"build-rename-css-id": "renamer --find \"/(\\d.\\w{8})(\\.chunk)\\.css/\" --replace 'reactify-django.ui.lib-{{index}}.css' build/static/css/*.css",
"build-rename-css-main": "renamer --find \"/main\\.[^\\.]+\\.chunk\\.css/\" --replace 'reactify-django.ui.main.css' build/static/css/*.css",
"build-rename-fonts": "renamer --find \"/(NYCDR).\\w{8}.(\\w+)+/\" --replace '$1.$2' build/static/media/*",
"copy-buildfiles": "npm run copy-build-js && npm run copy-build-css && npm run copy-build-fonts",
"copy-build-js": "copyfiles -Vf 'build/static/js/reactify-django*.js' 'build-dist/js'",
"copy-build-css": "copyfiles -Vf 'build/static/css/reactify-django*.css' 'build-dist/css'",
"copy-build-fonts": "copyfiles -Vf 'build/static/media/NYCDR.woff*' 'build-dist/static/media/'",
"cleanup": "rm -rf build",
"coverage": "jest --coverage"
},
"devDependencies": {
"@babel/core": "7.12.3",
"@babel/plugin-transform-runtime": "7.12.1",
"@babel/preset-env": "7.15.0",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "12.1.0",
"@testing-library/user-event": "13.2.1",
"@types/jest": "^26.0.9",
"axios-mock-adapter": "^1.18.2",
"babel-eslint": "^10.1.0",
"copyfiles": "^2.2.0",
"create-react-app": "4.0.3",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.25.2",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"node-sass": ">=7.0.0",
"renamer": "^2.0.1",
"sass": "^1.43.2"
}
}