-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.18 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 1.18 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
{
"name": "react-ecommerce-api",
"version": "0.0.0",
"main": "index.js",
"scripts": {
"dev": "ts-node -r tsconfig-paths/register ./src/index.ts",
"build": "tsc",
"start": "node ./dist/src/index.js",
"test": "npm run style:check && npm run test:unit && npm run test:integration",
"test:unit": "jest --forceExit --detectOpenHandles",
"test:integration": "jest --forceExit --detectOpenHandles --config tests/jest.config.ts",
"style:check": "npx prettier --check src/",
"style:fix": "npx prettier --write src/"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.18.2",
"http-errors": "^2.0.0",
"module-alias": "^2.2.2",
"stripe": "^11.6.0"
},
"devDependencies": {
"@types/cors": "^2.8.13",
"@types/express": "^4.17.16",
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"@types/supertest": "^2.0.12",
"@types/http-errors": "^2.0.1",
"dotenv": "^16.0.3",
"jest": "^29.3.1",
"prettier": "2.8.2",
"supertest": "^6.3.3",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.9.3"
},
"_moduleAliases": {
"@src": "src",
"@tests": "tests"
}
}