Browse Source

web: add missing packages

ghorsington 3 years ago
parent
commit
a95c2d42ac
2 changed files with 85 additions and 81 deletions
  1. 2 1
      Makefile
  2. 83 80
      web/package.json

+ 2 - 1
Makefile

@@ -31,4 +31,5 @@ start_web: build
 
 npmi:
 	cd shared && npm install
-	cd bot && npm install
+	cd bot && npm install
+	cd web && npm install

+ 83 - 80
web/package.json

@@ -1,80 +1,83 @@
-{
-	"name": "sapper-typescript-graphql-template",
-	"description": "A template that includes Svelte with Sapper, TypeScript preprocessing, and a GraphQL server through TypeGraphQL",
-	"keywords": [
-		"sapper",
-		"typegraphql",
-		"typescript",
-		"eslint",
-		"svelte",
-		"apollo-server",
-		"graphql"
-	],
-	"homepage": "https://github.com/babichjacob/sapper-typescript-graphql-template",
-	"repository": {
-		"type": "git",
-		"url": "https://github.com/babichjacob/sapper-typescript-graphql-template.git"
-	},
-	"license": "MIT",
-	"version": "2020.06.05",
-	"scripts": {
-		"eslint": "eslint",
-		"eslint:fix": "eslint --fix ./*.js ./src/*.ts ./src/components/**/*.svelte ./src/graphql/**/*.ts ./src/routes/**/*.svelte ./src/routes/**/*.ts",
-		"dev": "sapper dev",
-		"build": "cross-env NODE_ENV=production sapper build --legacy",
-		"prod": "npm run build",
-		"export": "cross-env NODE_ENV=production sapper export --legacy",
-		"start": "node __sapper__/build"
-	},
-	"dependencies": {
-		"@improbable-eng/grpc-web-node-http-transport": "^0.13.0",
-		"compression": "^1.7.4",
-		"dotenv": "^8.2.0",
-		"express": "^4.17.1",
-		"make-error": "^1.3.6",
-		"node-fetch": "^2.6.0",
-		"rpc_ts": "^2.1.0",
-		"sirv": "^1.0.5"
-	},
-	"devDependencies": {
-		"@babel/core": "^7.11.1",
-		"@babel/plugin-syntax-dynamic-import": "^7.8.3",
-		"@babel/plugin-transform-runtime": "^7.11.0",
-		"@babel/preset-env": "^7.11.0",
-		"@babel/runtime": "^7.11.2",
-		"@rollup/plugin-alias": "^3.1.1",
-		"@rollup/plugin-babel": "^5.1.0",
-		"@rollup/plugin-commonjs": "^14.0.0",
-		"@rollup/plugin-json": "^4.1.0",
-		"@rollup/plugin-node-resolve": "^8.4.0",
-		"@rollup/plugin-replace": "^2.3.3",
-		"@rollup/plugin-typescript": "^5.0.2",
-		"@types/compression": "^1.7.0",
-		"@types/express": "^4.17.7",
-		"@types/node-fetch": "^2.5.7",
-		"@typescript-eslint/eslint-plugin": "^3.9.0",
-		"@typescript-eslint/parser": "^3.9.0",
-		"autoprefixer": "^9.8.6",
-		"bufferutil": "^4.0.1",
-		"class-validator": "^0.12.2",
-		"cross-env": "^7.0.2",
-		"eslint": "^7.6.0",
-		"eslint-config-airbnb-base": "^14.2.0",
-		"eslint-plugin-import": "^2.22.0",
-		"eslint-plugin-svelte3": "^2.7.3",
-		"postcss": "^7.0.32",
-		"postcss-import": "^12.0.1",
-		"postcss-load-config": "^2.1.0",
-		"reflect-metadata": "^0.1.13",
-		"rollup": "^2.23.1",
-		"rollup-plugin-svelte": "^5.2.3",
-		"rollup-plugin-terser": "^7.0.0",
-		"sapper": "^0.28.0",
-		"svelte": "^3.24.1",
-		"svelte-preprocess": "^4.0.10",
-		"tailwindcss": "^1.6.2",
-		"tslib": "^2.0.1",
-		"typescript": "^3.9.7",
-		"utf-8-validate": "^5.0.2"
-	}
-}
+{
+	"name": "sapper-typescript-graphql-template",
+	"description": "A template that includes Svelte with Sapper, TypeScript preprocessing, and a GraphQL server through TypeGraphQL",
+	"keywords": [
+		"sapper",
+		"typegraphql",
+		"typescript",
+		"eslint",
+		"svelte",
+		"apollo-server",
+		"graphql"
+	],
+	"homepage": "https://github.com/babichjacob/sapper-typescript-graphql-template",
+	"repository": {
+		"type": "git",
+		"url": "https://github.com/babichjacob/sapper-typescript-graphql-template.git"
+	},
+	"license": "MIT",
+	"version": "2020.06.05",
+	"scripts": {
+		"eslint": "eslint",
+		"eslint:fix": "eslint --fix ./*.js ./src/*.ts ./src/components/**/*.svelte ./src/graphql/**/*.ts ./src/routes/**/*.svelte ./src/routes/**/*.ts",
+		"dev": "sapper dev",
+		"build": "cross-env NODE_ENV=production sapper build --legacy",
+		"prod": "npm run build",
+		"export": "cross-env NODE_ENV=production sapper export --legacy",
+		"start": "node __sapper__/build"
+	},
+	"dependencies": {
+		"@improbable-eng/grpc-web-node-http-transport": "^0.13.0",
+		"compression": "^1.7.4",
+		"dotenv": "^8.2.0",
+		"express": "^4.17.1",
+		"google-protobuf": "^3.13.0",
+		"got": "^11.5.2",
+		"make-error": "^1.3.6",
+		"node-fetch": "^2.6.0",
+		"rpc_ts": "^2.1.0",
+		"sirv": "^1.0.5"
+	},
+	"devDependencies": {
+		"@babel/core": "^7.11.1",
+		"@babel/plugin-syntax-dynamic-import": "^7.8.3",
+		"@babel/plugin-transform-runtime": "^7.11.0",
+		"@babel/preset-env": "^7.11.0",
+		"@babel/runtime": "^7.11.2",
+		"@rollup/plugin-alias": "^3.1.1",
+		"@rollup/plugin-babel": "^5.1.0",
+		"@rollup/plugin-commonjs": "^14.0.0",
+		"@rollup/plugin-json": "^4.1.0",
+		"@rollup/plugin-node-resolve": "^8.4.0",
+		"@rollup/plugin-replace": "^2.3.3",
+		"@rollup/plugin-typescript": "^5.0.2",
+		"@types/compression": "^1.7.0",
+		"@types/express": "^4.17.7",
+		"@types/node-fetch": "^2.5.7",
+		"@typescript-eslint/eslint-plugin": "^3.10.1",
+		"@typescript-eslint/parser": "^3.10.1",
+		"autoprefixer": "^9.8.6",
+		"bufferutil": "^4.0.1",
+		"class-validator": "^0.12.2",
+		"cross-env": "^7.0.2",
+		"eslint": "^7.6.0",
+		"eslint-config-airbnb-base": "^14.2.0",
+		"eslint-import-resolver-typescript": "^2.2.1",
+		"eslint-plugin-import": "^2.22.0",
+		"eslint-plugin-svelte3": "^2.7.3",
+		"postcss": "^7.0.32",
+		"postcss-import": "^12.0.1",
+		"postcss-load-config": "^2.1.0",
+		"reflect-metadata": "^0.1.13",
+		"rollup": "^2.23.1",
+		"rollup-plugin-svelte": "^5.2.3",
+		"rollup-plugin-terser": "^7.0.0",
+		"sapper": "^0.28.0",
+		"svelte": "^3.24.1",
+		"svelte-preprocess": "^4.0.10",
+		"tailwindcss": "^1.6.2",
+		"tslib": "^2.0.1",
+		"typescript": "^3.9.7",
+		"utf-8-validate": "^5.0.2"
+	}
+}