forked from uclaacm/TeachLAFrontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 4.16 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
{
"name": "teachla-frontend",
"version": "0.1.0",
"private": true,
"homepage": "https://editor.uclaacm.com",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.1",
"@fortawesome/free-brands-svg-icons": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.1.1",
"@fortawesome/react-fontawesome": "^0.1.18",
"@types/node": "^20.8.8",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"bootstrap": ">=5.1.3",
"codemirror": "^5.65.3",
"cross-env": "^7.0.3",
"crypto-js": "^4.1.1",
"firebase": "^9.12.1",
"history": "^4.9.0",
"immutable": "^4.0.0",
"react": "^16.14.0",
"react-codemirror2": "^7.2.1",
"react-dom": "^16.14.0",
"react-modal": "^3.15.1",
"react-redux": "^7.2.6",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
"react-spinners": "^0.11.0",
"react-split-pane": "^0.1.92",
"reactstrap": "^9.0.1",
"redux": "^4.1.2",
"redux-thunk": "^2.4.2",
"skulpt": "^1.2.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-css-changes": "stylelint $(git diff --name-only origin/master... | grep -E '\\.(css|scss)$' || echo \"src/styles/app.scss\")",
"lint-js": "eslint \"**/*.js\"",
"lint-js-fix": "eslint --fix \"**/*.js\"",
"lint-js-changes": "eslint $(git diff --name-only origin/master... | grep -E '\\.(js|jsx)$')",
"lint-ts": "eslint \"**/*.{ts,tsx}\"",
"lint-ts-fix": "eslint --fix \"**/*.{ts,tsx}\"",
"lint-ts-changes": "eslint $(git diff --name-only origin/master... | grep -E '\\.(ts|tsx)$')",
"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; exit 0",
"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": {
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^7.0.4",
"lint-staged": "^13.0.3",
"prettier": "^2.6.2",
"sass": "^1.49.9",
"stylelint": "^14.8.5",
"stylelint-config-sass-guidelines": "^9.0.1",
"stylelint-config-standard": "^25.0.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-scss": "^4.2.0",
"typescript": "^5.2.2"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"coverageReporters": [
"text",
"lcov"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.css": "stylelint --fix",
"*.{js,css,md}": "prettier --write",
"*.{ts,tsx}": "eslint --cache --fix"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}