-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
182 lines (182 loc) · 6.44 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"author": {
"name": "ProFatXuanAll",
"url": "https://github.com/ProFatXuanAll/"
},
"browserslist": {
"production": [
"> 0.2%",
"not dead",
"not OperaMini all",
"not OperaMobile <= 46",
"not Explorer <= 11",
"not ExplorerMobile <= 11",
"not QQAndroid <= 1.2",
"not Baidu <= 7.12"
],
"development": [
"last 1 Chrome version",
"last 1 Firefox version",
"last 1 Safari version"
]
},
"bugs": {
"url": "https://github.com/toolbuddy/NCKU-CSIE-Website/issues"
},
"contributors": [
{
"name": "kaeteyaruyo",
"url": "https://github.com/kaeteyaruyo"
},
{
"name": "AmyLin0210",
"url": "https://github.com/AmyLin0210"
},
{
"name": "Rispolyv0n",
"url": "https://github.com/Rispolyv0n"
},
{
"name": "lanhsincheng",
"url": "https://github.com/lanhsincheng"
},
{
"name": "ya-sin",
"url": "https://github.com/ya-sin"
},
{
"name": "eecheng87",
"url": "https://github.com/eecheng87"
},
{
"name": "aqwefghnm",
"url": "https://github.com/aqwefghnm"
}
],
"dependencies": {
"bcrypt": "^4.0.1",
"compression": "^1.7.3",
"connect-session-sequelize": "^6.1.1",
"cors": "^2.8.5",
"cropperjs": "^1.5.11",
"d3": "^5.16.0",
"d3-scale": "^3.2.2",
"deep-freeze": "0.0.1",
"express": "^4.17.1",
"express-session": "^1.17.1",
"github-markdown-css": "^3.0.1",
"helmet": "^3.23.3",
"load-google-maps-api": "^1.3.2",
"markdown-it": "^8.4.2",
"multer": "^1.4.2",
"mysql": "^2.18.1",
"mysql2": "^1.7.0",
"pug": "^3.0.2",
"sass": "^1.32.8",
"sequelize": "^4.44.3",
"tinymce": "^5.7.1",
"validate.js": "^0.13.1"
},
"description": "NCKU CSIE Website",
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.13.10",
"babel-loader": "^8.2.2",
"cross-env": "^7.0.3",
"css-loader": "^5.1.3",
"cssnano": "^4.1.10",
"eslint": "^7.22.0",
"eslint-webpack-plugin": "^2.5.2",
"extract-loader": "^5.1.0",
"file-loader": "^6.2.0",
"html-loader": "^1.3.2",
"mini-css-extract-plugin": "^1.3.9",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"postcss-flexbugs-fixes": "^4.2.1",
"postcss-loader": "^4.2.0",
"postcss-normalize": "^9.0.0",
"postcss-preset-env": "^6.7.0",
"pug-html-loader": "^1.1.5",
"pug-lint": "^2.6.0",
"pug-loader": "^2.4.0",
"sass-loader": "^10.1.1",
"shx": "^0.3.3",
"style-loader": "^2.0.0",
"stylelint": "^13.12.0",
"stylelint-scss": "^3.19.0",
"stylelint-webpack-plugin": "^2.1.1",
"url-loader": "^4.1.1",
"webpack": "^5.26.2",
"webpack-cli": "^4.5.0"
},
"directories": {},
"engines": {
"node": "^12.19.0",
"npm": "^6.14.8"
},
"homepage": "https://github.com/toolbuddy/NCKU-CSIE-Website#readme",
"license": "ISC",
"name": "NCKU-CSIE-Website",
"os": [
"linux",
"darwin"
],
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/toolbuddy/NCKU-CSIE-Website.git"
},
"scripts": {
"start": "cross-env NODE_ENV=production node server.js",
"develop": "cross-env NODE_ENV=development npm-run-all --parallel watch nodemon",
"nodemon": "nodemon --config dev/server/nodemon.json server.js",
"pre-build": "npm-run-all pre-build:*",
"pre-build:database": "shx cp settings/database/config.js.default settings/database/config.js",
"pre-build:server": "shx cp settings/server/config.js.default settings/server/config.js && shx cp settings/server/content-security-policy.js.default settings/server/content-security-policy.js",
"pre-build:tinymce": "shx mkdir -p static/dist/js/user/announcement ; shx cp -r node_modules/tinymce/icons node_modules/tinymce/plugins node_modules/tinymce/skins node_modules/tinymce/themes static/dist/js/user/announcement",
"pre-build:cropper": "shx mkdir -p static/dist/css/user/announcement ; shx cp node_modules/cropperjs/dist/cropper.css static/dist/css/user/announcement/cropper.min.css",
"build": "cross-env NODE_ENV=production npm-run-all build:css build:html build:js",
"build:css": "cross-env NODE_ENV=production webpack --config dev/css/webpack.config.js --mode production",
"build:html": "cross-env NODE_ENV=production webpack --config dev/html/webpack.config.js --mode production",
"build:js": "cross-env NODE_ENV=production webpack --config dev/js/webpack.config.js --mode production",
"clean": "npm-run-all --parallel clean:*",
"clean:css": "shx rm -rf static/dist/css",
"clean:html": "shx rm -rf static/dist/html",
"clean:js": "shx rm -rf static/dist/js",
"lint": "npm-run-all --parallel lint:*",
"lint:css": "stylelint --config dev/css/.stylelintrc.js --cache --cache-location node_modules/.cache/.stylelintcache --syntax scss --fix \"static/src/sass/**/*.scss\"",
"lint:html": "pug-lint --config dev/html/.pug-lintrc.js static/src/pug",
"lint:js": "eslint --config dev/js/.eslintrc.js --cache --cache-location node_modules/.cache/.eslintcache-js --fix \"static/src/js/**/*.js\"",
"lint:server": "eslint --config dev/server/.eslintrc.js --cache --cache-location node_modules/.cache/.eslintcache-server --ignore-path dev/server/.eslintignore --fix \"apis/**/*.js\" \"dev/**/*.js\" \"models/**/*.js\" \"routes/**/*.js\" \"settings/**/*.js\" server.js",
"watch": "npm-run-all --parallel watch:*",
"watch:css": "webpack --watch --config dev/css/webpack.config.js --mode development",
"watch:html": "webpack --watch --config dev/html/webpack.config.js --mode development",
"watch:js": "webpack --watch --config dev/js/webpack.config.js --mode development",
"d": "npm run develop",
"p": "npm run pre-build",
"pd": "npm run pre-build:database",
"ps": "npm run pre-build:server",
"pt": "npm run pre-build:tinymce",
"b": "npm run build",
"bc": "npm run build:css",
"bh": "npm run build:html",
"bj": "npm run build:js",
"c": "npm run clean",
"cc": "npm run clean:css",
"ch": "npm run clean:html",
"cj": "npm run clean:js",
"l": "npm run lint",
"lc": "npm run lint:css",
"lh": "npm run lint:html",
"lj": "npm run lint:js",
"ls": "npm run lint:server",
"w": "npm run watch",
"wc": "npm run watch:css",
"wh": "npm run watch:html",
"wj": "npm run watch:js"
},
"version": "1.0.0"
}