This repository was archived by the owner on Feb 9, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 3.13 KB
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
{
"name": "api-starterapp",
"version": "0.1.0",
"description": "Getting started with FreshBooks NodeJS SDK",
"repository": {
"type": "git",
"url": "https://github.com/freshbooks/api-starterapp"
},
"license": "MIT",
"scripts": {
"start": "npm run serve",
"build": "npm run build-ts && npm run lint",
"serve": "node -r dotenv/config dist/server.js",
"serve:watch": "nodemon -r dotenv/config dist/server.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run ts:watch\" \"npm run serve:watch\"",
"test": "node -r dotenv/config node_modules/.bin/jest --forceExit --coverage --verbose",
"test:watch": "npm run test -- --watch",
"test:debug": "nodemon -r dotenv/config --inspect node_modules/.bin/jest --watch --runInBand",
"build-ts": "tsc",
"ts:watch": "tsc -w",
"lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix",
"debug": "npm run build && npm run debug:watch",
"serve:debug": "nodemon -r dotenv/config --inspect dist/server.js",
"debug:watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"npm run ts:watch\" \"npm run serve:debug\"",
"clean": "shx rm -rf ./dist ./coverage"
},
"dependencies": {
"@babel/preset-typescript": "^7.7.0",
"@freshbooks/api": "^3.0.0",
"@freshbooks/app": "^3.0.0",
"body-parser": "^1.19.0",
"bootstrap": "^4.4.1",
"compression": "^1.7.4",
"connect-mongo": "^3.1.2",
"dotenv": "^8.1.0",
"errorhandler": "^1.5.1",
"express": "^4.17.2",
"express-react-views": "^0.11.0",
"express-session": "^1.17.0",
"mongoose": "^5.7.8",
"morgan": "^1.9.1",
"passport": "^0.5.2",
"react": "^16.12.0",
"react-bootstrap": "^1.0.0-beta.16",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@babel/core": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@types/body-parser": "^1.17.1",
"@types/compression": "^1.0.1",
"@types/concurrently": "^4.1.0",
"@types/dotenv": "^6.1.1",
"@types/errorhandler": "^0.0.32",
"@types/eslint": "^6.1.1",
"@types/express": "^4.17.1",
"@types/express-session": "^1.15.14",
"@types/jest": "^24.0.18",
"@types/mongoose": "^5.5.29",
"@types/morgan": "^1.7.37",
"@types/node": "^12.7.8",
"@types/node-sass": "^4.11.0",
"@types/passport": "^1.0.1",
"@types/passport-oauth2": "^1.4.8",
"@types/react": "^16.9.16",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.3.1",
"@typescript-eslint/parser": "^2.3.1",
"concurrently": "^4.1.2",
"eslint": "^6.4.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"node-sass": "^4.12.0",
"nodemon": "^1.19.2",
"prettier": "^1.18.2",
"shx": "^0.3.2",
"supertest": "^4.0.2",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"typescript": "^3.7.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.ts": [
"./node_modules/.bin/eslint \"**/*.{js,ts}\" --quiet --fix",
"git add"
]
}
}