This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 2.21 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
{
"name": "pr0-discord-bot",
"version": "0.1.0",
"description": "pr0gramm Discord Bot",
"main": "./src/app.js",
"scripts": {
"lint": "eslint ./src",
"minify-tw": "node ./node_modules/clean-css-cli/bin/cleancss --inline none --batch --batch-suffix '' ./src/www/assets/lib/css/*.css -o ./src/www/assets-built/lib/css",
"tailwind": "node ./node_modules/.bin/tailwind build ./tailwind.src.css -c ./tailwind.config.js -o ./src/www/assets/lib/css/tailwind.css",
"copy-assets": "rsync -av --progress ./src/www/assets/ ./src/www/assets-built/ --exclude ./js/ --exclude ./css/ --exclude ./lib/css/",
"minify-js": "node ./node_modules/uglifyjs-folder/cli.js ./src/www/assets/js -eo ./src/www/assets-built/js/ -x .js",
"minify-css": "node ./node_modules/clean-css-cli/bin/cleancss --inline none --batch --batch-suffix '' ./src/www/assets/css/*.css -o ./src/www/assets-built/css",
"build-assets": "npm run copy-assets && npm run minify-js && npm run minify-css",
"build": "npm run build-assets && npm run tailwind && npm run minify-tw",
"prod": "npm run build && NODE_ENV=production node ./src/app.js",
"start": "npm run tailwind && npm run lint && NODE_ENV=development node ./src/app.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pr0-dev/Discord-Bot.git"
},
"bugs": {
"url": "https://github.com/pr0-dev/Discord-Bot/issues"
},
"homepage": "https://github.com/pr0-dev/Discord-Bot",
"author": "TheShad0w",
"license": "AGPL-3.0-only",
"dependencies": {
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"csurf": "^1.11.0",
"discord.js": "^12.5.3",
"ejs": "^3.1.3",
"express": "^4.17.1",
"express-session": "^1.17.1",
"form-data": "^4.0.0",
"helmet": "^3.23.3",
"memorystore": "^1.6.6",
"moment": "^2.27.0",
"node-fetch": "^2.6.1",
"serve-favicon": "^2.5.0",
"terminal-image": "^1.2.1",
"unirest": "^0.6.0"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/eslint-parser": "^7.13.14",
"@types/node": "^14.14.41",
"autoprefixer": "^10.2.6",
"clean-css-cli": "^5.3.0",
"eslint": "^7.26.0",
"postcss": "^8.4.14",
"tailwindcss": "^3.1.4",
"uglifyjs-folder": "^2.0.0"
}
}