-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
44 lines (44 loc) · 1.4 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
{
"name": "express-react-seed",
"version": "1.0.0",
"private": true,
"description": "Express-React-OpenAPI seed",
"main": "index.js",
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.4.4",
"swagger-cli": "^4.0.4",
"typescript": "^4.3.5"
},
"scripts": {
"prepare": "npm run generate:spec && npm run generate:api",
"generate:spec": "swagger-cli bundle spec/api.yaml -o api-bundle.yaml -t yaml",
"generate:api": "openapi-generator-cli generate -g typescript-fetch -i api-bundle.yaml -o ./packages/generated --additional-properties=typescriptThreePlus=true,withInterfaces=true && tsc --project tsconfig.openapi.json",
"frontend:start": "npm start -w express-react-seed-frontend",
"backend:start": "npm start -w express-react-seed-backend",
"backend:migrate": "npm run migrate -w express-react-seed-backend"
},
"repository": {
"type": "git",
"url": "git+https://github.com/deroude/node-react-seed.git"
},
"keywords": [
"express",
"react",
"openapi"
],
"author": "Valentin Raduti",
"license": "MIT",
"bugs": {
"url": "https://github.com/deroude/node-react-seed/issues"
},
"homepage": "https://github.com/deroude/node-react-seed#readme",
"dependencies": {
"@chakra-ui/react": "^1.6.8",
"framer-motion": "^4.1.17"
},
"workspaces": [
"./packages/backend",
"./packages/frontend",
"./packages/generated"
]
}