-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 4.09 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
{
"name": "@arpb2/frontend",
"version": "1.0.0",
"description": "Frontend for ARPB2 project",
"main": "index.js",
"repository": {
"type": "git",
"url": "git@github.com:arpb2/frontend.git"
},
"scripts": {
"build:front": "webpack --mode production",
"build:node": "babel -d ./dist ./src/server",
"build": "yarn build:front && yarn build:node",
"prestart:heroku": "yarn build",
"start:heroku": "NODE_ENV=production node ./dist/index.js",
"client": "webpack-dev-server --mode development --devtool inline-source-map --hot",
"server": "NODE_ENV=development nodemon --exec babel-node src/server/index.js",
"debug": "nodemon --inspect --exec babel-node src/server/index.js",
"start-dev": "concurrently \"yarn server\" \"yarn client\"",
"clean": "rm -rf dist/",
"env": "cd ./src/server && test -f .env.json && firebase functions:config:unset env && firebase functions:config:set env=\"$(cat .env.json)\" || echo \"Please add the file .env.json before deploy.\"",
"prebuild-funcs": "cp -R package.json .env.json ./src/server/assets ./functions",
"build-funcs": "babel -d ./functions ./src/server",
"postbuild-funcs": "cd functions && yarn",
"preserve": "yarn build:front && yarn build-funcs",
"serve": "NODE_ENV=firebase firebase serve",
"postserve": "yarn clean",
"shell": "NODE_ENV=firebase firebase functions:shell",
"start": "NODE_ENV=firebase yarn run shell",
"predeploy:funcs": "yarn build-funcs && yarn env",
"deploy:funcs": "firebase deploy --only functions",
"predeploy:hosting": "yarn build",
"deploy:hosting": "firebase deploy --only hosting",
"postdeploy:hosting": "yarn postdeploy",
"predeploy": "yarn build && yarn build-funcs",
"deploy": "firebase deploy",
"postdeploy": "yarn clean",
"logs": "firebase functions:log",
"test": "jest"
},
"author": "ARPB2",
"license": "GPL-3.0",
"dependencies": {
"@material-ui/core": "^4.8.2",
"@material-ui/icons": "^4.5.1",
"@material-ui/lab": "^4.0.0-alpha.45",
"@material-ui/styles": "^4.8.2",
"babel-polyfill": "^6.26.0",
"blockly": "^3.20200625.2",
"chart.js": "^2.9.3",
"clsx": "^1.0.4",
"dotenv": "^8.2.0",
"express": "^4.16.3",
"fast-xml-parser": "^3.16.0",
"firebase-admin": "^8.11.0",
"firebase-functions": "^3.6.0",
"he": "^1.2.0",
"intro.js": "^2.9.3",
"intro.js-react": "^0.2.0",
"moment": "^2.24.0",
"node-fetch": "^2.6.0",
"node-sass": "^4.13.0",
"prop-types": "^15.7.2",
"react": "^16.5.2",
"react-blockly": "^5.0.0",
"react-chartjs-2": "^2.8.0",
"react-dom": "^16.5.2",
"react-perfect-scrollbar": "^1.5.3",
"react-router-dom": "^5.1.2",
"react-syntax-highlighter": "^12.2.1",
"recharts": "^2.0.0-beta.1",
"uuid": "^7.0.2",
"validate.js": "^0.13.1"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.9.6",
"@babel/node": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"babel-eslint": "^10.0.0",
"babel-jest": "^26.0.1",
"babel-loader": "^8.1.0",
"clean-webpack-plugin": "^3.0.0",
"concurrently": "^4.0.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^2.0.0",
"eslint": "^5.0.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"eslint-plugin-react-hooks": "^2.3.0",
"file-loader": "^5.0.2",
"firebase-functions-test": "^0.2.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^25.5.3",
"nodemon": "^1.17.3",
"sass-loader": "^8.0.0",
"style-loader": "^0.23.0",
"url-loader": "^3.0.0",
"webpack": "^4.5.0",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.3"
},
"engines": {
"node": "10"
},
"proxy": {
"/__": {
"target": "http://localhost:8080"
}
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
}
}