-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
67 lines (67 loc) · 1.95 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
{
"name": "api.badwaterbay.com",
"version": "0.1.0",
"description": "Backend API for BadwaterBay.com",
"main": "index.js",
"repository": "https://github.com/BadwaterBay/api.badwaterbay.com.git",
"author": "BadwaterBay",
"license": "GPL-3.0-or-later",
"scripts": {
"ci": "yarn --frozen-lockfile",
"format": "prettier './**/*.{js,jsx,ts,tsx,html,json,md,css,scss}' --write",
"lint": "eslint './**/*.{js,jsx,ts,tsx}' --cache --fix",
"clean": "rm -rf ./dist",
"transpile": "babel ./src --out-dir dist",
"build": "yarn clean && yarn transpile",
"test": "echo 'No test specified yet' && exit 0",
"serve": "node ./dist/bin/www",
"development": "nodemon --config ./nodemon.json",
"start": "yarn ci && yarn development",
"run:dev": "pm2 start ./config/pm2/pm2-dev.config.js",
"run:prod": "pm2 start ./config/pm2/pm2-prod.config.js",
"production": "NODE_ENV=production yarn build",
"refresh": "rm -rf ./node_modules/ && yarn ci"
},
"lint-staged": {
"./**/*.{js,jsx,html,json,md,css,scss}": [
"prettier --write"
],
"./**/*.{js,jsx,ts,tsx}": [
"eslint --cache --fix"
]
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"dependencies": {
"axios": "^0.21.1",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"debug": "^4.2.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"http-errors": "^1.8.0",
"morgan": "^1.10.0",
"pug": "^3.0.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/cli": "^7.12.17",
"@babel/core": "^7.12.17",
"@babel/preset-env": "^7.12.17",
"chai": "^4.3.0",
"eslint": "^7.20.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.1.0",
"lint-staged": "^10.5.4",
"mocha": "^8.3.0",
"nodemon": "^2.0.7",
"prettier": "^2.1.2"
}
}