This repository has been archived by the owner on Dec 29, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
99 lines (99 loc) · 3.67 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
{
"name": "@freesewing/backend",
"version": "0.0.0",
"description": "The freesewing.org backend",
"main": "dist/index.js",
"module": "dist/index.mjs",
"scripts": {
"cli": "babel-node --presets '@babel/preset-env' src/cli/index.js --help",
"clear:users": "babel-node --presets '@babel/preset-env' src/cli/index.js --clearUsers",
"clear:models": "babel-node --presets '@babel/preset-env' src/cli/index.js --clearModels",
"clear:patterns": "babel-node --presets '@babel/preset-env' src/cli/index.js --clearPatterns",
"clear:confirmations": "babel-node --presets '@babel/preset-env' src/cli/index.js --clearConfirmations",
"clear:all": "babel-node --presets '@babel/preset-env' src/cli/index.js --clearAll",
"clear:reboot": "babel-node --presets '@babel/preset-env' src/cli/index.js --reboot",
"precommit": "npm run pretty && lint-staged",
"patch": "npm version patch -m ':bookmark: v%s' && npm run build",
"minor": "npm version minor -m ':bookmark: v%s' && npm run build",
"major": "npm version major -m ':bookmark: v%s' && npm run build",
"test": "SEND_TEST_EMAILS=0 ./node_modules/.bin/mocha tests/index.js",
"testall": "SEND_TEST_EMAILS=1 ./node_modules/.bin/mocha tests/index.js",
"clean": "rimraf dist",
"prettier": "npx prettier --write 'src/**' 'tests/**'",
"lint": "eslint --fix \"src/*.js\"",
"develop": "backpack",
"build": "backpack build",
"start:prod": "backpack build && pm2 start build/main.js --name freesewing-backend",
"start:next": "backpack build && pm2 start build/main.js --name freesewing-backend",
"upgrade:freesewing": "git checkout main && npm run build && pm2 stop freesewing-backend && pm2 delete freesewing-backend && pm2 start build/main.js --name freesewing-backend",
"upgrade:next": "git checkout develop && npm run build && pm2 stop next.backend && pm2 delete next.backend && pm2 start build/main.js --name next.backend"
},
"repository": {
"type": "git",
"url": "git+https://github.com/freesewing/backend.git"
},
"author": "Joost De Cock",
"license": "MIT",
"bugs": {
"url": "https://github.com/freesewing/backend/issues"
},
"homepage": "https://github.com/freesewing/backend#readme",
"prettier": "@freesewing/prettier-config",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"@freesewing/i18n": "2.19.5",
"@freesewing/pattern-info": "2.19.5",
"axios": "^0.24.0",
"body-parser": "^1.19.0",
"buffer-to-stream": "^1.0.0",
"buffer-to-uint8array": "^1.1.0",
"chalk": "^4.1.1",
"cors": "^2.8.5",
"data-uri-to-buffer": "^3.0.1",
"data-uri-to-file": "^0.1.8",
"dateformat": "^4.5.1",
"express": "^4.17.1",
"form-data": "^4.0.0",
"jsonwebtoken": "^8.5.1",
"jszip": "^3.6.0",
"mongoose": "^5.12.13",
"mongoose-bcrypt": "^1.8.1",
"mongoose-encryption": "^2.1.0",
"nodemailer": "^6.6.1",
"passport": "^0.5.0",
"passport-jwt": "^4.0.0",
"prettier": "^2.3.1",
"query-string": "^7.0.0",
"rimraf": "^3.0.2",
"sharp": "^0.29.1",
"tlds": "^1.221.1"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.0",
"@babel/node": "^7.13.13",
"@babel/preset-env": "^7.14.4",
"@freesewing/models": "^2.16.2",
"@freesewing/prettier-config": "^2.16.2",
"@freesewing/utils": "^2.16.2",
"babel-node": "^0.0.1-security",
"backpack-core": "^0.8.4",
"chai": "^4.3.4",
"chai-http": "^4.3.0",
"command-line-args": "^5.1.1",
"dotenv": "^10.0.0",
"lodash": "^4.17.21",
"mocha": "^8.3.2",
"nodemon": "^2.0.7"
}
}