-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
47 lines (47 loc) · 1.27 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
{
"name": "zap-db",
"version": "1.0.0",
"description": "Secure JSON database",
"main": "src/index.ts",
"scripts": {
"start": "npm run serve",
"serve": "npm run build && npm run serve-node",
"watch": "npm run build && concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
"build": "npm run build-ts",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"serve-node": "node dist/src/index.js",
"watch-node": "nodemon -w 'dist/**/*' -e 'js,json' -x 'node dist/src/index.js'",
"lint": "eslint scripts/**/* src/**/*",
"format": "eslint --fix scripts/**/* src/**/*",
"hash": "node scripts/hash.js",
"test": "npm run lint"
},
"keywords": [
"json",
"database",
"server"
],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/cors": "^2.8.6",
"@types/express": "^4.17.6",
"@types/lowdb": "^1.0.9",
"@types/morgan": "^1.9.0",
"@types/node": "^13.13.5",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^2.31.0",
"concurrently": "^5.2.0",
"eslint": "^6.8.0",
"nodemon": "^2.0.4",
"typescript": "^3.8.3"
},
"dependencies": {
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"lowdb": "^1.0.0",
"morgan": "^1.10.0"
}
}