Added serve package

This commit is contained in:
Dmitriy Shishkov 2020-11-11 00:03:10 +05:00
parent 53ea63b35f
commit 2634f64d1f
No known key found for this signature in database
GPG Key ID: D76D70029F55183E

View File

@ -20,7 +20,8 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"codegen": "graphql-codegen --config codegen.yml"
"codegen": "graphql-codegen --config codegen.yml",
"serve": "serve -s build"
},
"eslintConfig": {
"extends": "react-app"
@ -41,6 +42,7 @@
"@graphql-codegen/cli": "^1.17.10",
"@graphql-codegen/typescript": "^1.17.10",
"eslint-plugin-react-hooks": "^4.2.0",
"serve": "^11.3.2",
"typescript-plugin-css-modules": "^2.7.0"
}
}