-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
102 lines (102 loc) 路 3.26 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
{
"name": "teachla-frontend",
"version": "0.1.0",
"private": true,
"homepage": "https://editor.uclaacm.com",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-brands-svg-icons": "^5.15.3",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"bootstrap": ">=4.6.0",
"codemirror": "^5.61.1",
"cross-env": "^7.0.3",
"crypto-js": "^4.0.0",
"firebase": "^8.6.2",
"immutable": "^3.8.2",
"node-sass": "^5.0.0",
"react": "^16.14.0",
"react-codemirror2": "^7.2.1",
"react-dom": "^16.14.0",
"react-modal": "^3.13.1",
"react-redux": "^7.2.4",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-spinners": "^0.10.6",
"react-split-pane": "^0.1.92",
"reactstrap": "^8.9.0",
"redux": "^4.1.0",
"stylelint-config-sass-guidelines": "^8.0.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"test-coverage": "react-scripts test --env=jsdom --coverage",
"test-coverage-watch": "react-scripts test --env=jsdom --coverage --watchAll",
"eject": "react-scripts eject",
"dev": "concurrently --kill-others-on-fail \"yarn start\" \"yarn server\"",
"lint": "lint-staged",
"lint-full": "eslint \"**/*.js\" && stylelint \"**/*.css\" \"**/*.scss\"",
"lint-full-fix": "eslint --fix \"**/*.js\" && stylelint --fix \"**/*.css\" \"**/*.scss\"",
"lint-css": "stylelint \"**/*.css\" \"**/*.scss\"",
"lint-css-fix": "stylelint --fix \"**/*.css\" \"**/*.scss\"",
"lint-js": "eslint \"**/*.js\"",
"lint-js-fix": "eslint --fix \"**/*.js\"",
"staging_start": "cross-env REACT_APP_FS_PROJ=staging REACT_APP_SERVER_TYPE=staging react-scripts start",
"staging_build": "cross-env REACT_APP_FS_PROJ=staging REACT_APP_SERVER_TYPE=staging react-scripts build",
"prepare": "husky install",
"pre-commit": "lint-staged",
"prod_start": "cross-env REACT_APP_FS_PROJ=prod REACT_APP_SERVER_TYPE=prod react-scripts start",
"prod_build": "cross-env REACT_APP_FS_PROJ=prod REACT_APP_SERVER_TYPE=prod react-scripts build"
},
"devDependencies": {
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.26.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.2",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"stylelint-scss": "^3.19.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"coverageReporters": [
"text",
"lcov"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}